:root {
    --research-ink: #2c1915;
    --research-muted: #765c53;
    --research-copper: #b53b1d;
    --research-gold: #e8a23a;
    --research-cream: #fff9f2;
    --research-paper: #fffdf9;
    --research-line: rgba(103, 60, 45, .18);
    --research-indigo: #271f4f;
}

.research-library-page main,
.research-publication-page main {
    background:
        linear-gradient(135deg, rgba(232, 162, 58, .045) 25%, transparent 25%) 0 0 / 280px 280px,
        linear-gradient(315deg, rgba(181, 59, 29, .035) 25%, transparent 25%) 0 0 / 280px 280px,
        var(--research-cream);
    color: var(--research-ink);
}

.research-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 52px 0 92px;
}

.research-kicker {
    margin: 0 0 14px;
    color: var(--research-copper);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.research-library-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 70px;
    min-height: 510px;
    overflow: hidden;
    padding: clamp(54px, 7vw, 86px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 192, 91, .3), transparent 30%),
        linear-gradient(132deg, #1e183e, #31225a 58%, #4f254d);
    box-shadow: 0 30px 70px rgba(47, 29, 44, .17);
    color: #fffaf3;
}

.research-library-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

.research-library-copy .research-kicker {
    color: #ffc568;
}

.research-library-copy h1 {
    max-width: 780px;
    margin: 0 0 24px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 5.3vw, 72px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .99;
}

.research-library-copy > p:last-child {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 250, 243, .76);
    font-size: 18px;
    line-height: 1.75;
}

.research-principles {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.research-principles div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 2px 14px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: rgba(255, 255, 255, .075);
    backdrop-filter: blur(9px);
}

.research-principles span {
    grid-row: 1 / 3;
    color: #ffc568;
    font: 600 17px/1 Georgia, serif;
}

.research-principles strong {
    font-size: 15px;
}

.research-principles small {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.research-orbit {
    position: absolute;
    border: 1px solid rgba(255, 192, 91, .15);
    border-radius: 50%;
}

.research-orbit-one {
    right: -180px;
    bottom: -310px;
    width: 720px;
    height: 720px;
}

.research-orbit-two {
    right: -28px;
    bottom: -152px;
    width: 400px;
    height: 400px;
}

.research-library-list {
    padding: 78px 32px 0;
}

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

.research-section-heading h2 {
    margin: 0;
    font: 500 clamp(38px, 5vw, 56px)/1.05 Georgia, serif;
}

.research-section-heading > p {
    max-width: 460px;
    margin: 0 0 5px;
    color: var(--research-muted);
    line-height: 1.7;
}

.research-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--research-line);
    border-radius: 24px;
    background: rgba(255, 253, 249, .9);
    box-shadow: 0 20px 50px rgba(77, 44, 34, .08);
}

.research-card-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    background:
        radial-gradient(circle, transparent 32%, rgba(255, 194, 92, .18) 32.5%, transparent 33.5%),
        linear-gradient(145deg, var(--research-indigo), #532747);
    color: #fff;
}

.research-card-mark span {
    width: 94px;
    height: 94px;
    border: 1px solid rgba(255, 205, 121, .62);
    border-radius: 50%;
    color: #ffd07f;
    font: 500 31px/92px Georgia, serif;
    text-align: center;
}

.research-card-mark small {
    margin-top: 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.research-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 48px;
}

.research-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--research-copper);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.research-card-meta span:not(:last-child)::after {
    margin-left: 10px;
    color: #c6a298;
    content: '·';
}

.research-card h3 {
    margin: 0 0 7px;
    font: 500 clamp(29px, 3.4vw, 43px)/1.12 Georgia, serif;
}

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

.research-card-subtitle {
    margin: 0 0 18px !important;
    color: var(--research-copper) !important;
    font: italic 18px/1.5 Georgia, serif !important;
}

.research-card-content > p {
    margin: 0;
    color: var(--research-muted);
    line-height: 1.75;
}

.research-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--research-line);
    color: var(--research-muted);
    font-size: 13px;
}

.research-arrow-link {
    color: var(--research-copper);
    font-weight: 800;
    text-decoration: none;
}

.research-paper {
    padding-top: 38px;
}

.research-paper-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 335px;
    gap: clamp(38px, 6vw, 78px);
    overflow: hidden;
    padding: clamp(48px, 7vw, 82px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 10%, rgba(255, 191, 91, .25), transparent 25%),
        linear-gradient(135deg, #211a41, #2f2459 60%, #4f284b);
    box-shadow: 0 28px 70px rgba(48, 30, 47, .18);
    color: #fff;
}

.research-paper-hero::after {
    position: absolute;
    right: -170px;
    bottom: -310px;
    width: 660px;
    height: 660px;
    border: 1px solid rgba(255, 202, 113, .16);
    border-radius: 50%;
    content: '';
}

.research-paper-hero-copy,
.research-cover-card {
    position: relative;
    z-index: 2;
}

.research-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 38px;
    color: rgba(255, 255, 255, .52);
    font-size: 12px;
}

.research-paper-hero .research-breadcrumbs a {
    color: rgba(255, 255, 255, .74);
    text-decoration: none;
}

.research-paper-hero .research-kicker {
    color: #ffc568;
}

.research-paper-hero h1 {
    max-width: 790px;
    margin: 0 0 14px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(45px, 5.4vw, 72px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
}

.research-paper-subtitle {
    margin: 0 0 26px;
    color: #ffd086;
    font: italic clamp(18px, 2vw, 23px)/1.5 Georgia, serif;
}

.research-paper-abstract {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 16px;
    line-height: 1.78;
}

.research-paper-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.research-primary-action,
.research-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.research-primary-action {
    background: #f7a72c;
    color: #2a1c18;
}

.research-secondary-action {
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
}

.research-cover-card {
    align-self: center;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.research-cover-symbol {
    position: relative;
    display: grid;
    width: 148px;
    height: 148px;
    margin: 0 auto 28px;
    place-items: center;
}

.research-cover-ring {
    position: absolute;
    border: 1px solid rgba(255, 198, 104, .44);
    border-radius: 50%;
}

.research-cover-ring.ring-one {
    inset: 0;
}

.research-cover-ring.ring-two {
    inset: 22px;
}

.research-cover-core {
    color: #ffcb75;
    font: 500 40px/1 Georgia, serif;
}

.research-cover-card dl {
    margin: 0;
}

.research-cover-card dl div {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid rgba(255, 255, 255, .11);
}

.research-cover-card dt {
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.research-cover-card dd {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    line-height: 1.5;
}

.research-cover-card a {
    color: #ffd086;
}

.research-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 24px 0 68px;
    overflow: hidden;
    border: 1px solid var(--research-line);
    border-radius: 15px;
    background: rgba(255, 253, 249, .91);
}

.research-trust-strip div {
    padding: 20px 22px;
}

.research-trust-strip div + div {
    border-left: 1px solid var(--research-line);
}

.research-trust-strip strong,
.research-trust-strip span {
    display: block;
}

.research-trust-strip strong {
    margin-bottom: 4px;
    color: var(--research-copper);
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.research-trust-strip span {
    color: var(--research-muted);
    font-size: 12px;
    line-height: 1.45;
}

.research-paper-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 790px);
    justify-content: center;
    gap: clamp(42px, 7vw, 86px);
}

.research-paper-sidebar {
    position: relative;
}

.research-sidebar-card {
    position: sticky;
    top: 105px;
    padding: 22px;
    border: 1px solid var(--research-line);
    border-radius: 16px;
    background: rgba(255, 253, 249, .92);
}

.research-sidebar-card nav {
    display: flex;
    flex-direction: column;
}

.research-sidebar-card nav a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(103, 60, 45, .1);
    color: var(--research-muted);
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
}

.research-sidebar-card nav a:hover {
    color: var(--research-copper);
}

.research-sidebar-download {
    display: block;
    margin-top: 18px;
    padding: 11px 13px;
    border-radius: 8px;
    background: #f9e8d9;
    color: var(--research-copper);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.research-paper-content {
    min-width: 0;
    color: #432d27;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.82;
}

.research-paper-content h2,
.research-paper-content h3 {
    scroll-margin-top: 110px;
    color: var(--research-ink);
    letter-spacing: -.025em;
}

.research-paper-content h2 {
    margin: 74px 0 22px;
    padding-top: 18px;
    border-top: 1px solid var(--research-line);
    font-size: clamp(31px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.15;
}

.research-paper-content h2:first-child {
    margin-top: 0;
}

.research-paper-content h3 {
    margin: 42px 0 12px;
    color: #5b3025;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.research-paper-content p {
    margin: 0 0 24px;
}

.research-paper-content > h2 + p::first-letter {
    float: left;
    margin: 8px 8px 0 0;
    color: var(--research-copper);
    font-size: 58px;
    line-height: .72;
}

.research-paper-content a {
    color: #9e321c;
    overflow-wrap: anywhere;
    text-decoration-color: rgba(158, 50, 28, .35);
    text-underline-offset: 3px;
    word-break: break-word;
}

.research-paper-content ul,
.research-paper-content ol {
    margin: 0 0 28px;
    padding-left: 25px;
}

.research-paper-content li {
    margin-bottom: 10px;
    padding-left: 6px;
}

.research-paper-content strong {
    color: #36201a;
}

.research-paper-content hr {
    margin: 52px 0;
    border: 0;
    border-top: 1px solid var(--research-line);
}

.research-citation-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 38px;
    margin: 80px auto 0;
    padding: 34px 38px;
    border: 1px solid var(--research-line);
    border-radius: 18px;
    background: #f9eadf;
}

.research-citation-panel p:last-child {
    margin: 0;
    color: #583b33;
    font: 15px/1.7 Georgia, serif;
}

.research-citation-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 165px;
}

.research-citation-links a {
    padding: 7px 0;
    color: var(--research-copper);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 980px) {
    .research-library-hero,
    .research-paper-hero {
        grid-template-columns: 1fr;
    }

    .research-library-hero {
        gap: 36px;
    }

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

    .research-principles div {
        display: block;
    }

    .research-principles span,
    .research-principles strong,
    .research-principles small {
        display: block;
        margin-bottom: 7px;
    }

    .research-cover-card {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 20px;
    }

    .research-cover-symbol {
        margin-bottom: 0;
    }

    .research-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .research-trust-strip div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--research-line);
    }

    .research-trust-strip div:nth-child(4) {
        border-top: 1px solid var(--research-line);
    }

    .research-paper-layout {
        grid-template-columns: 1fr;
    }

    .research-paper-sidebar {
        display: none;
    }
}

@media (max-width: 720px) {
    .research-shell {
        width: min(100% - 24px, 1180px);
        padding: 22px 0 58px;
    }

    .research-library-hero,
    .research-paper-hero {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .research-library-copy h1,
    .research-paper-hero h1 {
        font-size: 40px;
        line-height: 1.03;
    }

    .research-principles {
        grid-template-columns: 1fr;
    }

    .research-library-list {
        padding: 52px 4px 0;
    }

    .research-section-heading,
    .research-card-footer,
    .research-citation-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .research-section-heading {
        display: flex;
    }

    .research-card {
        grid-template-columns: 1fr;
    }

    .research-card-mark {
        min-height: 180px;
    }

    .research-card-content {
        padding: 30px 24px;
    }

    .research-card-meta {
        gap: 7px;
    }

    .research-cover-card {
        display: block;
    }

    .research-cover-symbol {
        margin-bottom: 24px;
    }

    .research-trust-strip {
        grid-template-columns: 1fr;
        margin-bottom: 44px;
    }

    .research-trust-strip div + div,
    .research-trust-strip div:nth-child(3) {
        border-top: 1px solid var(--research-line);
        border-left: 0;
    }

    .research-paper-content {
        padding: 0 8px;
        font-size: 17px;
        line-height: 1.78;
    }

    .research-paper-content h2 {
        margin-top: 56px;
        font-size: 32px;
    }

    .research-citation-panel {
        display: flex;
        margin-top: 58px;
        padding: 28px 24px;
    }
}

@media print {
    .research-paper-sidebar,
    .research-paper-actions,
    .research-trust-strip,
    .research-citation-panel,
    body > header,
    body > footer {
        display: none !important;
    }

    .research-shell,
    .research-paper-layout {
        width: 100%;
        padding: 0;
    }
}
