:root {
    --bg: #f6f2ed;
    --bg-elevated: #fbf8f4;
    --panel: rgba(255, 253, 251, 0.94);
    --panel-strong: #fffdfa;
    --line: rgba(74, 54, 44, 0.14);
    --line-strong: rgba(74, 54, 44, 0.22);
    --text: #1f1a18;
    --text-muted: #615851;
    --accent: #7d2433;
    --accent-soft: rgba(125, 36, 51, 0.08);
    --accent-deep: #5e1b27;
    --sage: #cfd9d1;
    --sand: #e8dfd5;
    --ink-blue: #243549;
    --gold-muted: #b58d53;
    --shadow: 0 18px 40px rgba(48, 31, 25, 0.08);
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --container: 1240px;
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif;
    --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", ui-serif, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(125, 36, 51, 0.06), transparent 32%),
        linear-gradient(180deg, #f8f5f0 0%, #f4efe9 100%);
    font-family: var(--font-sans);
    line-height: 1.7;
}

a {
    color: inherit;
}

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

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

.site-shell {
    min-height: 100vh;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(247, 242, 236, 0.84);
    border-bottom: 1px solid rgba(74, 54, 44, 0.08);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 78px;
}

.site-brand {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
}

.site-brand__cn {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.site-brand__en {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.site-nav__link {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--text-muted);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    outline: none;
}

.site-nav__link.is-current {
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.site-main {
    padding: 2rem 0 4rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb span[aria-hidden="true"] {
    color: rgba(97, 88, 81, 0.7);
}

.hero-grid {
    display: grid;
    gap: 1.5rem;
}

.hero-card {
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(250, 246, 240, 0.96));
    border: 1px solid rgba(74, 54, 44, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--accent-deep);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 2.4rem;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.hero-title {
    margin: 0.85rem 0 0.6rem;
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
}

.hero-copy {
    color: var(--text-muted);
    font-size: 1.03rem;
    max-width: 64ch;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.chip,
.filter-chip,
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(74, 54, 44, 0.1);
    padding: 0.55rem 0.95rem;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-muted);
    font-size: 0.92rem;
    text-decoration: none;
}

.chip--accent,
.filter-chip.is-active {
    background: var(--accent-soft);
    color: var(--accent-deep);
    border-color: rgba(125, 36, 51, 0.18);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.filter-chip {
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.section {
    margin-top: 2.2rem;
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.section-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 2.8vw, 2.4rem);
    line-height: 1.15;
}

.section-kicker {
    color: var(--accent-deep);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.section-copy {
    color: var(--text-muted);
    max-width: 72ch;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

.members-roster-grid {
    grid-template-columns: repeat(3, minmax(0, 362px));
    align-items: stretch;
    gap: 0.75rem;
}

.members-roster-grid[data-grid-count="1"] {
    grid-template-columns: minmax(0, 362px);
}

.members-roster-grid[data-grid-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 362px));
}

.members-roster-grid > [data-roster-item] {
    display: flex;
    min-width: 0;
}

.info-card,
.profile-card,
.publication-card,
.contact-card,
.step-card,
.faq-item,
.theme-panel,
.capability-card,
.summary-card,
.nav-card {
    background: var(--panel);
    border: 1px solid rgba(74, 54, 44, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(48, 31, 25, 0.05);
}

.info-card,
.publication-card,
.contact-card,
.step-card,
.capability-card,
.summary-card,
.nav-card {
    padding: 1.3rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.btn,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.9rem;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn {
    background: var(--accent);
    color: #fffaf7;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(74, 54, 44, 0.14);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(125, 36, 51, 0.18);
    color: var(--accent-deep);
}

.btn:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.btn:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.site-footer {
    margin-top: 4rem;
    padding: 2rem 0 3rem;
    border-top: 1px solid rgba(74, 54, 44, 0.08);
}

.site-footer__inner {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-footer__title {
    font-family: var(--font-serif);
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
}

.site-footer__copy,
.site-footer__meta {
    color: var(--text-muted);
    margin: 0;
}

.members-hero {
    padding: 0.75rem 1rem;
    display: block;
}

.members-hero .eyebrow {
    display: none;
}

.members-hero .hero-title {
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    max-width: none;
    margin: 0 0 0.35rem;
}

.members-hero .hero-copy {
    max-width: 64ch;
    margin-bottom: 0;
    font-size: 0.94rem;
    line-height: 1.55;
}

.members-visual {
    position: relative;
    min-height: 260px;
    border-radius: calc(var(--radius-lg) - 8px);
    overflow: hidden;
    border: 1px solid rgba(74, 54, 44, 0.08);
    background:
        linear-gradient(140deg, rgba(125, 36, 51, 0.12), rgba(36, 53, 73, 0.12)),
        linear-gradient(180deg, #f2ece3, #e7ddd1);
}

.members-visual__label {
    position: absolute;
    inset: auto 1.1rem 1.1rem 1.1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255, 252, 248, 0.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 54, 44, 0.1);
}

.members-visual__nodes {
    position: absolute;
    inset: 0;
}

.members-visual__node {
    position: absolute;
    border-radius: 50%;
    background: rgba(125, 36, 51, 0.18);
    border: 1px solid rgba(125, 36, 51, 0.16);
}

.members-visual__node:nth-child(1) {
    width: 110px;
    height: 110px;
    top: 16%;
    left: 12%;
}

.members-visual__node:nth-child(2) {
    width: 72px;
    height: 72px;
    top: 24%;
    right: 18%;
    background: rgba(36, 53, 73, 0.14);
}

.members-visual__node:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 34%;
    background: rgba(181, 141, 83, 0.12);
}

.roster-band {
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.roster-band--single,
.roster-band--pair {
    width: 100%;
    max-width: 100%;
}

.roster-band--single {
    min-width: 0;
}

.roster-band--pair {
    min-width: 0;
}

.roster-band--grid {
    width: 100%;
}

.roster-band__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.45rem;
    padding: 0 0.1rem;
}

.roster-band__header .section-kicker,
.roster-band__header .section-copy {
    display: none;
}

.roster-band__header .section-title {
    font-family: var(--font-sans);
    font-size: 0.96rem;
    line-height: 1.25;
    color: var(--ink-blue);
    letter-spacing: 0.02em;
}

.role-count {
    color: var(--accent-deep);
    padding: 0.22rem 0.55rem;
    background: rgba(255, 255, 255, 0.64);
    border-radius: 999px;
    border: 1px solid rgba(74, 54, 44, 0.08);
    white-space: nowrap;
    font-size: 0.82rem;
    line-height: 1.3;
}

.profile-card {
    --portrait-gap: clamp(0.45rem, calc((100cqw - 16rem) * 0.18), 2.6rem);
    --portrait-width: clamp(52px, 20%, 88px);
    aspect-ratio: 5 / 3;
    padding: clamp(0.66rem, 2.4cqw, 1rem);
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    position: relative;
    min-width: 0;
    overflow-wrap: anywhere;
    container-type: inline-size;
}

.profile-card__summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.profile-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--portrait-width);
    align-items: start;
    column-gap: var(--portrait-gap);
    row-gap: var(--portrait-gap);
    min-width: 0;
    transition:
        column-gap 5s cubic-bezier(0.16, 1, 0.3, 1),
        row-gap 5s cubic-bezier(0.16, 1, 0.3, 1),
        grid-template-columns 5s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card__portrait {
    width: var(--portrait-width);
    aspect-ratio: 2 / 3;
    align-self: center;
    justify-self: end;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(74, 54, 44, 0.1);
    background: linear-gradient(180deg, #eef4fa, #d7e2ee);
    transition:
        width 5s cubic-bezier(0.16, 1, 0.3, 1),
        justify-self 5s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(74, 54, 44, 0.12);
    flex: 0 0 auto;
    background: linear-gradient(180deg, #efe7de, #ddd1c2);
}

.profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.profile-card__name {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.profile-card__subtitle,
.profile-card__meta,
.profile-card__direction,
.profile-card__bio {
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.profile-card .section-kicker {
    margin: 0 0 0.3rem;
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.13em;
    overflow-wrap: anywhere;
}

.profile-card__subtitle {
    margin-top: 0.22rem;
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.profile-card__meta {
    font-size: 0.96rem;
    line-height: 1.45;
}

.profile-card__direction {
    margin-top: 0.34rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.profile-card__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
}

.profile-card__keywords--summary {
    margin-top: 0.42rem;
    flex-direction: column;
    align-items: flex-start;
}

.profile-card__keyword {
    padding: 0.25rem 0.52rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(74, 54, 44, 0.1);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.profile-card__contact {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.46rem;
    border-top: 1px solid rgba(74, 54, 44, 0.08);
    font-size: 0.72rem;
    line-height: 1.4;
}

.profile-card__contact-label {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-weight: 600;
}

.profile-card__contact-value {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.32rem;
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

.profile-card__contact-link {
    min-width: 0;
    color: var(--accent-deep);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.profile-card__contact-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.profile-card__contact-link:focus-visible {
    outline: 2px solid rgba(125, 36, 51, 0.26);
    outline-offset: 2px;
    border-radius: 2px;
}

.profile-card__contact-separator,
.profile-card__contact-placeholder {
    color: var(--text-muted);
    opacity: 0.62;
}

@container (max-width: 10.5rem) {
    .profile-card__top {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-card__portrait {
        justify-self: start;
    }
}

.profile-card__detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.42rem;
}

.profile-card__detail-list li {
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.58;
    overflow-wrap: anywhere;
}

.profile-card__links {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-top: auto;
    min-width: 0;
}

.profile-card__links--compact {
    margin-top: 0.58rem;
}

.profile-card__link {
    color: var(--accent-deep);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.profile-card__details {
    --profile-details-height: 28rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-0.35rem);
    transition:
        max-height 1.15s cubic-bezier(0.16, 1, 0.3, 1),
        padding-top 1.15s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.46s ease,
        opacity 0.46s ease,
        transform 0.46s ease;
    padding-top: 0;
    border-top: 1px solid transparent;
}

.profile-card.is-expanded .profile-card__details {
    max-height: var(--profile-details-height);
    opacity: 1;
    transform: translateY(0);
    padding-top: 0.8rem;
    border-color: rgba(74, 54, 44, 0.08);
    overflow: visible;
    transition:
        max-height 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        padding-top 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.62s ease 0.34s,
        opacity 0.62s ease 0.34s,
        transform 0.62s ease 0.34s;
}

.profile-card__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    background: transparent;
    border: none;
    color: var(--accent-deep);
    padding: 0;
    margin-top: auto;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.35;
    position: relative;
    z-index: 2;
}

.profile-card__toggle::after {
    content: "＋";
    font-size: 0.9em;
}

.profile-card__toggle:focus-visible {
    outline: 2px solid rgba(125, 36, 51, 0.26);
    outline-offset: 4px;
    border-radius: 999px;
}

.profile-card.is-expanded .profile-card__toggle::after {
    content: "－";
}

.join-banner {
    margin-top: 1.5rem;
    padding: 1.4rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.members-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.35rem;
    position: relative;
    align-items: start;
}

.members-layout__content {
    min-width: 0;
}

.members-layout__content .roster-band {
    margin-top: 0.7rem;
}

.members-layout__content .roster-band:first-child {
    margin-top: 0;
}

.members-layout > .members-timeline {
    position: sticky;
    top: 102px;
    width: auto;
    min-width: 0;
    z-index: 5;
}

.members-timeline__card {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    max-height: calc(100vh - 132px);
    overflow-y: auto;
}

.members-timeline__rail {
    position: relative;
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
    padding-left: 1.1rem;
}

.members-timeline__rail::before {
    content: "";
    position: absolute;
    top: 0.2rem;
    bottom: 0.2rem;
    left: 0.36rem;
    width: 1px;
    background: rgba(125, 36, 51, 0.18);
}

.members-timeline__link {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding: 0.55rem 0;
    text-decoration: none;
    color: var(--text-muted);
}

.members-timeline__dot {
    position: relative;
    z-index: 1;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: var(--bg-elevated);
    border: 2px solid rgba(125, 36, 51, 0.28);
}

.members-timeline__copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.members-timeline__copy strong {
    color: var(--text);
    font-size: 0.98rem;
}

.members-timeline__copy span {
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.members-timeline__link:hover,
.members-timeline__link:focus-visible {
    color: var(--accent-deep);
    outline: none;
}

.members-timeline__link:hover .members-timeline__dot,
.members-timeline__link:focus-visible .members-timeline__dot,
.members-timeline__link.is-active .members-timeline__dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 6px var(--accent-soft);
}

.members-timeline__link.is-active .members-timeline__copy strong,
.members-timeline__link.is-active .members-timeline__copy span {
    color: var(--accent-deep);
}

.roster-band {
    scroll-margin-top: 110px;
}

.roster-band.is-spotlight {
    box-shadow: 0 0 0 2px rgba(125, 36, 51, 0.18), 0 20px 44px rgba(48, 31, 25, 0.08);
}

.application-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.application-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1.4rem;
    padding: 1.6rem;
}

.application-hero .hero-copy {
    margin-bottom: 0;
}

.summary-card__items {
    display: grid;
    gap: 0.8rem;
}

.summary-card__item {
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(74, 54, 44, 0.08);
}

.summary-card__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sticky-nav {
    position: sticky;
    top: 102px;
}

.role-panel-stack {
    display: grid;
    gap: 0;
}

.nav-card a {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(74, 54, 44, 0.08);
}

.nav-card a:last-child {
    border-bottom: none;
}

.nav-card a:hover,
.nav-card a:focus-visible {
    color: var(--accent-deep);
    outline: none;
}

.role-panel {
    padding: 1rem 1.15rem;
}

.role-panel-stack .role-panel {
    margin-top: 0;
    border-radius: 0;
}

.role-panel-stack .role-panel:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.role-panel-stack .role-panel:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.role-panel-stack .role-panel + .role-panel {
    border-top: 0;
}

.role-panel .section-kicker {
    margin-bottom: 0.25rem;
}

.role-panel .section-title-row {
    align-items: center;
    margin-bottom: 0;
}

.role-panel .section-title {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.role-panel .section-copy {
    margin: 0.3rem 0 0;
    font-size: 0.98rem;
    line-height: 1.52;
}

.role-panel--collapsible {
    cursor: pointer;
    overflow: hidden;
    scroll-margin-top: 110px;
}

.role-panel--collapsible:focus-visible {
    outline: 2px solid rgba(77, 120, 175, 0.38);
    outline-offset: 3px;
}

.role-panel__toggle {
    flex: 0 0 auto;
    align-self: start;
    border: none;
    background: transparent;
    color: var(--accent-deep);
    cursor: pointer;
    font: inherit;
    font-size: 0.98rem;
    line-height: 1.4;
    padding: 0.1rem 0;
    white-space: nowrap;
}

.role-panel__toggle::after {
    content: "＋";
    display: inline-block;
    margin-left: 0.4rem;
}

.role-panel.is-expanded .role-panel__toggle::after {
    content: "－";
}

.role-panel__details {
    --position-details-height: 48rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-0.35rem);
    transition:
        max-height 1.15s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.46s ease,
        transform 0.46s ease;
}

.role-panel.is-expanded .role-panel__details {
    max-height: var(--position-details-height);
    opacity: 1;
    transform: translateY(0);
    overflow: visible;
    transition:
        max-height 1.35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.62s ease 0.34s,
        transform 0.62s ease 0.34s;
}

.role-panel__grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.75rem;
}

.role-panel__grid .info-card {
    padding: 0.95rem;
}

.role-panel__grid .info-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.role-panel__grid .bullet-list li + li {
    margin-top: 0.28rem;
}

.role-panel__details .cta-row {
    margin-top: 0.9rem;
}

.bullet-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-muted);
}

.bullet-list li + li {
    margin-top: 0.45rem;
}

.timeline {
    position: relative;
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 1px;
    background: rgba(125, 36, 51, 0.18);
}

.step-card {
    position: relative;
    padding-left: 3.2rem;
}

.step-card::before {
    content: attr(data-step);
    position: absolute;
    top: 1.2rem;
    left: 0.9rem;
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.85rem;
}

.faq-list {
    display: grid;
    gap: 0.9rem;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.1rem;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item__body {
    padding: 0 1.1rem 1.1rem;
    color: var(--text-muted);
}

.why-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-badge {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-deep);
    margin-bottom: 0.8rem;
}

.research-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.4rem;
    padding: 1.7rem;
}

.research-hero__visual {
    min-height: 320px;
    border-radius: calc(var(--radius-lg) - 8px);
    border: 1px solid rgba(74, 54, 44, 0.08);
    background:
        linear-gradient(160deg, rgba(36, 53, 73, 0.14), rgba(125, 36, 51, 0.06)),
        linear-gradient(180deg, #ede7df, #e7ddd2);
    overflow: hidden;
    position: relative;
}

.research-hero__mesh,
.theme-illustration__mesh {
    position: absolute;
    inset: 0;
}

.research-hero__mesh svg,
.theme-illustration__mesh svg {
    width: 100%;
    height: 100%;
}

.theme-layout {
    display: grid;
    gap: 1.5rem;
}

.theme-panel {
    padding: 1.35rem;
}

.theme-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 1.4rem;
    align-items: stretch;
}

.theme-block.is-reversed {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.theme-block.is-reversed .theme-content {
    order: 2;
}

.theme-block.is-reversed .theme-illustration {
    order: 1;
}

.theme-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
}

.theme-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

.theme-hook {
    color: var(--accent-deep);
    font-size: 1.02rem;
}

.theme-illustration {
    position: relative;
    min-height: 300px;
    border-radius: calc(var(--radius-md) - 4px);
    overflow: hidden;
    border: 1px solid rgba(74, 54, 44, 0.08);
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(241, 236, 230, 0.92));
}

.capability-strip {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.contact-card__meta {
    display: grid;
    gap: 0.75rem;
    color: var(--text-muted);
}

.metric-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.metric-chip {
    padding: 0.65rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(74, 54, 44, 0.08);
}

.link-inline {
    color: var(--accent-deep);
    text-decoration: none;
}

.link-inline:hover,
.link-inline:focus-visible {
    text-decoration: underline;
    outline: none;
}

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

@media (max-width: 1080px) {
    .application-hero,
    .research-hero,
    .application-layout,
    .theme-block,
    .theme-block.is-reversed {
        grid-template-columns: 1fr;
    }

    .members-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .theme-block.is-reversed .theme-content,
    .theme-block.is-reversed .theme-illustration {
        order: initial;
    }

    .members-layout > .members-timeline {
        position: static;
        transform: none;
        width: auto;
    }

    .members-timeline__card {
        max-height: none;
        overflow: hidden;
    }

    .members-timeline__rail {
        display: flex;
        gap: 0.55rem;
        width: 100%;
        min-width: 0;
        margin-top: 0.8rem;
        padding-left: 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
    }

    .members-timeline__rail::before,
    .members-timeline__dot {
        display: none;
    }

    .members-timeline__link {
        display: block;
        min-width: max-content;
        padding: 0.55rem 0.75rem;
        border: 1px solid rgba(74, 54, 44, 0.08);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.64);
    }

    .members-timeline__copy {
        gap: 0.05rem;
    }

    .members-timeline__copy span {
        display: none;
    }

    .role-panel__grid,
    .why-grid,
    .capability-strip,
    .publication-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .site-header__bar,
    .site-footer__inner,
    .members-hero,
    .application-hero,
    .research-hero {
        gap: 1rem;
    }

    .site-nav {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.9rem);
    }

    .members-hero,
    .application-hero,
    .research-hero,
    .roster-band,
    .theme-panel,
    .role-panel,
    .hero-card {
        padding: 1.15rem;
    }

    .profile-card__avatar {
        width: 82px;
        height: 82px;
    }

    .role-panel__grid,
    .why-grid,
    .capability-strip,
    .publication-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .members-roster-grid[data-grid-count="2"] {
        grid-template-columns: minmax(0, min(100%, 362px));
    }

    .members-roster-grid,
    .members-roster-grid[data-grid-count="1"] {
        grid-template-columns: minmax(0, min(100%, 362px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .role-panel__details,
    .role-panel.is-expanded .role-panel__details {
        transition-duration: 0.01s;
        transition-delay: 0s;
        transform: none;
    }
}

/* Shared bilingual controls */
.site-language-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 44px;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.site-language-toggle button {
    min-width: 2.4rem;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    cursor: pointer;
}

.site-language-toggle button[aria-pressed="true"] {
    color: var(--accent-deep);
    font-weight: 700;
}

.site-language-toggle button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -6px;
}

body[data-language="en"] .site-brand__cn {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    letter-spacing: -0.015em;
}

body[data-language="en"] .site-brand__en {
    max-width: 34ch;
    font-size: 0.66rem;
    letter-spacing: 0.065em;
}

body[data-language="en"] .site-nav__link {
    letter-spacing: 0.015em;
}

@media (max-width: 760px) {
    .site-language-toggle {
        position: absolute;
        top: 0.5rem;
        right: 0.6rem;
    }

    .site-header__bar {
        position: relative;
    }

    body[data-language="en"] .site-brand {
        max-width: calc(100% - 5.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-card__details,
    .profile-card.is-expanded .profile-card__details {
        transition-duration: 0.01s;
        transition-delay: 0s;
        transform: none;
    }
}
