:root {
    --ink: #172220;
    --ink-soft: #3f4d4a;
    --muted: #64716f;
    --paper: #ffffff;
    --canvas: #f3f6f5;
    --canvas-strong: #e8eeec;
    --line: #d5ddda;
    --line-strong: #aebbb7;
    --brand: #0d5b5b;
    --brand-dark: #073f42;
    --accent: #ae4338;
    --accent-soft: #f8ebe8;
    --focus: #f2a900;
    --shadow: 0 16px 42px rgb(23 34 32 / 10%);
    --shell: 1240px;
    --prose: 820px;
    --header-height: 82px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img,
picture {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--brand);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--accent);
}

button,
input,
select {
    color: inherit;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

main:focus {
    outline: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-family: "Noto Serif SC", "Source Han Serif SC", SimSun, serif;
    font-weight: 700;
    line-height: 1.24;
    overflow-wrap: anywhere;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 23px;
}

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.shell--narrow {
    max-width: 980px;
}

.shell--prose {
    max-width: var(--prose);
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    transform: translateY(-150%);
    border-radius: 4px;
    background: var(--paper);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.eyebrow--inverse {
    color: #ffd0c8;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid var(--brand);
    border-radius: 4px;
    background: var(--brand);
    color: var(--paper);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: var(--paper);
}

.button--secondary,
.button--quiet {
    background: transparent;
    color: var(--brand);
}

.button--quiet {
    border-color: var(--line-strong);
}

.button--light {
    border-color: var(--paper);
    background: var(--paper);
    color: var(--brand-dark);
}

.button--light:hover {
    border-color: #dfe7e4;
    background: #dfe7e4;
    color: var(--brand-dark);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    text-decoration: none;
}

.text-link span {
    font-size: 20px;
    transition: transform 160ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.section-band {
    padding-block: 88px;
}

.section-band--muted {
    background: var(--canvas);
}

.page-section {
    padding-block: 20px 100px;
}

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

.section-heading h2,
.section-heading p:last-child {
    margin-bottom: 0;
}

.rich-text {
    color: var(--ink-soft);
    overflow-wrap: anywhere;
}

.rich-text > :first-child {
    margin-top: 0;
}

.rich-text > :last-child {
    margin-bottom: 0;
}

.rich-text p,
.rich-text li {
    line-height: 1.9;
}

.rich-text a {
    font-weight: 650;
}

.rich-text ul,
.rich-text ol {
    padding-left: 1.4em;
}

.rich-text--compact p {
    margin-bottom: 8px;
    line-height: 1.7;
}

.media-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--canvas-strong);
    background-image: linear-gradient(90deg, transparent 49.5%, var(--line) 50%, transparent 50.5%);
}

/* Shared header */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(12px);
}

.site-header__bar {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    min-width: 250px;
    align-items: center;
    gap: 13px;
    color: var(--ink);
    text-decoration: none;
}

.brand:hover {
    color: var(--ink);
}

.brand__logo {
    width: auto;
    max-width: 164px;
    max-height: 54px;
    object-fit: contain;
}

.brand__mark {
    display: grid;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    place-items: center;
    border-radius: 3px;
    background: var(--brand);
    color: var(--paper);
    font-family: "Noto Serif SC", SimSun, serif;
    font-size: 25px;
    font-weight: 700;
}

.brand__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.25;
}

.brand__text strong {
    font-family: "Noto Serif SC", SimSun, serif;
    font-size: 21px;
}

.brand__text span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.site-nav li a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 160ms ease;
}

.site-nav li a:hover::after,
.site-nav li a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-nav li a[aria-current="page"] {
    color: var(--ink);
}

.site-nav__search {
    padding-left: 20px;
    border-left: 1px solid var(--line);
    color: var(--brand) !important;
}

.site-nav-toggle {
    display: none;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--paper);
    font-weight: 700;
}

.site-nav-toggle__icon {
    display: flex;
    width: 20px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
}

.site-nav-toggle__icon i {
    display: block;
    width: 100%;
    height: 2px;
    background: currentcolor;
    transition: transform 160ms ease, opacity 160ms ease;
}

/* Home */
.home-hero {
    position: relative;
    display: flex;
    height: clamp(520px, calc(100svh - 150px), 680px);
    min-height: 520px;
    align-items: end;
    overflow: hidden;
    background: var(--brand-dark);
}

.home-hero__media,
.home-hero__media img,
.home-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__media img {
    object-fit: cover;
}

.home-hero__overlay {
    background: rgb(6 24 24 / 58%);
}

.home-hero--plain .home-hero__overlay {
    display: none;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    padding-bottom: 74px;
    color: var(--paper);
}

.home-hero h1 {
    max-width: 900px;
    margin-bottom: 22px;
    color: var(--paper);
    font-size: 64px;
}

.home-hero__summary {
    max-width: 720px;
    margin-bottom: 30px;
    color: rgb(255 255 255 / 88%);
    font-size: 20px;
    line-height: 1.75;
}

.home-intro__grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
}

.home-intro h2 {
    max-width: 480px;
    margin-bottom: 0;
    font-size: 40px;
}

.home-intro__copy {
    font-size: 18px;
}

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

.featured-item {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(210px, 0.95fr);
    overflow: hidden;
    border-top: 3px solid var(--brand);
    background: var(--paper);
}

.featured-item__media {
    min-height: 280px;
    background: var(--canvas-strong);
    overflow: hidden;
}

.featured-item__media img,
.featured-item__media .media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease;
}

.featured-item:hover .featured-item__media img {
    transform: scale(1.025);
}

.featured-item__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
}

.featured-item__eyebrow {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.featured-item h3 {
    margin-bottom: 16px;
}

.featured-item h3 a {
    color: var(--ink);
    text-decoration: none;
}

.featured-item__content > p:not(.featured-item__eyebrow) {
    display: -webkit-box;
    margin-bottom: 24px;
    overflow: hidden;
    color: var(--muted);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.featured-item .text-link {
    margin-top: auto;
}

/* Page framing */
.page-intro {
    padding-top: 92px;
    padding-bottom: 62px;
}

.page-intro h1 {
    max-width: 900px;
    margin-bottom: 24px;
}

.page-intro__copy {
    max-width: 820px;
    font-size: 18px;
}

.breadcrumbs {
    padding-top: 30px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 14px;
    list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
    margin-left: 8px;
    color: var(--line-strong);
    content: "/";
}

.breadcrumbs a {
    color: var(--muted);
}

.empty-state {
    grid-column: 1 / -1;
    width: 100%;
    padding: 48px 24px;
    border-block: 1px solid var(--line);
    text-align: center;
}

.empty-state__title {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
}

.empty-state p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

/* People */
.people-directory {
    display: grid;
    gap: 84px;
}

.people-group__heading {
    display: grid;
    grid-template-columns: minmax(220px, 0.4fr) minmax(0, 0.6fr);
    gap: 40px;
    margin-bottom: 34px;
    padding-top: 22px;
    border-top: 2px solid var(--ink);
}

.people-group__heading h2,
.people-group__heading p {
    margin-bottom: 0;
}

.people-group__heading p {
    color: var(--muted);
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 42px 24px;
}

.person-card {
    min-width: 0;
}

.person-card__portrait {
    display: grid;
    aspect-ratio: 4 / 5;
    margin-bottom: 20px;
    place-items: center;
    overflow: hidden;
    border-radius: 4px;
    background: var(--canvas-strong);
}

.person-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card__initial,
.related-person__initial {
    color: var(--brand);
    font-family: "Noto Serif SC", SimSun, serif;
    font-size: 64px;
    font-weight: 700;
}

.person-card__name-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.person-card h3 {
    margin-bottom: 4px;
}

.person-card__english-name {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
}

.person-card__role {
    margin-bottom: 3px;
    color: var(--brand-dark);
    font-weight: 700;
}

.person-card__affiliation,
.person-card__bio,
.person-card__research {
    color: var(--muted);
    font-size: 14px;
}

.person-card__affiliation {
    margin-bottom: 14px;
}

.person-card__bio {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.person-card__research strong {
    display: block;
    color: var(--ink-soft);
}

.person-card__links,
.publication-item__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 14px;
    font-weight: 700;
}

.status-label {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.status-label--accent {
    border-color: #dca49c;
    background: var(--accent-soft);
    color: #802d25;
}

/* Filters and publications */
.filter-bar {
    display: flex;
    align-items: end;
    gap: 16px;
    margin-bottom: 52px;
    padding: 24px;
    border-block: 1px solid var(--line);
    background: var(--canvas);
}

.field-group {
    display: grid;
    min-width: 190px;
    gap: 7px;
}

.field-group--grow {
    min-width: 260px;
    flex: 1;
}

.field-group label {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.field-group input,
.field-group select {
    width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: var(--paper);
}

.filter-bar__reset {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding-inline: 8px;
    white-space: nowrap;
}

.results-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--ink);
}

.results-heading h2,
.results-heading p {
    margin-bottom: 0;
}

.results-heading p {
    color: var(--muted);
}

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

.publication-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.publication-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}

.publication-item__meta time {
    color: var(--accent);
    font-weight: 800;
}

.publication-item h3 {
    max-width: 980px;
    margin-bottom: 11px;
    font-family: inherit;
    font-size: 20px;
    line-height: 1.45;
}

.publication-item__authors {
    margin-bottom: 8px;
    color: var(--ink-soft);
}

.publication-item__citation {
    margin-bottom: 12px;
    color: var(--muted);
}

.publication-item__abstract {
    margin-block: 15px;
    color: var(--muted);
}

.publication-item__abstract summary {
    width: fit-content;
    color: var(--brand);
    cursor: pointer;
    font-weight: 700;
}

.publication-item__abstract p {
    max-width: 900px;
    margin: 10px 0 0;
    padding-left: 16px;
    border-left: 2px solid var(--line-strong);
}

.publication-list__empty {
    list-style: none;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
}

.pagination p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.pagination__links {
    display: flex;
    gap: 10px;
}

/* Research */
.research-list {
    display: grid;
}

.research-list__item {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    min-height: 390px;
    border-top: 1px solid var(--line-strong);
}

.research-list__item:last-child {
    border-bottom: 1px solid var(--line-strong);
}

.research-list__item:nth-child(even) .research-list__media {
    order: 2;
}

.research-list__media {
    min-height: 390px;
    overflow: hidden;
    background: var(--canvas-strong);
}

.research-list__media img,
.research-list__media .media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.research-list__item:hover .research-list__media img {
    transform: scale(1.025);
}

.research-list__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 54px;
}

.research-list__content h2 {
    margin-bottom: 18px;
}

.research-list__content h2 a {
    color: var(--ink);
    text-decoration: none;
}

.research-list__content > p:not(.eyebrow) {
    margin-bottom: 25px;
    color: var(--muted);
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 60px;
    padding-top: 50px;
    padding-bottom: 90px;
}

.detail-hero h1 {
    font-size: 48px;
}

.detail-hero__summary {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.9;
}

.detail-hero__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
}

.detail-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-people {
    margin-top: 96px;
}

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

.related-person {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
    padding-block: 14px;
    border-top: 1px solid var(--line-strong);
}

.related-person img,
.related-person__initial {
    display: grid;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    place-items: center;
    border-radius: 50%;
    background: var(--canvas-strong);
    object-fit: cover;
    font-size: 26px;
}

.related-person h3 {
    margin-bottom: 3px;
    font-family: inherit;
    font-size: 17px;
}

.related-person p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Stream content */
.prose-layout {
    padding-block: 16px 36px;
}

.prose-layout > * + * {
    margin-top: 28px;
}

.content-heading {
    margin-bottom: 14px;
    padding-top: 34px;
    font-size: 30px;
}

.content-heading--small {
    font-size: 23px;
}

.content-figure {
    margin-inline: 0;
}

.content-figure--wide {
    width: min(calc(100vw - 48px), 1180px);
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.content-figure img {
    width: 100%;
    border-radius: 4px;
}

figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.content-gallery {
    padding-top: 30px;
}

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

.content-gallery figure {
    margin: 0;
}

.content-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    object-fit: cover;
}

.content-video {
    margin: 32px 0;
}

.content-video video {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(78vh, 900px);
    border-radius: 4px;
    background: #111;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.content-video figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.content-quote {
    margin-inline: 0;
    padding: 28px 32px;
    border-left: 4px solid var(--accent);
    background: var(--canvas);
}

.content-quote p {
    margin-bottom: 12px;
    color: var(--ink);
    font-family: "Noto Serif SC", SimSun, serif;
    font-size: 22px;
    line-height: 1.7;
}

.content-quote cite {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.content-action {
    margin-bottom: 0;
}

.content-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.content-download a {
    font-weight: 700;
}

.content-download span {
    color: var(--muted);
    font-size: 13px;
}

/* Science art */
.year-tabs {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--ink);
}

.year-tabs h2 {
    margin-bottom: 0;
}

.year-tabs nav {
    display: flex;
    max-width: 70%;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.year-tabs a {
    display: inline-flex;
    min-width: 54px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--ink-soft);
    font-size: 14px;
    text-decoration: none;
}

.year-tabs a:hover,
.year-tabs a[aria-current="page"] {
    border-color: var(--brand);
    background: var(--brand);
    color: var(--paper);
}

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

.art-card {
    min-width: 0;
}

.art-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: var(--canvas-strong);
}

.art-card__media img,
.art-card__media .media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease;
}

.art-card:hover .art-card__media img {
    transform: scale(1.025);
}

.art-card__body {
    padding-top: 18px;
}

.art-card__date {
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.art-card h3 {
    margin-bottom: 5px;
}

.art-card h3 a {
    color: var(--ink);
    text-decoration: none;
}

.art-card__english {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
}

.art-card__summary {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.artwork-detail__header {
    padding-top: 56px;
    padding-bottom: 50px;
    text-align: center;
}

.artwork-detail__header h1 {
    margin-bottom: 8px;
}

.artwork-detail__english-title {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 18px;
}

.artwork-detail__summary {
    max-width: 760px;
    margin-inline: auto;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.9;
}

.artwork-detail__credits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 36px;
    margin: 28px 0 0;
}

.artwork-detail__credits div {
    display: flex;
    gap: 8px;
}

.artwork-detail__credits dt {
    color: var(--muted);
}

.artwork-detail__primary {
    display: flex;
    justify-content: center;
    margin-bottom: 64px;
}

.artwork-detail__primary img,
.artwork-detail__secondary img {
    max-height: 820px;
    border-radius: 4px;
    object-fit: contain;
}

.artwork-detail__secondary {
    margin-top: 48px;
    margin-bottom: 70px;
}

.artwork-detail__related {
    margin-bottom: 90px;
    padding: 18px 22px;
    border-block: 1px solid var(--line);
}

.artwork-detail__related p {
    margin-bottom: 0;
}

.artwork-detail__related span {
    margin-right: 18px;
    color: var(--muted);
}

/* News */
.news-list {
    border-top: 2px solid var(--ink);
}

.news-item {
    display: grid;
    grid-template-columns: minmax(280px, 0.37fr) minmax(0, 0.63fr);
    gap: 42px;
    padding-block: 34px;
    border-bottom: 1px solid var(--line);
}

.news-item__media {
    min-height: 230px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--canvas-strong);
}

.news-item__media img,
.news-item__media .media-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.news-item__meta {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}

.news-item__meta span {
    color: var(--accent);
    font-weight: 700;
}

.news-item h2 {
    margin-bottom: 14px;
    font-size: 28px;
}

.news-item h2 a {
    color: var(--ink);
    text-decoration: none;
}

.news-item__content > p:not(.news-item__meta, .news-item__location) {
    margin-bottom: 20px;
    color: var(--ink-soft);
}

.news-item__location {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
}

.news-detail__header {
    padding-top: 56px;
    padding-bottom: 50px;
}

.news-detail__excerpt {
    color: var(--ink-soft);
    font-size: 19px;
    line-height: 1.85;
}

.news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin: 28px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.news-detail__meta div {
    display: flex;
    gap: 8px;
}

.news-detail__meta dt {
    color: var(--muted);
}

.news-detail__cover {
    margin-bottom: 56px;
}

.news-detail__cover img {
    width: 100%;
    max-height: 760px;
    border-radius: 4px;
    object-fit: cover;
}

/* Recruitment */
.recruitment-status {
    margin-bottom: 80px;
    padding-block: 42px;
    border-block: 1px solid var(--line);
    background: var(--canvas);
}

.recruitment-status--open {
    border-top: 3px solid var(--accent);
    background: var(--accent-soft);
}

.recruitment-status__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.recruitment-status h2,
.recruitment-status p:last-child {
    margin-bottom: 0;
}

.vacancy-list {
    border-top: 2px solid var(--ink);
}

.vacancy {
    padding-block: 36px;
    border-bottom: 1px solid var(--line);
}

.vacancy header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

.vacancy h3 {
    margin-bottom: 18px;
    font-size: 27px;
}

.vacancy__audience {
    margin-bottom: 6px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.vacancy__deadline {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.vacancy__summary {
    max-width: 780px;
    color: var(--ink-soft);
    font-size: 17px;
    overflow-wrap: anywhere;
}

/* Search */
.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-bottom: 26px;
}

.search-form input {
    min-width: 0;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: var(--paper);
}

.search-form input:focus {
    border-color: var(--brand);
    outline: 3px solid rgb(13 91 91 / 18%);
}

.search-summary {
    margin-bottom: 52px;
    color: var(--muted);
}

.search-results + .search-results {
    margin-top: 60px;
}

.search-results > h2 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ink);
}

.search-results > h2 span {
    color: var(--muted);
    font-family: inherit;
    font-size: 14px;
}

.search-result {
    padding-block: 24px;
    border-bottom: 1px solid var(--line);
}

.search-result h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.search-result h3 a {
    color: var(--ink);
}

.search-result > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.vacancy__requirements {
    margin-block: 24px;
    padding: 22px 26px;
    border-left: 3px solid var(--brand);
    background: var(--canvas);
}

.vacancy__requirements h4 {
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 16px;
}

.vacancy__requirements ul {
    margin: 0;
    padding-left: 1.3em;
}

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

/* Footer */
.site-footer {
    padding-top: 64px;
    background: #192523;
    color: #c9d3d0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.5fr) minmax(160px, 0.6fr) minmax(240px, 0.9fr);
    gap: 70px;
    padding-bottom: 50px;
}

.site-footer h2 {
    margin-bottom: 18px;
    color: var(--paper);
    font-family: inherit;
    font-size: 15px;
}

.site-footer a {
    color: #dce7e4;
}

.site-footer a:hover {
    color: #ffb2a8;
}

.site-footer__name {
    margin-bottom: 8px;
    color: var(--paper);
    font-family: "Noto Serif SC", SimSun, serif;
    font-size: 28px;
    font-weight: 700;
}

.site-footer__identity > p:nth-child(2) {
    color: #aebdb9;
}

.site-footer .rich-text {
    max-width: 460px;
    color: #aebdb9;
}

.site-footer__links,
.site-footer__social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links li + li {
    margin-top: 8px;
}

.site-footer__contact {
    display: grid;
    gap: 8px;
    font-style: normal;
}

.site-footer__contact p {
    margin-bottom: 4px;
    color: #aebdb9;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 18px;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
    border-top: 1px solid #34423f;
    color: #91a29d;
    font-size: 13px;
}

.site-footer__legal p {
    margin-bottom: 0;
}

/* Error pages */
.error-page {
    display: grid;
    min-height: 60vh;
    place-items: center;
    padding-block: 80px;
    text-align: center;
}

.error-page__code {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
}

.error-page p:not(.error-page__code) {
    max-width: 560px;
    margin-inline: auto;
    color: var(--muted);
}

@media (max-width: 1120px) {
    .site-nav ul {
        gap: 17px;
    }

    .site-nav {
        gap: 16px;
    }

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

    .people-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    :root {
        --header-height: 72px;
    }

    h1 {
        font-size: 46px;
    }

    .site-nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        z-index: 99;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: block;
        max-height: calc(100svh - var(--header-height));
        padding: 20px 24px 28px;
        overflow-y: auto;
        border-bottom: 1px solid var(--line);
        background: var(--paper);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav ul {
        display: grid;
        gap: 0;
    }

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

    .site-nav a {
        width: 100%;
        min-height: 52px;
    }

    .site-nav li a::after {
        right: auto;
        bottom: 0;
        width: 42px;
    }

    .site-nav__search {
        margin-top: 12px;
        padding-left: 0;
        border-left: 0;
    }

    .nav-open .site-nav-toggle__icon i:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-open .site-nav-toggle__icon i:nth-child(2) {
        opacity: 0;
    }

    .nav-open .site-nav-toggle__icon i:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .home-hero h1 {
        font-size: 52px;
    }

    .home-intro__grid {
        gap: 42px;
    }

    .people-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-hero {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }

    .detail-hero h1 {
        font-size: 40px;
    }

    .research-list__content {
        padding: 38px;
    }

    .art-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__grid {
        grid-template-columns: 1.3fr 0.7fr;
    }

    .site-footer__grid > :last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 29px;
    }

    h3 {
        font-size: 21px;
    }

    .brand {
        min-width: 0;
    }

    .brand__text span {
        display: none;
    }

    .section-band {
        padding-block: 64px;
    }

    .page-section {
        padding-bottom: 72px;
    }

    .page-intro {
        padding-top: 64px;
        padding-bottom: 48px;
    }

    .home-hero {
        height: max(520px, calc(100svh - 135px));
        max-height: 630px;
    }

    .home-hero__content {
        padding-bottom: 52px;
    }

    .home-hero h1 {
        font-size: 42px;
    }

    .home-hero__summary {
        font-size: 17px;
    }

    .home-intro__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .home-intro h2 {
        font-size: 34px;
    }

    .featured-item {
        grid-template-columns: 1fr;
    }

    .featured-item__media {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    .people-group__heading {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .field-group--grow {
        grid-column: 1 / -1;
    }

    .filter-bar__reset {
        justify-content: center;
    }

    .research-list__item {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .research-list__item:nth-child(even) .research-list__media {
        order: 0;
    }

    .research-list__media {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    .research-list__content {
        padding: 34px 12px 50px;
    }

    .detail-hero {
        grid-template-columns: 1fr;
        padding-bottom: 64px;
    }

    .detail-hero__media {
        grid-row: 1;
    }

    .related-people__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-figure--wide {
        width: calc(100vw - 32px);
    }

    .year-tabs {
        display: block;
    }

    .year-tabs h2 {
        margin-bottom: 16px;
    }

    .year-tabs nav {
        max-width: 100%;
        justify-content: flex-start;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .news-item__media {
        min-height: 0;
        aspect-ratio: 14 / 9;
    }

    .news-detail__meta {
        display: grid;
    }

    .recruitment-status__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 15px;
    }

    .brand__mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 22px;
    }

    .brand__text strong {
        font-size: 18px;
    }

    .site-nav-toggle {
        min-width: 44px;
        justify-content: center;
    }

    .site-nav-toggle > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .home-hero h1 {
        font-size: 36px;
    }

    .home-hero__summary {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .featured-item__content {
        padding: 24px 20px 28px;
    }

    .people-grid {
        gap: 34px 14px;
    }

    .person-card h3 {
        font-size: 19px;
    }

    .person-card__bio,
    .person-card__research {
        display: none;
    }

    .filter-bar {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .field-group,
    .field-group--grow {
        grid-column: auto;
        min-width: 0;
    }

    .results-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .pagination__links .button {
        flex: 1;
    }

    .related-people__list,
    .art-grid,
    .content-gallery__grid {
        grid-template-columns: 1fr;
    }

    .artwork-detail__header {
        text-align: left;
    }

    .artwork-detail__credits {
        justify-content: flex-start;
    }

    .content-quote {
        padding: 22px;
    }

    .content-quote p {
        font-size: 19px;
    }

    .content-download {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .vacancy header {
        display: block;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .site-footer__grid > :last-child {
        grid-column: auto;
    }

    .site-footer__legal {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding-block: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
