.research-page {
    padding-bottom: 8px;
}

.research-medium {
    padding: 24px 0;
}

.research-medium + .research-medium {
    border-top: 1px solid var(--line);
}

.research-medium-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 13px;
}

.research-medium-heading h2 {
    color: var(--ink);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.research-medium-heading p {
    color: var(--accent);
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.book-grid,
.patent-grid,
.publication-cards {
    display: grid;
    gap: 12px;
}

.book-card,
.patent-card,
.publication-card {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(210px, .55fr);
    gap: clamp(22px, 4vw, 46px);
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: clamp(18px, 2vw, 23px);
    box-shadow: var(--shadow);
    transition: border-color .2s, background .2s, transform .2s;
}

.book-card:hover,
.patent-card:hover,
.publication-card:hover {
    border-color: rgba(8, 126, 148, .46);
    background: #fdfefd;
    transform: translateY(-1px);
}

.book-copy,
.patent-body,
.publication-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.book-copy h3,
.patent-card h3,
.publication-copy h3 {
    max-width: 820px;
    margin-top: 5px;
    color: var(--ink);
    font-size: clamp(1.08rem, 1.55vw, 1.28rem);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.research-meta,
.patent-reference,
.publication-citation {
    margin-top: 5px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: .67rem;
    line-height: 1.5;
}

.book-copy > p:not(.research-meta),
.patent-body > p:not(.publication-type):not(.patent-reference),
.publication-summary,
.publication-authors {
    max-width: 820px;
    margin-top: 8px;
    color: var(--text);
    font-size: .89rem;
    line-height: 1.58;
}

.publication-authors {
    color: var(--ink);
}

.publication-authors .author-self {
    color: var(--accent);
    font-weight: 700;
}

.publication-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.book-copy .publication-tags,
.patent-body .publication-tags {
    margin-top: 10px;
}

.book-links,
.patent-actions,
.publication-actions {
    margin-top: 14px;
}

.book-links a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    padding: 7px 12px;
    font-family: var(--mono);
    font-size: .64rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s, border-color .2s;
}

.book-links a:hover {
    border-color: var(--ink);
    background: var(--ink);
}

.book-cover,
.patent-visual,
.publication-visual {
    position: relative;
    display: flex;
    min-height: 145px;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: linear-gradient(145deg, #eef3ef, #f8faf5);
    padding: 15px;
    isolation: isolate;
}

.book-cover {
    background: linear-gradient(155deg, #203128, #405b48);
}

.book-cover::after,
.patent-visual::after,
.publication-visual::after {
    content: '';
    position: absolute;
    right: -24%;
    bottom: -42%;
    z-index: -1;
    width: 90%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(8, 126, 148, .12);
}

.book-cover span {
    width: 24px;
    height: 2px;
    background: #8dd3dc;
}

.book-cover strong {
    max-width: 170px;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.book-cover small {
    color: rgba(255, 255, 255, .74);
    font-family: var(--mono);
    font-size: .6rem;
}

.patent-visual span,
.visual-index {
    color: var(--accent);
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: .06em;
}

.patent-visual strong {
    color: var(--ink);
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    font-weight: 600;
    letter-spacing: -.06em;
    line-height: .9;
}

.patent-application,
.patent-visual small {
    max-width: 180px;
    color: var(--text);
    font-family: var(--mono);
    font-size: .64rem;
    line-height: 1.45;
}

.patent-application b {
    color: var(--accent);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .025em;
}

.publication-action.secondary {
    background: transparent;
    color: var(--accent);
}

.publication-action.secondary:hover {
    background: var(--accent);
    color: #fff;
}

.publication-action.disabled {
    border-color: var(--line);
    background: var(--raised);
    color: var(--muted);
}

.publication-visual::before {
    content: '';
    position: absolute;
    top: 22%;
    right: 14%;
    z-index: -1;
    width: 42%;
    aspect-ratio: 1;
    border: 1px solid rgba(8, 126, 148, .32);
    border-radius: 50%;
    box-shadow: 0 0 0 20px rgba(8, 126, 148, .04), 0 0 0 40px rgba(8, 126, 148, .03);
}

.publication-visual.has-figure {
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 10px;
}

.publication-visual.has-figure::before,
.publication-visual.has-figure::after {
    content: none;
}

.publication-figure {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: contain;
}

.visual-label {
    max-width: 160px;
    color: var(--ink);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.05;
}

.visual-orbit {
    position: absolute;
    top: 42%;
    left: 14%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.visual-orbit-secondary {
    top: auto;
    right: 30%;
    bottom: 17%;
    left: auto;
    width: 7px;
    height: 7px;
    background: #80a71b;
}

.publication-card.is-pending {
    border-style: dashed;
}

.poster-card .publication-summary {
    display: block;
    overflow: visible;
}

@media (max-width: 720px) {
    .research-medium {
        padding: 20px 0;
    }

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

    .book-card,
    .patent-card,
    .publication-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    .book-cover,
    .patent-visual,
    .publication-visual {
        min-height: 140px;
    }
}
