@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
    --bg: #eff0f8;
    --paper: #f5f5fb;
    --ink: #30323e;
    --muted: #656777;
    --line: #dedfe9;
    --accent: #e90046;
    --accent-hover: #bf0039;
    --max: 1120px;
    --background: #fbfbfb;
    --second-background: #f7f7f7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.8 'DM Sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
}

::selection {
    background: var(--accent);
    color: white;
}

.skip {
    position: absolute;
    top: -100px;
    background: white;
    padding: 12px;
    z-index: 9;
}

.skip:focus {
    top: 10px;
}

.frame {
    /* max-width: 1440px;
    margin: 48px auto; */
    background: var(--background);
    box-shadow: 0 24px 90px #30355215;
    overflow: hidden;
}

.container {
    width: min(var(--max), calc(100% - 100px));
    margin: auto;
}

.hero-shell {
    position: relative;
    isolation: isolate;
}

.hero-shell:before {
    content: '';
    position: absolute;
    width: 330px;
    height: 330px;
    right: 80px;
    top: 110px;
    background: #d3d5e855;
    filter: blur(65px);
    border-radius: 50%;
    z-index: -1;
}

header {
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    font-family: Manrope, sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.brand span {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a,
.eyebrow,
.micro,
.button,
.text-link,
.label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

nav a {
    font-size: 10px;
    letter-spacing: 1.2px;
    transition: color 0.15s ease;
}

nav a.active,
nav a:hover {
    color: var(--accent);
}

nav .button.active {
    color: var(--paper);
}

.header-note {
    font-size: 10px;
    color: var(--muted);
    white-space: nowrap;
}

.header-note i {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 7px;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: none;
    padding: 7px 12px;
    color: var(--ink);
}

.hero {
    min-height: 600px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    position: relative;
}

.hero-copy {
    padding: 20px 0 100px 48px;
    z-index: 2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--muted);
    margin: 0 0 20px;
}

.eyebrow:before {
    content: '';
    width: 30px;
    height: 1px;
    background: currentColor;
}

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

h1,
h2,
h3 {
    font-family: Manrope, sans-serif;
}

h1 {
    font-size: clamp(42px, 4.5vw, 65px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.16;
    margin-bottom: 18px;
}

h1 em {
    font-style: normal;
    color: var(--accent);
}

.role {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 17px;
}

.intro {
    max-width: 365px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.actions {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    background: var(--accent);
    color: white;
    padding: 15px 23px;
    border: 1px solid var(--accent);
    font-size: 10px;
    letter-spacing: 1.3px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.button:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.button.outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.button.outline:hover {
    border-color: var(--ink);
}

.text-link {
    font-size: 10px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: color 0.15s ease;
}

.text-link:hover {
    color: var(--accent);
}

.portrait {
    align-self: stretch;
    position: relative;
    min-width: 0;
    margin: 22px 0 0;
}

.portrait:before {
    content: '';
    position: absolute;
    inset: 70px -12px 35px -30px;
    background: repeating-linear-gradient(145deg, #d4d5e3 0 9px, transparent 10px 20px);
    clip-path: polygon(20% 20%, 87% 0, 72% 20%, 100% 15%, 83% 45%, 100% 43%, 77% 67%, 93% 75%, 35% 100%, 0 92%, 15% 70%, 0 75%);
    opacity: .65;
}

.portrait img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    /* filter: grayscale(1); */
    mix-blend-mode: multiply;
    mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 94%, transparent 100%);
    border-radius: 45% 45% 0 0;
}

.portrait-label {
    position: absolute;
    bottom: 24px;
    right: 15px;
    font-size: 10px;
    letter-spacing: 1px;
    background: #f5f5fbe8;
    padding: 4px 10px;
    color: var(--muted);
}

.profile-portrait {
    width: 100%;
    max-width: 380px;
    height: 480px;
    min-height: 480px;
    margin: 0 0 24px 0;
    position: relative;
    display: block;
}

@media (max-width: 768px) {
    .profile-portrait {
        max-width: 320px;
        height: 400px;
        min-height: 400px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 480px) {
    .profile-portrait {
        max-width: 280px;
        height: 350px;
        min-height: 350px;
    }
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 30px;
    font-size: 10px;
    color: var(--muted);
}

.socials {
    display: flex;
    gap: 24px;
}

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

.scroll {
    letter-spacing: 2px;
    font-size: 10px;
    text-transform: uppercase;
}

.scroll span {
    margin-left: 20px;
    color: var(--accent);
    font-size: 18px;
}

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

.section-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.section-top h2 {
    margin: 0;
}

h2 {
    font-size: 36px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -1.4px;
}

.section-number {
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 14px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 90px;
}

.about-text {
    color: var(--muted);
    font-size: 14px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.profile-facts {
    display: flex;
    gap: 40px;
    margin-top: 28px;
}

.profile-facts span {
    display: block;
    font-size: 10px;
    letter-spacing: 1.3px;
    color: var(--muted);
    text-transform: uppercase;
}

.profile-facts strong {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.research-card {
    border-top: 1px solid var(--ink);
    padding-top: 24px;
    position: relative;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.research-card:hover {
    transform: translateY(-2px);
}

.research-card .index {
    font-size: 11px;
    color: var(--muted);
}

.research-card h3 {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -.6px;
    margin: 30px 0 14px;
}

.research-card p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px;
}

.tag {
    font-size: 10px;
    letter-spacing: .7px;
    padding: 5px 9px;
    border: 1px solid var(--line);
    display: inline-block;
    margin: 0 4px 4px 0;
    color: var(--ink);
}

.research-card .arrow {
    position: absolute;
    right: 3px;
    top: 18px;
    font-size: 23px;
    color: var(--accent);
}

.publication-section {
    background: var(--second-background);
}

.tools {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.tools input {
    flex: 1;
    min-width: 0;
}

.tools input,
.tools select {
    background: transparent;
    border: 1px solid #c9ccd9;
    border-radius: 0;
    padding: 11px 15px;
    color: var(--ink);
    font-size: 12px;
}

.publication {
    display: grid;
    grid-template-columns: 75px 1fr 40px;
    gap: 25px;
    padding: 29px 0;
    border-bottom: 1px solid #d4d7e2;
    align-items: start;
}

.year {
    font-size: 15px;
    color: var(--muted);
    font-family: Manrope, sans-serif;
}

.pub-type {
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.publication h3 {
    font-size: 19px;
    line-height: 1.6;
    letter-spacing: -.4px;
    margin-bottom: 7px;
    max-width: 760px;
}

.publication p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.detail-button {
    border: 0;
    background: none;
    font-size: 24px;
    color: var(--ink);
    padding: 0 8px;
    transition: color 0.15s ease;
}

.detail-button:hover {
    color: var(--accent);
}

.demo-note {
    font-size: 11px;
    color: var(--muted);
    margin: 16px 0 0;
}

.empty {
    padding: 30px 0;
    color: var(--muted);
}

.teaching {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 90px;
}

.teaching p {
    font-size: 13px;
    color: var(--muted);
    max-width: 350px;
}

.course {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
    gap: 20px;
    cursor: pointer;
}

.course:first-child {
    padding-top: 0;
}

.course h3 {
    font-size: 17px;
    margin: 0 0 4px;
    letter-spacing: -.4px;
}

.course span {
    font-size: 10px;
    color: var(--muted);
}

.course button {
    border: 0;
    background: none;
    font-size: 20px;
}

.course:hover h3 {
    color: var(--accent);
}

.journal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.article-card {
    display: block;
    text-align: left;
    border: 0;
    background: none;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

.article-art {
    height: 200px;
    background: #e0e3ed;
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-art.one {
    background: repeating-linear-gradient(90deg, #e0e3ed 0 49px, #d0d4e1 50px 51px);
}

.article-art.one:before {
    content: 'Aa';
    font-family: Georgia, serif;
    font-size: 135px;
    letter-spacing: -15px;
    color: #474d63;
    transform: rotate(-12deg);
}

.article-art.two {
    background: #e5dfdf;
}

.article-art.two:before {
    content: '';
    height: 240px;
    width: 240px;
    border: 1px solid #b8a9ac;
    border-radius: 50%;
    box-shadow: 0 0 0 24px #e5dfdf, 0 0 0 25px #b8a9ac, 0 0 0 49px #e5dfdf, 0 0 0 50px #b8a9ac;
    transform: translate(65px, 75px);
}

.article-card .micro {
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 21px;
    letter-spacing: -.5px;
    line-height: 1.5;
    margin-bottom: 12px;
    transition: color 0.15s ease;
}

.article-card:hover h3 {
    color: var(--accent);
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
}

.contact h2 {
    font-size: 43px;
    max-width: 570px;
}

.contact h2 span {
    color: var(--accent);
}

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

/* Contact Form Extension */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--second-background);
    padding: 32px;
    border: 1px solid var(--line);
}

.contact-form form {
    display: flex;
    flex-flow: column nowrap;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: var(--background);
    border: 1px solid var(--line);
    padding: 12px 14px;
    color: var(--ink);
    font-size: 13px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--accent);
    outline: none;
}

.form-error {
    font-size: 11px;
    color: var(--accent);
}

.form-success {
    background: #e6f4ea;
    border: 1px solid #34a853;
    color: #137333;
    padding: 16px;
    font-size: 13px;
    margin-bottom: 15px;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 10px;
}

dialog {
    width: min(580px, calc(100% - 35px));
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 40px;
    color: var(--ink);
    box-shadow: 0 20px 100px #20233630;
}

dialog::backdrop {
    background: #24263866;
    backdrop-filter: blur(5px);
}

dialog h2 {
    font-size: 26px;
    margin: 20px 0;
}

dialog p {
    color: var(--muted);
    font-size: 14px;
}

.dialog-close {
    float: right;
    background: none;
    border: 0;
    font-size: 24px;
    color: var(--ink);
}

[hidden] {
    display: none !important;
}

@media(min-width: 1600px) {
    .frame {
        /* margin: 65px auto; */
    }
}

@media(max-width: 1200px) {
    .frame {
        margin: 24px;
    }

    .container {
        width: calc(100% - 70px);
    }

    nav {
        gap: 17px;
    }

    .header-note {
        display: none;
    }

    .hero-copy {
        padding-left: 10px;
    }

    .hero {
        min-height: 540px;
    }

    h1 {
        font-size: 52px;
    }
}

@media(max-width: 900px) {
    .container {
        width: calc(100% - 48px);
    }

    .frame {
        margin: 16px;
    }

    header {
        height: 85px;
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        padding: 20px;
        background: var(--paper);
        border: 1px solid var(--line);
        z-index: 5;
        flex-wrap: wrap;
    }

    nav.open {
        display: flex;
        z-index: 99;
    }

    .hero {
        min-height: 460px;
    }

    .hero-copy {
        padding: 20px 0 65px;
    }

    h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .intro {
        font-size: 12px;
    }

    .actions {
        gap: 15px;
    }

    .portrait {
        margin-top: 10px;
    }

    .about-grid,
    .teaching {
        gap: 40px;
    }

    .research-grid {
        gap: 20px;
    }

    .research-card h3 {
        font-size: 17px;
    }

    .section {
        padding: 65px 0;
    }

    h2 {
        font-size: 30px;
    }

    .contact h2 {
        font-size: 34px;
    }

    .contact {
        gap: 20px;
    }

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

    .button {
        padding: 13px 18px;
        white-space: nowrap;
    }
}

@media(max-width: 600px) {
    .frame {
        margin: 0;
        box-shadow: none;
    }

    .container {
        width: calc(100% - 40px);
    }

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

    .hero-copy {
        padding: 48px 0 20px;
    }

    h1 {
        font-size: 48px;
    }

    .intro {
        max-width: 330px;
        font-size: 13px;
    }

    .portrait {
        height: 340px;
        align-self: center;
        width: 310px;
        max-width: 100%;
        margin-top: 20px;
    }

    .portrait img {
        object-position: 50% 26%;
    }

    .hero-bottom {
        padding-top: 20px;
    }

    .socials {
        gap: 17px;
        font-size: 10px;
    }

    .scroll {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .scroll span {
        margin-left: 5px;
    }

    .section {
        padding: 50px 0;
    }

    .about-grid,
    .teaching {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .profile-facts {
        gap: 30px;
    }

    .research-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .research-card h3 {
        margin-top: 15px;
        font-size: 21px;
    }

    .research-card p {
        max-width: 360px;
    }

    .section-top {
        align-items: start;
        gap: 16px;
    }

    .section-top>.text-link {
        margin-top: 5px;
        font-size: 9px;
        max-width: 100px;
    }

    .publication {
        grid-template-columns: 40px 1fr 22px;
        gap: 12px;
    }

    .publication h3 {
        font-size: 16px;
    }

    .year {
        font-size: 12px;
    }

    .tools {
        flex-wrap: wrap;
    }

    .tools input {
        flex-basis: 100%;
    }

    .tools select {
        width: 100%;
    }

    .journal-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .article-art {
        height: 190px;
    }

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

    .contact h2 {
        font-size: 35px;
    }

    .footer {
        flex-wrap: wrap;
    }

    .footer .brand {
        font-size: 21px;
    }

    .footer p {
        max-width: 230px;
    }

    .footer-links {
        width: 100%;
        flex-flow: row wrap;
        gap: 10px;
    }

    dialog {
        padding: 25px;
    }
}

/* ==========================================================================
   Sub-pages & Academic Modules Styling
   ========================================================================== */

.page-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--line);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 16px;
}

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

.breadcrumb span.sep {
    color: var(--line);
}

.page-title {
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
}

.page-lead {
    font-size: 16px;
    color: var(--muted);
    max-width: 720px;
    line-height: 1.8;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--line);
    color: var(--ink);
}

.badge-accent {
    border-color: var(--accent);
    color: var(--accent);
    background: #e9004610;
}

.badge-open-access {
    border-color: #2e7d32;
    color: #2e7d32;
    background: #2e7d3210;
}

/* Timeline */
.timeline {
    position: relative;
    border-left: 1px solid var(--line);
    margin-left: 10px;
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.timeline-item {
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--accent);
}

.timeline-period {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin-bottom: 4px;
}

.timeline-inst {
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

/* Editorial Content / Prose */
.prose {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink);
    max-width: 750px;
}

.prose p {
    margin-bottom: 24px;
}

.prose h2 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}

.prose h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.prose ul,
.prose ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.prose li {
    margin-bottom: 8px;
}

.prose blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 28px 0;
    color: var(--muted);
    font-style: italic;
}

.prose img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px 0;
    border: 1px solid var(--line);
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

/* BibTeX & Citation Box */
.citation-box {
    background: #eef0f8;
    border: 1px solid var(--line);
    padding: 24px;
    margin: 24px 0;
}

.citation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.citation-text {
    font-family: monospace;
    font-size: 12px;
    color: var(--ink);
    background: var(--paper);
    padding: 16px;
    border: 1px solid var(--line);
    white-space: pre-wrap;
    overflow-x: auto;
}

/* Filter Navigation */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.filter-tab {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-tab:hover,
.filter-tab.active {
    border-color: var(--accent);
    color: var(--accent);
    background: #e9004608;
}

/* Academic Links */
.academic-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.academic-link-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink);
    transition: all 0.15s ease;
}

.academic-link-badge:hover {
    border-color: var(--accent);
    color: var(--accent);
}
/* Pagination Navigation */
.pagination-wrapper {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-info {
    font-size: 12px;
    color: var(--muted);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-btn,
.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 14px;
    border: 1px solid var(--line);
    background: var(--background, #fff);
    color: var(--ink);
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1;
}

.pagination-page {
    min-width: 36px;
    padding: 8px 10px;
}

.pagination-btn:hover:not(.disabled),
.pagination-page:hover:not(.active) {
    border-color: var(--ink);
    color: var(--accent);
}

.pagination-page.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    cursor: default;
    font-weight: 700;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: transparent;
}

.pagination-ellipsis {
    color: var(--muted);
    padding: 0 4px;
    font-size: 13px;
}

@media(max-width: 600px) {
    .pagination-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

    * {
        transition: none !important;
    }
}