:root {
  --text: #1f2933;
  --muted: #67727e;
  --line: #d7dde3;
  --light-line: #e8ecef;
  --link: #0069a6;
  --link-dark: #004f7d;
  --dgist-navy: #082f57;
  --dgist-blue: #005bac;
  --dgist-sky: #28a8e0;
  --header-accent: #00aeea;
  --header-mid: #26323a;
  --header-start: #101820;
  --aprl-yellow: #f7c600;
  --aprl-coral: #f26a21;
  --aprl-pink: #ef3f72;
  --paper: #ffffff;
  --wash: #f6f7f8;
  --content-width: 1288px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Inter", "Helvetica Neue", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lightbox-open {
  overflow: hidden;
}

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

a:hover,
a:focus-visible {
  color: var(--link-dark);
  text-decoration: underline;
}

main img:not([data-lightbox="off"]) {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  background: rgba(8, 19, 30, 0.82);
  border: 0;
  cursor: zoom-out;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  display: block;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  object-fit: contain;
}

.site-header {
  position: sticky;
  top: -158px;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(31, 41, 51, 0.08);
}

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.institution-bar {
  position: relative;
  color: var(--text);
  background: #fff;
  border-bottom: 1px solid var(--light-line);
}

.institution-bar::after {
  display: none;
}

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

.dgist-wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.dgist-wordmark:hover,
.dgist-wordmark:focus-visible {
  color: var(--header-accent);
  text-decoration: none;
}

.dgist-wordmark span,
.dept-link {
  color: #40505f;
  font-size: 0.92rem;
  font-weight: 500;
}

.dept-link:hover,
.dept-link:focus-visible {
  color: var(--header-accent);
  text-decoration: none;
}

.lab-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.lab-mark {
  display: grid;
  grid-template-columns: 86px minmax(0, auto) 86px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  color: var(--text);
  text-decoration: none;
  text-align: left;
}

.lab-mark:hover,
.lab-mark:focus-visible {
  text-decoration: none;
}

.lab-logo-link {
  display: inline-flex;
  grid-column: 1;
}

.lab-title-link {
  grid-column: 2;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.lab-title-link:hover,
.lab-title-link:focus-visible {
  color: var(--header-accent);
  text-decoration: none;
}

.lab-mark img {
  width: 86px;
  height: 86px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.lab-mark strong {
  display: block;
  font-size: 2.12rem;
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0;
}

.lab-mark small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.16rem;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: var(--paper);
  border-top: 1px solid var(--light-line);
  padding-top: 0;
  padding-bottom: 0;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: #263645;
  font-size: 0.98rem;
  font-weight: 600;
}

.primary-nav a:first-child {
  padding-left: 18px;
}

.primary-nav a::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  background: transparent;
  content: "";
}

.primary-nav a:first-child::after {
  left: 18px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--header-accent);
  text-decoration: none;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  background: var(--header-accent);
}

.page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 28px 24px 40px;
}

.intro {
  padding: 12px 0 26px;
  border-bottom: 1px solid var(--line);
}

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

h1 {
  margin-bottom: 2px;
  font-size: 2.4rem;
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: 0;
}

.subtitle {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.home-page {
  display: grid;
  gap: 22px;
}

.home-rule {
  border-top: 1px solid var(--line);
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 8px;
}

.home-kicker {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 650;
}

.home-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 2.45rem;
  line-height: 1.08;
  white-space: nowrap;
}

.home-hero-copy > p:not(.home-kicker) {
  max-width: none;
  margin: 14px 0 0;
  color: #344455;
  font-size: 1.05rem;
  line-height: 1.55;
}

.home-hero-points {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: #344455;
  font-size: 1.05rem;
  line-height: 1.38;
}

.home-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-hero-links a,
.home-news a,
.home-section-heading a,
.home-about a,
.home-vision-card a,
.home-link-grid a {
  color: var(--link);
  font-weight: 800;
  text-decoration: none;
}

.home-hero-links a {
  padding: 8px 10px;
  background: #f7f9fb;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  font-size: 0.9rem;
}

.home-hero-media,
.home-about,
.home-image-pair a,
.home-news,
.home-video-card,
.home-vision-card,
.home-link-grid a {
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.home-hero-media {
  width: min(100%, 760px);
  justify-self: end;
  overflow: hidden;
}

.home-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-about {
  padding: 18px 20px;
}

.home-about h2,
.home-news h2,
.home-vision-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
}

.home-about ul {
  margin: 0;
  padding-left: 18px;
  color: #344455;
  line-height: 1.6;
}

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

.home-image-pair a {
  display: block;
  overflow: hidden;
}

.home-image-pair img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-news {
  padding: 16px;
}

.home-section-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.home-news ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-news li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--light-line);
}

.home-news time {
  color: var(--ink);
  font-weight: 900;
  font-size: 0.9rem;
}

.home-news p,
.home-vision-card p {
  margin: 0;
  color: #344455;
  line-height: 1.5;
}

.home-media-row {
  display: grid;
  grid-template-columns: 320px;
  gap: 10px;
}

.home-video-card,
.home-vision-card,
.home-link-grid a {
  padding: 14px;
}

.home-video-card img {
  display: block;
  width: 86px;
  height: 86px;
  margin-bottom: 10px;
}

.home-video-card span,
.home-link-grid b {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.home-video-card span {
  white-space: nowrap;
}

.home-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-link-grid a span {
  display: block;
  margin-top: 4px;
  color: #556575;
  font-size: 0.9rem;
  font-weight: 600;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
  padding-top: 26px;
}

.about h2,
.notice h2,
.section-row h2 {
  margin-bottom: 14px;
  color: #25313b;
  font-size: 1.55rem;
  font-weight: 700;
}

.about p {
  margin-bottom: 18px;
  color: #2f3a44;
  font-size: 1.04rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.image-grid a {
  display: block;
  color: var(--link);
  background: var(--wash);
  border: 1px solid var(--light-line);
  text-decoration: none;
}

.image-grid a:hover,
.image-grid a:focus-visible {
  border-color: var(--link);
}

.image-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--wash);
}

.image-grid span {
  display: block;
  padding: 8px 10px 10px;
  font-size: 0.96rem;
}

.side-column {
  display: grid;
  gap: 26px;
}

.notice {
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.notice ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice li {
  color: var(--muted);
}

.notice time {
  display: block;
  color: #3b4650;
  font-weight: 700;
}

.notice.compact li {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--light-line);
}

.section-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.section-row p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.team-profile {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding: 30px 0 42px;
}

.team-page {
  padding-top: 28px;
}

.team-page > .publications-heading:first-child {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.profile-card {
  text-align: center;
}

.profile-avatar {
  display: block;
  width: 270px;
  height: 270px;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-card h2 {
  margin-bottom: 8px;
  font-size: 1.9rem;
  line-height: 1.15;
}

.profile-card h2 a {
  color: inherit;
  text-decoration: none;
}

.profile-card h2 a:hover,
.profile-card h2 a:focus-visible {
  color: var(--link);
  text-decoration: underline;
}

.profile-role {
  margin-bottom: 2px;
  color: #333;
  font-size: 1.12rem;
  font-weight: 700;
}

.profile-subrole {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 650;
}

.profile-affiliation {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 650;
}

.profile-email-link {
  font-weight: 700;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 10px;
  background: #f7f8fa;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.profile-biography {
  max-width: 780px;
}

.profile-biography h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.profile-biography p {
  margin-bottom: 18px;
  color: #2f3a44;
  font-size: 1.04rem;
}

.statement-links {
  font-weight: 750;
}

.statement-links span {
  margin: 0 8px;
  color: var(--muted);
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.profile-detail-grid h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.profile-detail-grid ul {
  margin: 0;
  padding-left: 20px;
  color: #2f3a44;
}

.profile-detail-grid li + li {
  margin-top: 7px;
}

.team-members-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.team-members-section h2 {
  margin: 28px 0 14px;
  color: #22313f;
  font-size: 1.38rem;
  line-height: 1.2;
  font-weight: 850;
}

.team-member-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.team-member-card {
  min-height: 264px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.team-member-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  background: #fff;
  object-fit: contain;
  object-position: center center;
}

.team-member-placeholder {
  background: #f7f8fa;
  border: 1px solid var(--light-line);
  border-radius: 6px;
}

.team-member-card h3 {
  margin: 0 0 8px;
  color: #0b1f33;
  font-size: 1.02rem;
  line-height: 1.25;
  text-align: center;
}

.team-member-card h3 a {
  color: inherit;
  text-decoration: none;
}

.team-member-card h3 a:hover,
.team-member-card h3 a:focus-visible {
  color: var(--link);
  text-decoration: underline;
}

.team-member-card p,
.team-simple-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.team-member-card p {
  text-align: center;
}

.team-simple-list {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  background: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.team-simple-list b {
  margin-right: 8px;
  color: #0b1f33;
}

.team-collaborator-list {
  columns: 2;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.publications-section {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}

.publications-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.publications-heading h2 {
  margin-bottom: 4px;
  font-size: 1.9rem;
  line-height: 1.15;
}

.publications-heading h1 {
  margin-bottom: 4px;
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 650;
}

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

.before-link {
  flex: 0 0 auto;
  font-weight: 700;
}

.publication-filter-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
  background: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.publication-filter-panel div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.publication-filter-panel span,
.publication-facets > span {
  min-width: 58px;
  color: #333;
  font-size: 0.82rem;
  font-weight: 800;
}

.publication-filter-panel button {
  min-height: 28px;
  padding: 3px 10px;
  color: #2f3a44;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
}

.publication-filter-panel button.is-active {
  color: #fff;
  background: var(--link);
  border-color: var(--link);
}

.publication-facets {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.facet-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

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

.facet-venue-groups {
  display: grid;
  gap: 8px;
}

.facet-subgroup {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.facet-subgroup em {
  padding-top: 4px;
  color: #3b4650;
  font-style: normal;
  font-weight: 800;
}

.publication-facets button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  color: #2f3a44;
  background: #f7f8fa;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
}

.publication-facets button.is-active {
  color: #fff;
  background: var(--link);
  border-color: var(--link);
}

.publication-facets b {
  color: var(--link);
}

.publication-facets button.is-active b {
  color: #fff;
}

.publication-year {
  margin: 20px 0 10px;
  color: #3b4650;
  font-size: 1.05rem;
  font-weight: 800;
}

.publication-year.is-hidden,
.publication-card.is-hidden {
  display: none;
}

.projects-section .publications-heading h1 {
  margin-bottom: 4px;
  font-size: 1.9rem;
  line-height: 1.15;
}

.projects-section .publication-year {
  font-size: 1.2rem;
}

.project-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.project-status-row span {
  color: #333;
  font-size: 0.86rem;
  font-weight: 800;
}

.project-status-row b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  color: var(--link);
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  font-size: 0.84rem;
}

.project-current {
  color: #fff;
  background: #0f766e;
}

.project-completed {
  color: #fff;
  background: #6b7280;
}

.project-card {
  min-height: 232px;
}

.project-card h3 {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  color: #0b3a53;
  background: #e8f4f8;
  border: 1px solid #c8e1ea;
  border-radius: 7px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.project-card .pub-badge {
  min-height: 24px;
  padding: 2px 9px;
  font-size: 0.82rem;
}

.project-card .pub-badge.project-current {
  color: #fff;
  background: #0f766e;
}

.project-card .pub-badge.project-completed {
  color: #fff;
  background: #6b7280;
}

.project-card .publication-figure {
  min-height: 202px;
}

.project-card .publication-figure img {
  max-height: 190px;
}

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

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

.project-current-list .project-card {
  grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr);
}

.project-completed-list .project-card {
  grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr);
}

.project-current-list .publication-figure {
  min-height: 190px;
}

.project-current-list .publication-figure img {
  max-height: 178px;
}

.project-completed-list .publication-figure {
  min-height: 180px;
}

.project-completed-list .publication-figure img {
  max-height: 168px;
}

.teaching-section .publications-heading h1 {
  margin-bottom: 4px;
  font-size: 1.9rem;
  line-height: 1.15;
}

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

.teaching-card {
  min-height: 164px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.teaching-card.teaching-main {
  border-left: 4px solid var(--link);
}

.teaching-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 10px;
}

.teaching-title-row h3 {
  flex-basis: 100%;
  margin: 4px 0 0;
  color: #313131;
  font-size: 1.05rem;
  line-height: 1.34;
}

.teaching-title-row h3 span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.news-page {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}

.news-page .publications-heading h1 {
  margin-bottom: 4px;
  font-size: 1.9rem;
  line-height: 1.15;
}

.news-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--light-line);
}

.news-list time {
  color: #3b4650;
  font-size: 0.88rem;
  font-weight: 800;
}

.news-list p {
  margin: 0;
  color: #2f3a44;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: 1px;
}

.tag-funding {
  color: #075985;
  background: #e0f2fe;
}

.tag-publication {
  color: #166534;
  background: #dcfce7;
}

.tag-people {
  color: #7c2d12;
  background: #ffedd5;
}

.tag-award {
  color: #854d0e;
  background: #fef3c7;
}

.tag-event {
  color: #5b21b6;
  background: #ede9fe;
}

.tag-release {
  color: #0f766e;
  background: #ccfbf1;
}

.tag-lab {
  color: #374151;
  background: #e5e7eb;
}

.joining-page {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}

.joining-page .publications-heading h1 {
  margin-bottom: 6px;
  font-size: 1.9rem;
  line-height: 1.15;
}

.joining-notice,
.joining-card {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.joining-notice {
  background: #f7f8fa;
}

.joining-card h2 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.joining-card h3 {
  margin: 18px 0 6px;
  font-size: 1rem;
}

.joining-card p {
  color: #2f3a44;
}

.joining-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #2f3a44;
}

.joining-card li + li {
  margin-top: 6px;
}

.joining-card li > ul {
  margin-top: 6px;
  margin-bottom: 0;
}

.keyword-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.keyword-chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #0b3a53;
  background: #e8f4f8;
  border: 1px solid #c8e1ea;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.15;
}

.position-open {
  color: var(--ink);
  font-weight: 900;
}

.position-closed {
  color: #8a96a3;
  font-weight: 650;
}

.joining-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.joining-links a,
.joining-notice a,
.embed-placeholder a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 10px;
  background: #f7f8fa;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.embed-placeholder {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 18px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(0, 105, 166, 0.08), transparent),
    #f7f8fa;
  border: 1px dashed rgba(0, 105, 166, 0.4);
  border-radius: 8px;
}

.embed-placeholder strong {
  color: #2f3a44;
}

.embed-placeholder p {
  margin: 0;
}

.drive-embed iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  margin: 10px 0;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 6px;
}

.contact-page {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}

.contact-page .publications-heading h1 {
  margin-bottom: 6px;
  font-size: 1.9rem;
  line-height: 1.15;
}

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

.contact-card {
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.contact-card h2 {
  margin-bottom: 16px;
  font-size: 1.24rem;
}

.contact-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-card dt {
  color: #3b4650;
  font-weight: 800;
}

.contact-card dd {
  margin: 3px 0 0;
  color: #2f3a44;
}

.contact-map-placeholder {
  margin-top: 16px;
}

.contact-room-scan {
  margin-top: 16px;
}

.contact-room-scan h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.24rem;
}

.contact-map-placeholder iframe,
.contact-room-scan iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.contact-room-scan iframe {
  min-height: 520px;
}

.gallery-feature {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.gallery-feature img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

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

.gallery-card {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.gallery-card time {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 900;
}

.gallery-card p {
  margin: 0;
  color: #344455;
  line-height: 1.55;
}

.gallery-card a {
  color: var(--link);
  font-weight: 800;
  text-decoration: none;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f7f8fa;
  object-fit: contain;
}

.gallery-grid figcaption {
  display: grid;
  gap: 10px;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 900;
}

.gallery-caption-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.gallery-caption-text {
  color: #344455;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.gallery-carousel-stage {
  position: relative;
}

.gallery-carousel-slide {
  display: none;
}

.gallery-carousel-slide.is-active {
  display: block;
}

.gallery-carousel-button {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--light-line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-carousel-button:hover,
.gallery-carousel-button:focus-visible {
  background: #fff;
  color: var(--dgist-blue);
}

.gallery-carousel-prev {
  left: 10px;
}

.gallery-carousel-next {
  right: 10px;
}

.gallery-carousel-count {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.datasets-section {
  display: grid;
  gap: 18px;
}

.dataset-card {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
}

.dataset-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.dataset-card-header h2 {
  margin: 0 0 4px;
  color: #0b1f33;
  font-size: 1.28rem;
  line-height: 1.2;
}

.dataset-card-header p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.dataset-card-header > a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

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

.dataset-image-grid a {
  display: block;
  overflow: hidden;
  background: #f7f8fa;
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.dataset-image-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.research-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.25;
}

.research-method-heading {
  margin-top: 26px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.research-recent-heading {
  margin-top: 24px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.research-recent-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 6px;
}

.research-recent-list article {
  padding: 15px 16px;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.research-recent-list span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.research-recent-list h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.research-recent-list h3 a {
  color: var(--link);
  text-decoration: none;
}

.research-recent-list h3 a:hover,
.research-recent-list h3 a:focus-visible {
  color: var(--link-dark);
  text-decoration: underline;
}

.research-recent-list p {
  margin: 0;
  color: #344455;
  font-size: 0.94rem;
  line-height: 1.45;
}

.research-interest-panel {
  padding: 0;
  background: transparent;
  border: 0;
}

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

.research-interest-grid article,
.research-statement {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--light-line);
  border-left: 5px solid var(--link);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
}

.research-interest-grid article > span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  place-items: center;
  color: #fff;
  background: var(--link);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
}

.research-interest-grid h3 {
  max-width: 780px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.research-interest-grid ul,
.research-method-card ul {
  margin: 0;
  padding-left: 18px;
  color: #344455;
  line-height: 1.55;
}

.research-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.research-links a,
.research-statement a {
  color: var(--link);
  font-weight: 800;
  text-decoration: none;
}

.research-method-list {
  display: grid;
  gap: 14px;
}

.research-method-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.research-method-image {
  display: block;
  overflow: hidden;
  background: #f3f6f8;
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.research-method-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.research-method-card h2 {
  margin-bottom: 8px;
}

.research-method-card p,
.research-statement p {
  margin: 0 0 10px;
  color: #344455;
  line-height: 1.55;
}

.research-method-card a {
  color: var(--link);
  font-weight: 800;
  text-decoration: none;
}

.research-statement {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

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

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

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

.publication-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 166px;
  gap: 12px;
  min-height: 204px;
  padding: 12px 14px;
  color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  font-size: 0.88rem;
}

.publication-body {
  min-width: 0;
}

.publication-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: baseline;
}

.pub-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px;
  color: #3b4650;
  background: #eef2f6;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.pub-badge.pub-year {
  color: #fff;
  background: var(--link);
}

.pub-badge.aprl {
  color: #fff;
  background: #0f766e;
}

.publication-card h3 {
  flex-basis: 100%;
  margin: 3px 0 8px;
  color: #313131;
  font-size: 0.95rem;
  line-height: 1.34;
  font-weight: 800;
}

.project-card .publication-title-row {
  gap: 8px;
  align-items: center;
}

.project-card .publication-title-row h3 {
  order: 1;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  margin: 3px 0 8px;
  padding: 6px 10px;
  color: #0b3a53;
  background: #e8f4f8;
  border: 1px solid #c8e1ea;
  border-radius: 7px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.project-card .publication-title-row .pub-badge {
  order: 2;
  flex: 0 0 auto;
  margin: 3px 0 8px;
}

.publication-meta {
  display: grid;
  gap: 4px;
  color: #4a5560;
  line-height: 1.35;
}

.publication-meta span {
  display: block;
}

.publication-meta b {
  margin-right: 5px;
  color: #313131;
  font-weight: 800;
}

.publication-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.publication-actions a {
  font-weight: 750;
}

.publication-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 152px;
  padding: 6px;
  background: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 6px;
}

.publication-figure img {
  display: block;
  width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.contact-row {
  border-bottom: 1px solid var(--line);
}

.site-footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 20px 24px 36px;
  color: var(--muted);
  font-size: 0.94rem;
  text-align: center;
}

.site-footer a {
  margin: 0 9px;
}

@media (max-width: 900px) {
  .content-layout,
  .section-row,
  .team-profile {
    grid-template-columns: 1fr;
  }

  .side-column {
    grid-template-columns: 1fr 1fr;
  }

  .publication-list,
  .research-recent-list,
  .research-interest-grid,
  .research-method-card,
  .home-hero,
  .home-about,
  .home-media-row,
  .home-link-grid,
  .gallery-list,
  .gallery-grid,
  .dataset-image-grid,
  .team-member-grid {
    grid-template-columns: 1fr;
  }

  .team-collaborator-list {
    columns: 1;
  }

  .home-hero h1 {
    font-size: 1.58rem;
  }

  .home-kicker {
    font-size: 1.7rem;
  }

  .home-hero-media {
    justify-self: stretch;
  }

  .profile-card {
    text-align: left;
  }

  .profile-avatar {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .home-hero h1 {
    font-size: 1.18rem;
  }

  .home-kicker {
    font-size: 1.45rem;
  }

  .header-inner,
  .page,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .lab-mark {
    align-items: flex-start;
    gap: 12px;
  }

  .lab-mark img {
    width: 48px;
    height: 48px;
  }

  .lab-mark strong {
    font-size: 1.32rem;
    line-height: 1.08;
  }

  .lab-mark small {
    font-size: 0.88rem;
  }

  nav a {
    min-height: 38px;
    padding: 0 10px;
    border-right: 0;
  }

  nav a:first-child {
    padding-left: 0;
  }

  .image-grid,
  .side-column,
  .teaching-list {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .publication-figure {
    min-height: 0;
  }

  .profile-detail-grid {
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    width: 220px;
    height: 220px;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .home-news li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .research-interest-panel,
  .research-recent-list article,
  .research-interest-grid article,
  .research-method-card,
  .research-statement {
    padding: 12px;
  }

  .research-statement {
    align-items: flex-start;
    flex-direction: column;
  }
}
