:root {
  --ink: #16231f;
  --muted: #61706b;
  --line: #d9e2df;
  --paper: #f5f7f5;
  --surface: #ffffff;
  --tint: #eaf3ef;
  --accent: #11756c;
  --accent-dark: #123c36;
  --copper: #ad5d2d;
  --blue: #294b7a;
  --shadow: 0 18px 45px rgba(25, 45, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(17, 117, 108, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 75, 122, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--copper);
}

.institution-link {
  color: inherit;
  text-decoration: none;
}

.institution-link:hover,
.institution-link:focus-visible {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(245, 247, 245, 0.92);
  border-bottom: 1px solid rgba(217, 226, 223, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-dark);
  background: #ddebe7;
}

.section-band {
  padding: 86px 0;
  scroll-margin-top: 92px;
}

.section-band.tinted {
  background: rgba(234, 243, 239, 0.72);
  border-top: 1px solid rgba(217, 226, 223, 0.72);
  border-bottom: 1px solid rgba(217, 226, 223, 0.72);
}

.hero {
  display: grid;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.profile-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.contact-stack {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-stack p {
  margin: 0 0 6px;
}

.contact-stack p:last-child {
  margin-bottom: 0;
}

.contact-title {
  color: var(--ink);
  font-weight: 700;
}

.contact-title-en {
  font-size: 0.88rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: var(--blue);
  margin-bottom: 18px;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 700;
  text-transform: none;
}

.site-nav .language-link {
  margin-left: 6px;
  color: var(--blue);
  font-weight: 700;
}

.hero-intro {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: justify;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

html[lang="en"] h1 {
  font-size: 4.2rem;
}

h2 {
  margin-bottom: 0;
  color: var(--accent-dark);
  font-size: 2.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.42;
}

.lead {
  max-width: 760px;
  color: #33413c;
  font-size: 1.26rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  color: var(--accent-dark);
  background: transparent;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.stat-grid div {
  min-height: 94px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-grid dd {
  margin: 0;
  color: var(--accent-dark);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
}

.two-column,
.split-section,
.recruiting-layout,
.running-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.prose {
  max-width: 780px;
  color: #33413c;
  font-size: 1.06rem;
}

.prose p:last-child,
.section-note:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-note {
  color: var(--muted);
  font-size: 1.04rem;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.research-item,
.project-item,
.publication-item,
.stacked-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(25, 45, 39, 0.06);
}

.research-item {
  padding: 22px;
  min-height: 188px;
}

.research-item p,
.project-item p,
.publication-item p,
.stacked-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-row span {
  color: var(--accent-dark);
  font-weight: 800;
}

.info-row p {
  margin-bottom: 0;
  color: #33413c;
}

.student-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: #33413c;
  list-style: none;
}

.student-list li {
  display: grid;
  grid-template-columns: minmax(76px, max-content) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.student-list strong {
  color: var(--ink);
  font-weight: 750;
}

.callout {
  padding: 20px 22px;
  color: #24342f;
  background: #fff7ec;
  border: 1px solid #efd2b7;
  border-left: 4px solid var(--copper);
  border-radius: 8px;
}

.callout p {
  margin-bottom: 0;
}

.publication-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pubs;
}

.publication-item {
  position: relative;
  padding: 22px 24px 22px 72px;
  counter-increment: pubs;
}

.publication-item::before {
  position: absolute;
  top: 22px;
  left: 24px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #ffffff;
  background: var(--accent-dark);
  border-radius: 50%;
  content: counter(pubs);
  font-weight: 900;
}

.publication-item p {
  margin-bottom: 4px;
}

.publication-item a {
  display: inline-block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.pub-title {
  color: var(--ink) !important;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
}

.publication-item .pub-title a {
  display: inline;
  margin-top: 0;
  color: inherit;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.publication-item .pub-title a:hover,
.publication-item .pub-title a:focus-visible {
  color: var(--copper);
  text-decoration-color: currentColor;
}

.publication-item .publication-resource-link {
  display: inline;
  margin: 0 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.publication-item .publication-resource-link:hover,
.publication-item .publication-resource-link:focus-visible {
  color: var(--copper);
}

.corresponding-mark {
  margin-left: 1px;
  color: var(--copper);
  font-weight: 900;
}

.publication-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
}

.teaching-list .project-item {
  border-left-color: var(--blue);
}

.project-visual {
  width: 220px;
  max-width: 100%;
  height: 46px;
  object-fit: contain;
  object-position: center;
}

.project-copy {
  min-width: 0;
}

.project-copy h3:last-child,
.project-copy p:last-child {
  margin-bottom: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 160px;
  width: 1px;
  content: "";
  background: var(--line);
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 160px 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 104px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline article::before {
  position: absolute;
  top: 50%;
  left: 154px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--copper);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  transform: translateY(-50%);
}

.timeline time {
  grid-column: 1;
  color: var(--blue);
  font-weight: 900;
}

@media (min-width: 621px) {
  html[lang="en"] .timeline::before {
    left: 220px;
  }

  html[lang="en"] .timeline article {
    grid-template-columns: 220px 150px minmax(0, 1fr);
  }

  html[lang="en"] .timeline article::before {
    left: 214px;
  }
}

.unit-logo {
  grid-column: 2;
  width: 150px;
  height: 66px;
  padding: 7px 14px;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.unit-logo.logo-square {
  padding: 7px 46px;
}

.unit-logo.logo-wide {
  padding: 7px 10px;
}

.timeline-copy {
  grid-column: 3;
  min-width: 0;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  white-space: nowrap;
}

.stacked-list {
  display: grid;
  gap: 14px;
}

.stacked-list article {
  padding: 20px 22px;
}

.conference-list {
  display: grid;
  gap: 12px;
}

.conference-list article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(25, 45, 39, 0.06);
}

.conference-list time {
  color: var(--blue);
  font-weight: 900;
  line-height: 1.42;
}

.conference-list h3 {
  margin-bottom: 5px;
}

.conference-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.records-table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.records-table [role="row"] {
  display: grid;
  grid-template-columns: 1fr 1fr 1.65fr;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.records-table [role="row"]:last-child {
  border-bottom: 0;
}

.records-table span {
  display: flex;
  align-items: center;
  padding: 12px 16px;
}

.records-table [role="columnheader"] {
  color: #ffffff;
  background: var(--accent-dark);
  font-weight: 900;
}

.records-table [role="cell"] {
  color: #33413c;
  background: rgba(255, 255, 255, 0.86);
}

.running-content {
  display: grid;
  gap: 18px;
}

.running-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.running-gallery figure {
  overflow: hidden;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(25, 45, 39, 0.06);
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.gallery-trigger:focus-visible {
  outline: 3px solid rgba(17, 117, 108, 0.35);
  outline-offset: -3px;
}

.running-gallery img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: #ffffff;
  transition: transform 180ms ease;
}

.gallery-trigger:hover img {
  transform: scale(1.03);
}

.running-gallery .certificate img {
  object-fit: contain;
  padding: 8px;
}

.running-gallery figcaption {
  padding: 9px 10px 11px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.moments-intro {
  padding-top: 72px;
  padding-bottom: 66px;
  background: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid var(--line);
}

.moments-intro-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: end;
}

.moments-intro h1 {
  margin-bottom: 6px;
  font-size: 4.6rem;
}

.moments-heading-en {
  margin-bottom: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.moments-lead {
  max-width: 720px;
  color: #33413c;
  font-size: 1.16rem;
}

.moments-lead p {
  margin-bottom: 12px;
}

.moments-lead .translation {
  margin-bottom: 0;
  padding-left: 18px;
  color: var(--muted);
  border-left: 2px solid var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.75;
}

.moment-entry {
  padding: 72px 0;
  border-bottom: 1px solid rgba(217, 226, 223, 0.82);
}

.moment-entry:nth-child(even) {
  background: rgba(234, 243, 239, 0.7);
}

.moment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 64px;
  align-items: center;
}

.moment-entry:nth-child(even) .moment-media {
  order: 2;
}

.moment-entry:nth-child(even) .moment-copy {
  order: 1;
}

.moment-media {
  width: 100%;
  min-width: 0;
  justify-self: center;
}

.moment-media.portrait {
  max-width: 480px;
}

.moment-media.landscape {
  max-width: 720px;
}

.moment-photo-trigger {
  overflow: hidden;
  width: 100%;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.moment-photo-trigger img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 4px;
  transition: transform 180ms ease;
}

.moment-copy {
  max-width: 470px;
  padding-left: 30px;
  border-left: 2px solid var(--line);
}

.moment-copy h2 {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 1;
}

.moment-zh {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.85;
}

.moment-en {
  margin-bottom: 0;
  padding-top: 15px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.01rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
}

.image-lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
  background: rgba(12, 22, 20, 0.76);
  border: 0;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(100%, 1100px);
  max-height: calc(100vh - 56px);
  margin: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.lightbox-panel img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  cursor: pointer;
  background: rgba(18, 60, 54, 0.92);
  border: 0;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
}

.lightbox-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
}

.lightbox-panel figcaption {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.site-footer {
  padding: 26px 0;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-meta {
  display: grid;
  gap: 3px;
}

.footer-meta p {
  margin-bottom: 0;
}

.last-updated {
  font-size: 0.92rem;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 20px;
  }

  .site-nav {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .split-section,
  .recruiting-layout,
  .running-layout,
  .moments-intro-grid,
  .moment-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .moments-intro-grid {
    align-items: start;
  }

  .moment-entry:nth-child(even) .moment-media,
  .moment-entry:nth-child(even) .moment-copy {
    order: initial;
  }

  .moment-media.portrait {
    max-width: 430px;
  }

  .moment-copy {
    max-width: 760px;
    padding-top: 24px;
    padding-left: 0;
    border-top: 2px solid var(--line);
    border-left: 0;
  }

  .profile-panel {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }

  .contact-stack {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .research-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .running-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section-band {
    padding: 50px 0;
  }

  .site-header {
    min-height: auto;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .moments-intro {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .moments-intro h1 {
    margin-bottom: 4px;
    font-size: 3.2rem;
  }

  .moments-lead {
    font-size: 1.04rem;
  }

  .moment-entry {
    padding: 48px 0;
  }

  .moment-photo-trigger {
    padding: 7px;
  }

  .moment-copy {
    padding-top: 20px;
  }

  .moment-copy h2 {
    margin-bottom: 14px;
    font-size: 2.55rem;
  }

  .moment-zh {
    font-size: 1.04rem;
  }

  .hero-grid {
    gap: 22px;
  }

  .profile-panel {
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 14px;
  }

  .profile-photo {
    width: 112px;
  }

  .contact-stack {
    font-size: 0.86rem;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: 2.65rem;
    margin-bottom: 16px;
  }

  html[lang="en"] h1 {
    font-size: 2.65rem;
  }

  .hero-intro {
    font-size: 0.98rem;
    line-height: 1.75;
    text-align: left;
  }

  h2 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: row;
    gap: 10px;
    margin: 22px 0;
  }

  .button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 10px;
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .stat-grid div {
    min-height: 76px;
    padding: 10px;
  }

  .stat-grid dt {
    font-size: 0.78rem;
  }

  .stat-grid dd {
    font-size: 1.02rem;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .project-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .project-visual {
    width: min(220px, 100%);
    height: 46px;
  }

  .publication-item {
    padding: 64px 18px 20px;
  }

  .publication-item::before {
    top: 18px;
    left: 18px;
  }

  .timeline::before,
  .timeline article::before {
    display: none;
  }

  .timeline article {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .timeline time {
    grid-column: 1 / -1;
  }

  .unit-logo {
    grid-column: 1;
    width: 86px;
    height: 56px;
    padding: 6px 10px;
  }

  .unit-logo.logo-square {
    padding: 6px 22px;
  }

  .unit-logo.logo-wide {
    grid-column: 1 / -1;
    width: min(100%, 220px);
    height: 62px;
    padding: 6px 8px;
    justify-self: start;
  }

  .unit-logo.logo-wide + .timeline-copy {
    grid-column: 1 / -1;
  }

  .timeline-copy {
    grid-column: 2;
  }

  .timeline p {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .conference-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .records-table {
    overflow-x: auto;
  }

  .records-table [role="row"] {
    grid-template-columns: 120px 150px 260px;
    min-width: 530px;
  }

  .running-gallery {
    grid-template-columns: 1fr;
  }

  .running-gallery img {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .running-gallery .certificate img {
    aspect-ratio: 3 / 4;
  }

  .image-lightbox {
    padding: 14px;
  }

  .lightbox-panel {
    max-height: calc(100vh - 28px);
    padding: 12px;
  }

  .lightbox-panel img {
    max-height: calc(100vh - 118px);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
