:root {
    --page-bg: #f7f5f0;
    --paper: #fffefb;
    --ink: #1b1b1b;
    --muted: #535353;
    --rule: #d8d3c8;
    --accent: #1f3a5f;
    --llmind: #ff405b;
    --max-width: 980px;
    --chart-c1: #3a7ec8;
    --chart-c2: #2e9e5e;
    --chart-c3: #d4621a;
    --chart-c4: #a83d91;
    --chart-c5: #b06a00;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--ink);
    font-family: "Source Sans 3", sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site {
    min-height: 100vh;
}

.masthead {
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
    position: relative;
    overflow: hidden;
}

.masthead::before {
    content: "";
    position: absolute;
    inset: -15% auto auto -8%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 58, 95, 0.08), transparent 68%);
    animation: drift 14s ease-in-out infinite;
    pointer-events: none;
}

.masthead::after {
    content: "";
    position: absolute;
    inset: auto -10% -18% auto;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 164, 190, 0.14), transparent 70%);
    animation: drift 18s ease-in-out infinite reverse;
    pointer-events: none;
}

.masthead__inner,
.content,
.footer {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

.masthead__inner {
    padding: clamp(40px, 6vw, 54px) 0 clamp(28px, 4vw, 34px);
    text-align: center;
    position: relative;
    z-index: 1;
}

.venue {
    margin: 0 0 10px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.venue span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    animation: shimmer 6s ease-in-out infinite;
}

.venue span::before,
.venue span::after {
    content: "";
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 58, 95, 0.5));
}

.venue span::after {
    background: linear-gradient(90deg, rgba(31, 58, 95, 0.5), transparent);
}

.title,
.section__header h2 {
    font-family: "Crimson Text", serif;
    font-weight: 600;
}

.title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1.6vw, 16px);
    font-size: clamp(2.0rem, 4.0vw, 3.4rem);
    line-height: 1;
    text-shadow: 0 6px 18px rgba(31, 58, 95, 0.08);
    color: var(--accent);
    flex-wrap: wrap;
    justify-content: center;
}

.title__icon {
    display: block;
    width: clamp(40px, 5vw, 64px);
    height: clamp(40px, 5vw, 64px);
    object-fit: contain;
    margin-right: clamp(-10px, -1vw, -15px);
    margin-top: clamp(-12px, -1.4vw, -20px);
}

.title-rule {
    width: min(180px, 42%);
    height: 1px;
    margin: 18px auto 16px;
    background: linear-gradient(90deg, transparent 0%, rgba(31, 58, 95, 0.28) 18%, rgba(31, 58, 95, 0.8) 50%, rgba(31, 58, 95, 0.28) 82%, transparent 100%);
    position: relative;
    transform-origin: center;
    animation: breathe 4.8s ease-in-out infinite;
}

.title-rule::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(31, 58, 95, 0.7);
    background: var(--paper);
    transform: translate(-50%, -50%) rotate(45deg);
}

.subtitle {
    max-width: 760px;
    margin: 12px auto 0;
    font-family: "Crimson Text", serif;
    font-size: clamp(1.1rem, 2.2vw, 1.8rem);
    line-height: 1.35;
    padding: 0 8px;
}

.authors {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 20px 16px;
    margin-top: 22px;
    font-size: 1.04rem;
}

.author-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 170px;
    max-width: 210px;
    min-width: 150px;
    color: var(--ink);
    text-align: center;
    transition: transform 220ms ease, color 220ms ease;
    animation: portraitFloat 5.6s ease-in-out infinite;
}

.author-pill:hover {
    text-decoration: none;
    transform: translateY(-4px);
    color: var(--accent);
}

.author-mark {
    display: inline-block;
    margin-left: 0.08em;
    font-family: "Crimson Text", serif;
    font-size: 0.8em;
    line-height: 1;
    font-weight: 600;
    vertical-align: 0.45em;
}

.author-pill__photo-frame {
    width: clamp(84px, 11vw, 100px);
    height: clamp(84px, 11vw, 100px);
    border-radius: 50%;
    overflow: hidden;
    background: #000;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    transition: box-shadow 220ms ease;
}

.author-pill__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translate(var(--photo-offset-x, 0%), var(--photo-offset-y, 0%)) scale(var(--photo-scale, 1));
    transform-origin: center;
}

.author-pill:nth-child(2) {
    animation-delay: 0.7s;
}

.author-pill:nth-child(3) {
    animation-delay: 1.4s;
}

.author-pill:nth-child(4) {
    animation-delay: 2.1s;
}

.author-pill:hover .author-pill__photo-frame {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.affiliation {
    margin: 12px 0 0;
    color: var(--muted);
    font-family: "Crimson Text", serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    padding: 0 10px;
}

.affiliation a {
    color: var(--accent);
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
    display: inline-block;
}

.affiliation a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px 18px;
    margin-top: 26px;
    font-size: 1rem;
    font-weight: 600;
}

.links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 108px;
    padding: 4px 8px;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    transition: transform 220ms ease, color 220ms ease;
}

.links a:hover {
    text-decoration: none;
    border-color: currentColor;
    transform: translateY(-4px);
}

.link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(56px, 8vw, 64px);
    height: clamp(56px, 8vw, 64px);
    border: 1px solid currentColor;
    border-radius: 12px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 14px 26px rgba(31, 58, 95, 0.1);
    transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
    animation: iconBob 5s ease-in-out infinite;
}

.link-icon__svg {
    width: clamp(28px, 4vw, 34px);
    height: clamp(28px, 4vw, 34px);
}

.links a:nth-child(2) .link-icon {
    animation-delay: 0.7s;
}

.links a:nth-child(3) .link-icon {
    animation-delay: 1.4s;
}

.links a:nth-child(4) .link-icon {
    animation-delay: 2.1s;
}

.links a:hover .link-icon {
    transform: scale(1.06);
    box-shadow: 0 18px 32px rgba(31, 58, 95, 0.16);
    background: rgba(31, 58, 95, 0.05);
}

.author-footnote {
    margin: 18px 0 0;
    color: var(--muted);
    font-family: "Crimson Text", serif;
    font-size: 1rem;
}

.author-footnote sup {
    vertical-align: 0.15em;
}

.author-mark--footnote {
    margin-left: 0;
    margin-right: 0.12em;
    font-size: 0.95em;
}

.content {
    padding: clamp(26px, 4vw, 34px) 0 clamp(40px, 6vw, 56px);
}

.section {
    padding: 0 0 clamp(22px, 3vw, 30px);
    margin-bottom: clamp(22px, 3vw, 30px);
    border-bottom: 1px solid var(--rule);
    transition: transform 300ms ease, opacity 300ms ease;
}

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

.section__header {
    margin-bottom: 16px;
}

.section__header h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.1;
}

.lead,
.body-text,
.contributions,
.results-table {
    font-size: clamp(1rem, 1.4vw, 1.08rem);
}

.lead,
.body-text {
    margin: 0;
    text-align: justify;
}

.section--question {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.research-question {
    width: 100%;
    padding: clamp(20px, 3.2vw, 30px);
    border: 1px solid rgba(31, 58, 95, 0.16);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(31, 58, 95, 0.06), rgba(255, 64, 91, 0.04)),
        var(--paper);
    box-shadow: 0 18px 42px rgba(31, 58, 95, 0.08);
}

.research-question__eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.research-question__text {
    margin: 0;
    font-family: "Crimson Text", serif;
    font-size: clamp(1.18rem, 2.1vw, 1.55rem);
    line-height: 1.3;
    /* text-wrap: balance; */
    text-align: justify;
}

.overview-intro {
    margin-top: 12px;
}

.content-stack {
    display: grid;
    gap: 22px;
}

.info-panel {
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(31, 58, 95, 0.14);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 64, 91, 0.08), transparent 28%),
        linear-gradient(145deg, rgba(31, 58, 95, 0.06), rgba(31, 58, 95, 0.015)),
        var(--paper);
    box-shadow: 0 18px 44px rgba(31, 58, 95, 0.07);
}

.info-panel--process {
    padding-top: clamp(18px, 2.6vw, 24px);
    padding-bottom: clamp(18px, 2.6vw, 24px);
}

.section-eyebrow,
.section-kicker {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.panel-title {
    margin: 0;
    font-family: "Crimson Text", serif;
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    line-height: 1.25;
}

.panel-text {
    margin: 14px 0 0;
    font-size: clamp(1rem, 1.45vw, 1.08rem);
    color: var(--muted);
    text-align: justify;
}

.media-frame {
    margin: 18px 0 0;
    border: 1px solid rgba(31, 58, 95, 0.14);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 30px rgba(31, 58, 95, 0.06);
}

.media-frame__image {
    display: block;
    width: 100%;
    height: auto;
}

.media-frame--video {
    background: #0d1017;
}

.media-frame__video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    background: #0d1017;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    padding: clamp(18px, 2.8vw, 24px);
    border: 1px solid rgba(31, 58, 95, 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 240, 0.92));
    box-shadow: 0 14px 30px rgba(31, 58, 95, 0.06);
}

.info-card--accent {
    background:
        linear-gradient(180deg, rgba(31, 58, 95, 0.08), rgba(31, 58, 95, 0.03)),
        var(--paper);
}

.card-kicker {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.card-title {
    margin: 0 0 12px;
    font-size: clamp(1.16rem, 1.8vw, 1.35rem);
    line-height: 1.25;
}

.card-body {
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    text-align: justify;
}

.card-body + .card-body {
    margin-top: 12px;
}

.tag-strip {
    padding: 18px 0 0;
    border-top: 1px solid rgba(31, 58, 95, 0.12);
}

.tag-strip__label {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(31, 58, 95, 0.14);
    border-radius: 999px;
    background: rgba(31, 58, 95, 0.05);
    font-size: 0.96rem;
    line-height: 1.3;
}

.contribution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contribution-card {
    padding: clamp(18px, 2.8vw, 24px);
    border: 1px solid rgba(31, 58, 95, 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 240, 0.94));
    box-shadow: 0 14px 30px rgba(31, 58, 95, 0.06);
}

.contribution-card--accent {
    background:
        linear-gradient(180deg, rgba(31, 58, 95, 0.08), rgba(31, 58, 95, 0.03)),
        var(--paper);
}

.contribution-card__index {
    margin: 0 0 12px;
    color: var(--llmind);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contribution-card__text {
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    text-align: justify;
}

.bibtex-card {
    border: 1px solid rgba(31, 58, 95, 0.12);
    border-radius: 22px;
    padding: clamp(18px, 2.8vw, 24px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 240, 0.94));
    box-shadow: 0 14px 30px rgba(31, 58, 95, 0.06);
}

.bibtex-block {
    margin: 0;
    padding: 18px 20px;
    overflow-x: auto;
    border-radius: 16px;
    background: #f3f0e8;
    color: #2a2a2a;
    font-family: "DM Mono", monospace;
    font-size: 0.88rem;
    line-height: 1.7;
}

.bibtex-block code {
    font: inherit;
}

.results-shell {
    display: grid;
    gap: 18px;
}

.results-intro {
    margin-top: 0;
}

.results-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.results-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.8rem;
}

.results-legend__dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.quant-card {
    padding: 18px;
    border: 1px solid rgba(31, 58, 95, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 240, 0.94));
    box-shadow: 0 14px 30px rgba(31, 58, 95, 0.06);
}

.quant-card__dataset {
    margin: 0 0 4px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.quant-card__model {
    margin: 0 0 4px;
    font-size: 1.02rem;
    line-height: 1.2;
}

.quant-card__fullres {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.76rem;
}

.quant-card__headers,
.quant-card__row {
    display: grid;
    grid-template-columns: 110px repeat(3, minmax(0, 1fr));
    gap: 6px;
    align-items: center;
}

.quant-card__headers {
    margin-bottom: 6px;
}

.quant-card__header {
    color: var(--muted);
    font-size: 0.68rem;
    text-align: center;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.quant-card__row {
    padding: 6px 0;
    border-top: 1px solid rgba(31, 58, 95, 0.08);
}

.quant-card__row--ours .quant-card__method,
.quant-card__row--ours .quant-card__value {
    color: var(--chart-c5);
    font-weight: 700;
}

.quant-card__method {
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.2;
    padding-right: 8px;
}

.quant-card__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.quant-card__track {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(31, 58, 95, 0.1);
}

.quant-card__fill {
    height: 100%;
    border-radius: 999px;
}

.quant-card__value {
    color: var(--muted);
    font-size: 0.62rem;
    line-height: 1;
}

.radar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radar-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(31, 58, 95, 0.14);
    border-radius: 999px;
    background: var(--paper);
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    transition: box-shadow 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.radar-legend__item.is-active {
    border-color: currentColor;
}

.radar-legend__item:not(.is-active) {
    opacity: 0.45;
}

.radar-legend__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.radar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.radar-card {
    padding: 22px 18px 18px;
    border: 1px solid rgba(31, 58, 95, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 240, 0.94));
    box-shadow: 0 14px 30px rgba(31, 58, 95, 0.06);
}

.radar-card__title {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.radar-card__canvas {
    display: block;
    width: 100%;
    height: auto;
}

.embed-panel {
    border: 1px solid rgba(31, 58, 95, 0.12);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 34px rgba(31, 58, 95, 0.08);
}

.embed-panel__frame {
    display: block;
    width: 100%;
    height: 520px;
    border: 0;
    background: #fff;
}

.section--summary .lead {
    font-size: 1.14rem;
}

.results-table {
    border-top: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
}

.results-table__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    padding: 12px 4px;
    border-top: 1px solid var(--rule);
}

.results-table__row:first-child {
    border-top: 0;
}

.results-table__row--head {
    font-weight: 700;
}

.contributions {
    margin: 0;
    padding-left: 24px;
}

.contributions li + li {
    margin-top: 10px;
}

.footer {
    padding: 0 0 28px;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

.animate-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-in--1 {
    animation-delay: 80ms;
}

.animate-in--2 {
    animation-delay: 180ms;
}

.animate-in--3 {
    animation-delay: 300ms;
}

.animate-in--4 {
    animation-delay: 420ms;
}

.animate-in--5 {
    animation-delay: 540ms;
}

.animate-in--6 {
    animation-delay: 660ms;
}

.animate-in--7 {
    animation-delay: 780ms;
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(18px, -12px, 0) scale(1.05);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.9;
    }
    50% {
        transform: scaleX(1.08);
        opacity: 1;
    }
}

@keyframes portraitFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes iconBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.85;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .masthead__inner,
    .content,
    .footer {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .authors {
        justify-content: center;
    }

    .author-pill {
        flex-basis: 190px;
    }
}

@media (max-width: 820px) {
    .title {
        width: 100%;
    }

    .venue span::before,
    .venue span::after {
        width: 28px;
    }

    .authors {
        gap: 18px 10px;
    }

    .author-pill {
        flex: 1 1 calc(50% - 16px);
        max-width: 260px;
    }

    .links {
        gap: 18px 12px;
    }

    .links a {
        min-width: 96px;
    }

    .author-footnote {
        margin-top: 14px;
    }

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

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

    .radar-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .title {
        gap: 8px;
    }

    .masthead__inner {
        padding: 34px 0 24px;
    }

    .authors {
        justify-content: center;
        gap: 16px 10px;
        margin-top: 18px;
    }

    .author-pill {
        flex: 1 1 calc(50% - 12px);
        min-width: 132px;
        max-width: none;
        font-size: 0.96rem;
    }

    .links {
        justify-content: space-between;
    }

    .links a {
        flex: 1 1 calc(50% - 12px);
        min-width: 0;
    }

    .results-table__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .content {
        padding-top: 24px;
    }

    .info-panel,
    .info-card,
    .contribution-card,
    .quant-card,
    .bibtex-card {
        border-radius: 18px;
    }

    .tag-list {
        gap: 10px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .quant-card__headers,
    .quant-card__row {
        grid-template-columns: 96px repeat(3, minmax(0, 1fr));
    }

    .radar-card {
        padding: 18px 14px 14px;
        border-radius: 18px;
    }

    .embed-panel {
        border-radius: 18px;
    }

    .embed-panel__frame {
        height: 520px;
    }

}

@media (max-width: 480px) {
    .masthead__inner,
    .content,
    .footer {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .venue {
        font-size: 0.92rem;
        letter-spacing: 0.12em;
    }

    .venue span {
        gap: 10px;
    }

    .venue span::before,
    .venue span::after {
        width: 18px;
    }

    .title {
        font-size: clamp(1.7rem, 9vw, 2.2rem);
    }

    .title__icon {
        margin-right: -6px;
        margin-top: -8px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .author-pill {
        flex-basis: 100%;
        min-width: 0;
    }

    .author-pill__photo {
        width: 84px;
        height: 84px;
    }

    .affiliation {
        font-size: 1rem;
    }

    .links {
        gap: 14px 10px;
    }

    .links a {
        flex-basis: calc(50% - 8px);
        padding: 2px 4px;
        font-size: 0.94rem;
    }

    .link-icon {
        border-radius: 10px;
    }

    .author-footnote,
    .footer {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .animate-in,
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
