:root {
    --brand-blue: #0f2345;
    --brand-blue-deep: #0a1630;
    --brand-blue-soft: #23416f;
    --brand-gold: #c7a64a;
    --brand-gold-soft: #efe2b2;
    --bg-page: #f3f5f8;
    --bg-surface: #ffffff;
    --bg-muted: #e9eef5;
    --border: #cfd7e3;
    --border-strong: #9dadc4;
    --text-primary: #142033;
    --text-secondary: #42526a;
    --text-muted: #697a91;
    --link: #0f4c8a;
    --link-hover: #082d56;
    --success: #1a6f52;
    --shadow-soft: 0 10px 24px rgba(15, 35, 69, 0.08);
    --shadow-strong: 0 18px 44px rgba(10, 22, 48, 0.16);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --site-width: 1180px;
    --site-header-height: 124px;
    --section-nav-height: 0px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

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

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

strong {
    color: var(--text-primary);
}

::selection {
    background: rgba(199, 166, 74, 0.26);
    color: var(--text-primary);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    background: var(--brand-gold);
    color: var(--brand-blue-deep);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 22px rgba(10, 22, 48, 0.12);
    transition: box-shadow 0.24s ease, transform 0.24s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 14px 28px rgba(10, 22, 48, 0.18);
}

.brand-bar {
    background: var(--brand-blue);
    color: #fff;
    border-top: 4px solid var(--brand-gold);
}

.brand-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 0;
    transition: padding 0.24s ease;
}

.brand-mark {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.brand-link:hover {
    transform: translateY(-1px);
}

.brand-logo {
    display: block;
    width: auto;
    height: 2.9rem;
}

.brand-unit {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
}

.navbar {
    background: rgba(10, 22, 48, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    width: min(100% - 2.5rem, var(--site-width));
    margin: 0 auto;
    min-height: 4.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: min-height 0.24s ease;
}

.nav-logo {
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav-logo:hover {
    color: #fff;
    transform: translateY(-1px);
}

.nav-logo-name {
    font-size: 1.18rem;
    font-weight: 700;
}

.nav-logo-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.nav-menu a:hover {
    transform: translateY(-1px);
}

.nav-menu a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--brand-gold);
}

.mobile-menu-toggle {
    display: none;
    width: 2.9rem;
    height: 2.9rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.26rem;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.mobile-menu-toggle span {
    width: 1.1rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    background: var(--brand-blue);
    color: #fff;
    padding: 3rem 0 2.85rem;
    border-bottom: 4px solid var(--brand-gold);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
    gap: 2rem;
    align-items: end;
}

.hero-text {
    padding: 0.25rem 0 1rem;
}

.hero-text h1,
.page-title {
    margin: 1rem 0 0.85rem;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2.6rem, 6vw, 4.3rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: 0;
}

.hero-text .title {
    font-size: 1.28rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1rem;
}

.hero-summary,
.hero-text .affiliation,
.page-summary {
    width: 100%;
    max-width: none;
    color: rgba(255, 255, 255, 0.88);
}

.hero-text .affiliation {
    margin-bottom: 1rem;
}

.hero-text .affiliation a {
    color: #fff;
}

.hero-text .email {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-link:hover {
    transform: translateY(-1px);
}

.button-link.primary {
    background: var(--brand-gold);
    color: var(--brand-blue-deep);
    box-shadow: 0 12px 20px rgba(10, 22, 48, 0.18);
}

.button-link.primary:hover {
    color: var(--brand-blue-deep);
}

.button-link.secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-meta li {
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-card {
    width: min(100%, 22rem);
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid rgba(15, 35, 69, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.profile-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(10, 22, 48, 0.2);
    border-color: rgba(199, 166, 74, 0.42);
}

.profile-card:hover img {
    transform: scale(1.02);
}

.profile-card-body {
    padding: 1rem 1.15rem 1.15rem;
}

.profile-card-body h2 {
    margin: 0 0 0.35rem;
    font-size: 1.14rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.profile-card-body p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.page-header {
    padding: 3rem 0 2.85rem;
    background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-soft) 100%);
    color: #fff;
    border-bottom: 4px solid var(--brand-gold);
}

.page-header .page-title {
    font-size: clamp(2.3rem, 5vw, 3.55rem);
    margin-bottom: 0.8rem;
}

.page-home .hero-text h1 {
    font-size: clamp(2.25rem, 5vw, 3.6rem);
}

.page-header .page-summary {
    font-size: 1.06rem;
}

.page-main {
    padding: 0 0 4rem;
}

.section-nav-wrap {
    position: sticky;
    top: var(--site-header-height);
    z-index: 900;
    background: rgba(243, 245, 248, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(207, 215, 227, 0.88);
}

.section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.85rem 0;
}

.section-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-secondary);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.section-nav a:hover {
    transform: translateY(-1px);
    color: var(--brand-blue);
    border-color: rgba(199, 166, 74, 0.72);
    box-shadow: 0 10px 18px rgba(15, 35, 69, 0.08);
}

.section-nav a.is-active,
.section-nav a[aria-current="location"] {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    box-shadow: inset 0 -2px 0 var(--brand-gold);
}

.page-section {
    padding: 2rem 0 0;
}

.page-panel,
.news-item,
.pub-item,
.info-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.page-panel {
    padding: 1.35rem 1.4rem;
}

.page-stack > * + * {
    margin-top: 1.2rem;
}

.section {
    padding: 2.35rem 0;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: calc(var(--site-header-height) + var(--section-nav-height) + 1rem);
}

.section:last-child {
    border-bottom: 0;
}

.section-title {
    margin: 0 0 1rem;
    padding-bottom: 0.55rem;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--brand-blue);
    border-bottom: 2px solid rgba(199, 166, 74, 0.5);
}

.section-content {
    width: 100%;
    max-width: none;
    color: var(--text-secondary);
}

.section-content p {
    margin: 0 0 1rem;
}

.section-content ul,
.section-content ol {
    margin: 0.9rem 0 0 1.25rem;
    padding: 0;
}

.section-content li {
    margin: 0.45rem 0;
}

.key-focus-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.3rem;
}

.info-card {
    padding: 1.15rem 1.2rem;
}

.info-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    color: var(--brand-blue);
}

.info-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.news-item:hover,
.pub-item:hover,
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 35, 69, 0.12);
    border-color: rgba(199, 166, 74, 0.5);
}

.news-list,
.pub-list {
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
}

.news-list {
    display: grid;
    gap: 1rem;
}

.news-item {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.05rem 1.1rem;
}

.news-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.35rem 0.7rem;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.news-text {
    color: var(--text-secondary);
}

.pub-section {
    margin-top: 2.4rem;
}

.pub-section-title {
    margin: 0 0 1rem;
    padding-left: 1rem;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.42rem;
    font-weight: 600;
    color: var(--brand-blue);
    border-left: 4px solid var(--brand-gold);
}

.pub-list {
    display: grid;
    gap: 1rem;
}

.pub-item {
    padding: 1.1rem 1.15rem;
}

.pub-venue {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    margin-bottom: 0.7rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: #edf3fa;
    color: var(--brand-blue);
    font-size: 0.9rem;
    font-weight: 700;
}

.pub-title {
    margin-bottom: 0.45rem;
    color: var(--text-primary);
    font-size: 1.07rem;
    font-weight: 700;
    line-height: 1.5;
}

.pub-authors {
    margin-bottom: 0.45rem;
    color: var(--text-secondary);
}

.pub-details {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: normal;
}

.square {
    list-style: square;
}

.list-label {
    margin: 1rem 0 0.35rem;
    color: var(--brand-blue);
    font-size: 0.98rem;
    font-weight: 700;
}

.grouped-list {
    margin-top: 1rem;
}

.grouped-list:first-child {
    margin-top: 0;
}

.footer {
    background: var(--brand-blue-deep);
    color: rgba(255, 255, 255, 0.82);
    border-top: 4px solid var(--brand-gold);
}

.footer .container {
    padding: 2rem 0 2.4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.footer-title {
    margin: 0 0 0.5rem;
    color: #fff;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer p {
    margin: 0.25rem 0;
}

.footer a {
    color: #fff;
}

.footer-meta {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
}

.footer-note {
    max-width: 40rem;
    margin-top: 0.6rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-header.is-scrolled .brand-bar .container {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.site-header.is-scrolled .nav-container {
    min-height: 4.3rem;
}

.visually-hidden {
    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: 980px) {
    .key-focus-grid,
    .info-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .hero-image {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .brand-bar .container {
        gap: 0.9rem;
    }

    .brand-logo {
        height: 2.5rem;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.85rem);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.6rem;
        background: rgba(10, 22, 48, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-strong);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .section-nav-wrap {
        top: var(--site-header-height);
    }

    .section-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .section-nav a {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 17px;
    }

    .container,
    .nav-container {
        width: min(100% - 1.5rem, var(--site-width));
    }

    .hero,
    .page-header {
        padding-top: 2.4rem;
    }

    .page-home .hero-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        align-items: stretch;
    }

    .page-home .hero-links .button-link {
        width: 100%;
        min-height: 2.7rem;
        padding: 0.58rem 0.8rem;
        font-size: 0.94rem;
    }

    .page-home .hero-links .button-link:last-child {
        grid-column: 1 / -1;
    }

    .section-nav {
        padding: 0.65rem 0;
        gap: 0.45rem;
    }

    .section-nav a {
        min-height: 2.3rem;
        padding: 0.46rem 0.68rem;
        font-size: 0.88rem;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .news-date {
        justify-self: start;
        min-height: 2rem;
        padding: 0.2rem 0.58rem;
        font-size: 0.82rem;
    }

    .key-focus-grid,
    .info-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 1.9rem 0;
    }

    .page-panel,
    .pub-item,
    .news-item,
    .info-card {
        padding: 1rem;
    }

    .hero-links,
    .hero-meta {
        gap: 0.6rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
