:root {
    --research-bg-0: #06080d;
    --research-bg-1: #0c1118;
    --research-bg-2: #516172;
    --research-ink: #f4f7fb;
    --research-text: #e7edf6;
    --research-soft: rgba(231, 237, 246, 0.78);
    --research-dim: rgba(231, 237, 246, 0.54);
    --research-line: rgba(223, 231, 243, 0.1);
    --research-line-strong: rgba(223, 231, 243, 0.18);
    --research-panel: rgba(11, 15, 21, 0.72);
    --research-panel-strong: rgba(18, 24, 32, 0.9);
    --research-panel-deep: rgba(8, 11, 16, 0.9);
    --research-cyan: #78d8ff;
    --research-blue: #7b9bff;
    --research-steel: #aeb9c9;
    --research-radius: 30px;
}

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

body.research-hub-body {
    margin: 0;
    min-height: 100vh;
    color: var(--research-text);
    font-family: "Manrope", system-ui, sans-serif;
    background:
        radial-gradient(circle at 18% 10%, rgba(227, 232, 239, 0.08), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(120, 216, 255, 0.12), transparent 22%),
        radial-gradient(circle at 72% 34%, rgba(123, 155, 255, 0.08), transparent 26%),
        linear-gradient(180deg, var(--research-bg-0) 0%, var(--research-bg-1) 18%, #11161e 52%, #171e27 100%);
}

body.research-hub-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(223, 231, 243, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(223, 231, 243, 0.028) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 88%);
}

body.research-hub-body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.research-main {
    position: relative;
    z-index: 1;
}

.research-wrap {
    width: min(1320px, calc(100vw - 52px));
    margin: 0 auto;
}

.research-eyebrow,
.research-chip,
.research-meta,
.research-link-inline {
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.research-hero {
    padding: 154px 0 42px;
}

.research-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.7fr);
    gap: 24px;
    align-items: stretch;
}

.research-hero-panel,
.research-side-panel,
.research-card,
.research-records,
.research-cross-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--research-line);
    border-radius: var(--research-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
        var(--research-panel);
    backdrop-filter: blur(24px) saturate(1.06);
    -webkit-backdrop-filter: blur(24px) saturate(1.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 72px rgba(0, 0, 0, 0.2);
}

.research-hero-panel,
.research-side-panel {
    min-height: 540px;
}

.research-hero-panel {
    padding: 54px 52px 56px;
}

.research-hero-panel::before,
.research-side-panel::before,
.research-records::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.08), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(120, 216, 255, 0.12), transparent 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 48%);
}

.research-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    color: rgba(223, 231, 243, 0.62);
}

.research-eyebrow::before {
    content: "";
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, rgba(120, 216, 255, 0.88), transparent);
}

.research-title {
    margin: 18px 0 0;
    max-width: 10.4ch;
    font-size: clamp(3.25rem, 6vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
    color: var(--research-ink);
}

.research-title em {
    display: block;
    font-family: "Source Serif 4", serif;
    font-style: italic;
    font-weight: 600;
    color: rgba(223, 231, 243, 0.92);
}

.research-lead {
    margin: 22px 0 0;
    max-width: 61ch;
    font-family: "Source Serif 4", serif;
    font-size: 1.16rem;
    line-height: 1.72;
    color: var(--research-soft);
}

.research-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.research-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.research-action--primary {
    color: #09131d;
    border: 1px solid rgba(120, 216, 255, 0.44);
    background: linear-gradient(135deg, rgba(223, 231, 243, 0.92), rgba(120, 216, 255, 0.46));
}

.research-action--ghost {
    color: rgba(231, 237, 246, 0.9);
    border: 1px solid rgba(223, 231, 243, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.research-side-panel {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.research-side-figure {
    position: relative;
    min-height: 240px;
    border-radius: 22px;
    border: 1px solid rgba(223, 231, 243, 0.08);
    overflow: hidden;
    background:
        radial-gradient(circle at 48% 52%, rgba(123, 155, 255, 0.34), rgba(16, 23, 33, 0.16) 12%, transparent 18%),
        radial-gradient(circle at 48% 52%, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(135deg, rgba(16, 22, 30, 0.2), rgba(16, 22, 30, 0.06));
}

.research-side-figure::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(223, 231, 243, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(223, 231, 243, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
}

.research-side-figure::after {
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    top: 52%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(120, 216, 255, 0), rgba(120, 216, 255, 0.7), rgba(123, 155, 255, 0.74), rgba(120, 216, 255, 0));
    box-shadow: 0 0 24px rgba(123, 155, 255, 0.2);
}

.research-kicker {
    color: rgba(223, 231, 243, 0.56);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.research-side-panel h2,
.research-section-head h2 {
    margin: 10px 0 0;
    max-width: 10ch;
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: var(--research-ink);
}

.research-side-panel p,
.research-section-copy {
    margin: 16px 0 0;
    font-size: 1.02rem;
    line-height: 1.72;
    color: var(--research-soft);
}

.research-meta {
    color: rgba(223, 231, 243, 0.54);
    font-size: 0.68rem;
}

.research-section {
    padding: 20px 0 8px;
}

.research-section + .research-section {
    padding-top: 48px;
}

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

.research-section-head h2 {
    max-width: 12ch;
}

.research-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(223, 231, 243, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(223, 231, 243, 0.68);
    font-size: 0.64rem;
}

.research-grid {
    display: grid;
    gap: 18px;
}

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

.research-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 240px;
    padding: 28px;
}

.research-card--feature {
    grid-column: span 2;
}

.research-card h3,
.research-record-item h3,
.research-cross-card h3 {
    margin: 10px 0 0;
    font-size: 1.55rem;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--research-ink);
}

.research-card p,
.research-record-item p,
.research-cross-card p {
    margin: 12px 0 0;
    color: var(--research-soft);
    line-height: 1.72;
}

.research-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(20, 33, 49, 0.52);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.research-records {
    padding: 26px 28px 18px;
}

.research-record-list {
    display: grid;
    gap: 2px;
    margin-top: 14px;
}

.research-record-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(223, 231, 243, 0.08);
}

.research-record-item:first-child {
    border-top: none;
}

.research-record-item h3 {
    font-size: 1.34rem;
}

.research-record-item h3 a {
    text-decoration: none;
}

.research-link-inline {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    font-size: 0.68rem;
    color: rgba(223, 231, 243, 0.58);
}

.research-cross-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 220px;
    padding: 28px;
    text-decoration: none;
}

.research-cross-card:hover,
.research-card:hover {
    border-color: var(--research-line-strong);
    transform: translateY(-2px);
}

.research-card,
.research-cross-card {
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.research-footer {
    padding-bottom: 96px;
}

@media (max-width: 1100px) {
    .research-hero-grid,
    .research-grid--three,
    .research-grid--two {
        grid-template-columns: 1fr;
    }

    .research-card--feature {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .research-wrap {
        width: min(100vw - 28px, 1320px);
    }

    .research-hero {
        padding-top: 136px;
    }

    .research-hero-panel,
    .research-side-panel,
    .research-card,
    .research-cross-card,
    .research-records {
        border-radius: 24px;
    }

    .research-hero-panel,
    .research-side-panel {
        min-height: auto;
    }

    .research-hero-panel {
        padding: 32px 24px 34px;
    }

    .research-side-panel {
        padding: 20px;
    }

    .research-title {
        font-size: 2.8rem;
        max-width: 9.8ch;
    }

    .research-side-panel h2,
    .research-section-head h2 {
        font-size: 2rem;
        max-width: 12ch;
    }

    .research-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .research-record-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
