:root {
    --bg: #f4f6f9;
    --panel: #ffffff;
    --panel-light: #ffffff;
    --text: #1d2430;
    --muted: #5e6878;
    --accent: #7f294f;
    --accent-light: #a73c6c;
    --navy: #1f2f46;
    --line: rgba(20,30,50,.08);
}

/* Base */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
}

/* Header / Navigation */
.topbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo {
    height: 52px;
    width: auto;
    display: block;
}

.logo-text .vit {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: .08em;
}

.logo-text .subtitle {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    opacity: .9;
    font-weight: 500;
    transition: .2s;
}

.nav a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Shared Hero System */
.hero,
.page-hero.small,
.news-hero,
.publications-hero,
.teaching-hero,
.curriculum-hero,
.events-hero,
.resources-hero,
.programme-hero,
.vit-hub-hero,
.video-hero {
    position: relative;
    min-height: 42vh;
    padding: 70px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    isolation: isolate;
}

.hero {
    min-height: 58vh;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 50% 50%, rgba(0,255,255,.16), transparent 55%);
    mix-blend-mode: screen;
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: .5; }
    50% { transform: scale(1.08); opacity: .9; }
    100% { transform: scale(1); opacity: .5; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .35;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-kicker,
.section-kicker {
    color: #f0b3cf;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-kicker {
    color: #d57aa3;
}

.hero h1,
.page-hero.small h1,
.news-hero h1,
.publications-hero h1,
.teaching-hero h1,
.curriculum-hero h1,
.events-hero h1,
.resources-hero h1,
.programme-hero h1,
.vit-hub-hero h1,
.video-hero h1 {
    color: white;
    font-size: 58px;
    line-height: 1.02;
    margin: 0 0 24px;
}

.hero h1 {
    font-size: 74px;
    line-height: .95;
}

.hero p,
.page-hero.small p,
.news-hero p,
.publications-hero p,
.teaching-hero p,
.curriculum-hero p,
.events-hero p,
.resources-hero p,
.programme-hero p,
.vit-hub-hero p,
.video-hero p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255,255,255,.82);
    max-width: 760px;
}

/* Buttons */
.hero-buttons,
.button-row {
    margin-top: 42px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: .2s;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
}

.btn-secondary {
    border: 1px solid rgba(20,30,50,.14);
    color: rgba(255,255,255,.75);
}

.btn-secondary:hover {
    background: rgba(20,30,50,.04);
}

/* Section Defaults */
.section-title {
    font-size: 36px;
    margin: 0 0 42px;
}

.projects-preview,
.hub-showcase,
.hubs,
.projects-page,
.team-page,
.models-page,
.project-section,
.academy-showcase,
.homepage-news,
.imaging-platform {
    padding: 90px 70px;
}

/* Cards and Grids */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card,
.hub-card,
.hub-visual-card,
.project-overview-card,
.team-card,
.model-overview-card,
.academy-card,
.homepage-news-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: .25s;
}

.project-card:hover,
.hub-card:hover,
.hub-visual-card:hover,
.project-overview-card:hover,
.team-card:hover,
.model-overview-card:hover,
.academy-card:hover,
.homepage-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(20,30,50,.10);
}

.project-card img,
.hub-visual-card img,
.project-overview-card img,
.model-overview-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.project-card img {
    height: 240px;
}

.project-card.large {
    display: flex;
    flex-direction: column;
}

.project-content,
.hub-visual-content,
.project-overview-content,
.team-card-content,
.model-overview-card div {
    padding: 26px;
}

.project-tag,
.project-overview-content span,
.team-card-content span,
.model-overview-card span,
.hub-visual-content span,
.academy-card span {
    color: #d57aa3;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.project-content h3,
.project-overview-content h3,
.hub-visual-content h3,
.academy-card h3 {
    margin: 10px 0 14px;
    font-size: 25px;
}

.project-content p,
.project-overview-content p,
.hub-visual-content p,
.academy-card p,
.hub-card p,
.model-overview-card p,
.team-card-content p {
    color: var(--muted);
    line-height: 1.7;
}

/* Homepage Academy */
.academy-showcase {
    background: #f7f8fb;
    border-top: 1px solid var(--line);
}

.academy-intro {
    max-width: 900px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
    margin: -18px 0 42px;
}

.academy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.academy-card-link,
.hub-showcase-link,
.project-link,
.teaching-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.academy-card {
    height: 100%;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(20,30,50,.05);
}

.academy-showcase .btn-secondary,
.programme-overview .btn-secondary {
    color: var(--accent);
    border: 1px solid rgba(127,41,79,.25);
    background: white;
}

.academy-showcase .btn-secondary:hover,
.programme-overview .btn-secondary:hover {
    background: rgba(127,41,79,.08);
}

/* Homepage Hubs */
.hub-showcase-grid,
.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.hub-showcase-link .hub-visual-card {
    height: 100%;
}

.hub-visual-card img {
    height: 240px;
}

/* Homepage News */
.homepage-news {
    background: white;
    border-top: 1px solid var(--line);
}

.homepage-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.homepage-news-card {
    display: block;
    overflow: hidden;
    background: #f7f8fb;
    padding: 26px;
    box-shadow: 0 12px 32px rgba(20,30,50,.04);
}

.homepage-news-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #f7f8fb;
    border-radius: 16px;
    margin-bottom: 14px;
    padding: 10px;
}

.homepage-news-card span {
    color: #d57aa3;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
}

.homepage-news-card h3 {
    font-size: 24px;
    margin: 12px 0 14px;
}

.homepage-news-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* Imaging Platform Mockup */
.imaging-platform {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.imaging-text h2 {
    font-size: 46px;
    margin: 0 0 24px;
}

.imaging-text p {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 34px;
}

.imaging-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px;
}

.imaging-features span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(127,41,79,.08);
    border: 1px solid rgba(127,41,79,.12);
    color: var(--accent);
    font-size: 13px;
}

.mockup {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(20,30,50,.10);
    box-shadow: 0 18px 40px rgba(20,30,50,.12);
    overflow: hidden;
}

.mockup-topbar {
    height: 28px;
    background: #f4f6f9;
    border-bottom: 1px solid rgba(20,30,50,.08);
}

.mockup-body {
    height: 360px;
    display: grid;
    grid-template-columns: 96px 1fr;
    background: #ffffff;
}

.mockup-sidebar {
    background: #f4f6f9;
    padding: 14px;
    display: grid;
    gap: 14px;
    align-content: start;
}

.mockup-sidebar div {
    height: 54px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid rgba(20,30,50,.08);
}

.mockup-viewer {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.mockup-viewer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 26px;
    background: #ffffff;
}

.mockup-label {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(20,30,50,.10);
    color: var(--text);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
}

/* Programme Overview */
.programme-overview {
    padding: 110px 70px;
    background: radial-gradient(circle at top left, rgba(127,41,79,.10), transparent 35%), #f7f8fb;
    border-top: 1px solid var(--line);
}

.programme-header {
    max-width: 820px;
    margin-bottom: 48px;
}

.programme-header h2 {
    font-size: 54px;
    margin: 0 0 20px;
}

.programme-header p {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

.programme-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.programme-stats div {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(20,30,50,.05);
}

.programme-stats strong {
    display: block;
    font-size: 54px;
    color: #d57aa3;
    margin-bottom: 8px;
}

.programme-stats span {
    color: var(--muted);
}

/* Consortium */
.consortium-section {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 90px 70px;
}

.consortium-section img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consortium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,10,16,.82), rgba(8,10,16,.60), rgba(8,10,16,.35));
}

.consortium-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.consortium-content h2 {
    font-size: 58px;
    line-height: 1.02;
    margin: 0 0 26px;
    color: #ffffff;
}

.consortium-content p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255,255,255,.82);
    margin-bottom: 40px;
}

.consortium-meta {
    display: flex;
    gap: 26px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.consortium-meta div {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 20px 24px;
    min-width: 160px;
}

.consortium-meta strong {
    display: block;
    font-size: 38px;
    color: #d57aa3;
    margin-bottom: 6px;
}

.consortium-meta span {
    color: rgba(255,255,255,.80);
    font-size: 14px;
}

/* Partners */
.partners-section {
    padding: 80px 70px;
    text-align: center;
    background: #f7f8fb;
    border-top: 1px solid var(--line);
}

.partners-section h2 {
    font-size: 42px;
    margin: 8px 0 40px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.partner-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logos img {
    max-height: 90px;
    max-width: 260px;
    width: auto;
    height: auto;
    transition: transform .2s ease, opacity .2s ease;
    opacity: .9;
}

.partner-logos img:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Projects Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.project-overview-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-overview-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.project-stats a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(127,41,79,.09);
    color: var(--accent);
    border: 1px solid rgba(127,41,79,.18);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.project-stats a:hover {
    background: var(--accent);
    color: white;
}

.project-pis {
    color: var(--text);
    opacity: .78;
    margin-bottom: 14px;
    font-weight: bold;
}

.project-title-link {
    color: inherit;
    text-decoration: none;
}

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

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center top;
    background: #f7f8fb;
    padding-top: 12px;
}

.team-card-content {
    padding: 22px;
}

.team-card-content h3 {
    margin: 10px 0;
    font-size: 22px;
}

.team-institute,
.team-expertise,
.team-card-content p {
    color: var(--muted);
    line-height: 1.5;
}

.team-projects {
    margin-top: 16px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(127,41,79,.08);
    color: var(--accent);
    font-size: 13px;
    display: inline-block;
}

.team-profile-link {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(127,41,79,.08);
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
}

.team-profile-link:hover {
    background: rgba(127,41,79,.15);
}

/* Models */
.model-card,
.model-atlas-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 34px;
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(20,30,50,.06);
}

.model-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.model-card > div {
    padding: 34px 34px 34px 0;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 26px;
}

.model-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 26px;
}

.model-meta-grid div {
    background: #f7f8fb;
    border-radius: 14px;
    padding: 18px;
}

/* Project Detail */
.project-detail-hero {
    padding: 90px 70px;
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 60px;
    align-items: start;
    background: #f7f8fb;
}

.project-detail-text h1 {
    font-size: 58px;
    line-height: 1.02;
    margin: 14px 0 24px;
}

.project-detail-text p,
.project-lead {
    font-size: 20px;
    line-height: 1.7;
    color: var(--muted);
}

.project-detail-pis,
.technology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.project-detail-pis span,
.technology-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(127,41,79,.08);
    color: var(--accent);
    font-size: 14px;
}

.project-detail-image {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 44px rgba(20,30,50,.08);
}

.project-detail-image img {
    width: 100%;
    display: block;
    object-fit: contain;
    max-width: 760px;
    margin-left: auto;
}

.project-section.soft {
    background: #f7f8fb;
}

.project-section h2 {
    font-size: 44px;
    margin: 8px 0 24px;
}

.objectives-section {
    padding: 40px 70px 90px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.objectives-section article,
.linked-grid div {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(20,30,50,.05);
}

.objectives-section span,
.objectives-section strong,
.linked-grid strong {
    color: var(--accent);
}

.objectives-section p,
.linked-grid p {
    color: var(--muted);
    line-height: 1.7;
}

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

.project-navigation {
    margin: 2rem 0 0;
    padding: 0 70px 70px;
}

.back-projects {
    display: inline-block;
    padding: 12px 20px;
    background: var(--navy);
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
}

.back-projects:hover {
    background: #29456a;
}

/* Hub Detail / Legacy Blocks */
.hub-network,
.vit-hub-network {
    margin: 70px;
    padding: 42px;
    background: #f7f8fb;
    border: 1px solid var(--line);
    border-radius: 26px;
}

.hub-network-grid,
.vit-hub-network-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
}

.hub-network-grid div,
.vit-hub-network-grid div {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
}

.hub-network-grid strong,
.vit-hub-network-grid strong {
    color: var(--accent);
}

.hub-network-grid p,
.vit-hub-network-grid p {
    color: var(--muted);
    line-height: 1.7;
}

.hubs-page {
    padding: 90px 70px;
    display: grid;
    gap: 28px;
}

.hub-detail-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 34px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(20,30,50,.06);
}

.hub-detail-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hub-detail-card span,
.hub-services strong {
    color: #d57aa3;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hub-detail-card h2 {
    margin: 10px 0 16px;
    font-size: 36px;
}

.hub-detail-card p,
.hub-services li {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hub-tags,
.vit-hub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.hub-tags span,
.vit-hub-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(127,41,79,.08);
    color: var(--accent);
    letter-spacing: 0;
    text-transform: none;
    font-size: 13px;
}

.hub-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.hub-card-grid .project-link {
    display: block;
    height: 100%;
}

.hub-card-grid .hub-detail-card {
    height: 100%;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
}

.hub-card-grid .hub-detail-card img {
    height: 100%;
    min-height: 260px;
}

.hub-card-grid .hub-detail-card > div {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

/* Viewer/Atlas Shared Pieces */
.vit-logo {
    height: 46px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.wordmark {
    line-height: 1.2;
    letter-spacing: .04em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #555;
}

.wordmark strong {
    color: var(--accent);
    font-size: 15px;
}

.institute-bar {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 14px;
    background: white;
    border-top: 2px solid var(--accent);
    overflow: hidden;
}

.atlas-stats,
.dataset-panel {
    background: #ffffff;
    border: 1px solid #dce1e8;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 12px;
}

.dataset-panel {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    margin-bottom: 0;
    padding: 12px 18px;
}

.dataset-header {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid var(--accent);
}

.dataset-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 10px;
}

.dataset-grid div {
    background: white;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 8px 10px;
}

.dataset-grid span {
    display: block;
    font-size: 10px;
    color: #7b8494;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.dataset-grid strong {
    display: block;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.dataset-grid a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.dataset-grid a:hover {
    text-decoration: underline;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.filter-bar select {
    height: 34px;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    background: white;
    padding: 0 8px;
    font-size: 12px;
}

/* Footer */
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 70px;
    background: #090b10;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer strong {
    color: #f4f6f9;
}

.site-footer p {
    margin: 8px 0 0;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 22px;
}

.site-footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1300px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .models-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .academy-grid,
    .hub-showcase-grid,
    .hub-grid,
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programme-stats,
    .hub-network-grid,
    .vit-hub-network-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .imaging-platform,
    .project-detail-hero,
    .model-card,
    .model-atlas-card,
    .hub-detail-card,
    .hub-card-grid .hub-detail-card {
        grid-template-columns: 1fr;
    }

    .model-card > div {
        padding: 28px;
    }
}

@media (max-width: 900px) {
    .topbar {
        height: auto;
        min-height: 78px;
        padding: 16px 24px;
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    .nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero,
    .page-hero.small,
    .news-hero,
    .publications-hero,
    .teaching-hero,
    .curriculum-hero,
    .events-hero,
    .resources-hero,
    .programme-hero,
    .vit-hub-hero,
    .video-hero {
        min-height: 42vh;
        padding: 60px 24px;
    }

    .hero h1,
    .page-hero.small h1,
    .news-hero h1,
    .publications-hero h1,
    .teaching-hero h1,
    .curriculum-hero h1,
    .events-hero h1,
    .resources-hero h1,
    .programme-hero h1,
    .vit-hub-hero h1,
    .video-hero h1 {
        font-size: 46px;
    }

    .projects-preview,
    .hub-showcase,
    .hubs,
    .projects-page,
    .team-page,
    .models-page,
    .project-section,
    .academy-showcase,
    .homepage-news,
    .imaging-platform,
    .programme-overview,
    .partners-section,
    .objectives-section {
        padding: 60px 24px;
    }

    .homepage-news-grid,
    .project-grid,
    .projects-grid,
    .academy-grid,
    .hub-showcase-grid,
    .hub-grid,
    .team-grid,
    .models-grid,
    .programme-stats,
    .objectives-section,
    .linked-grid,
    .model-meta-grid,
    .hub-network-grid,
    .vit-hub-network-grid {
        grid-template-columns: 1fr;
    }

    .consortium-section {
        min-height: 60vh;
        padding: 70px 24px;
    }

    .consortium-content h2,
    .programme-header h2 {
        font-size: 40px;
    }

    .site-footer {
        flex-direction: column;
        padding: 32px 24px;
    }

    .site-footer a {
        margin-left: 0;
        margin-right: 18px;
    }

    .hub-network,
    .vit-hub-network {
        margin: 24px;
        padding: 28px;
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
    }

    .partner-logos {
        gap: 32px;
    }

    .partner-logos img {
        max-width: 220px;
    }

    .dataset-grid,
    .filter-bar {
        grid-template-columns: 1fr;
    }
}


/* ---------- TüScope My Area / role-aware navigation ---------- */
.site-header .brand {
    color: var(--text);
    text-decoration: none;
}

.main-nav {
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav .nav-account {
    color: var(--accent);
    font-weight: 800;
}

.my-area-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 58px 70px;
    overflow: hidden;
    isolation: isolate;
    background: #1f2f46;
    border-bottom: 1px solid rgba(255,255,255,.16);
}

.my-area-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(31,47,70,.94), rgba(107,36,72,.76), rgba(127,41,79,.46)),
        radial-gradient(circle at 82% 20%, rgba(240,179,207,.42), transparent 34%),
        radial-gradient(circle at 18% 78%, rgba(83,178,199,.34), transparent 32%),
        radial-gradient(circle at 58% 50%, rgba(255,255,255,.12), transparent 46%);
    z-index: -1;
}

.my-area-hero-content {
    max-width: 820px;
    color: #fff;
}

.my-area-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(46px, 6vw, 76px);
    line-height: .96;
}

.my-area-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255,255,255,.88);
    font-size: 19px;
    line-height: 1.6;
}

.my-area-wrap {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 30px;
    padding: 44px 70px 90px;
    background:
        radial-gradient(circle at top left, rgba(127,41,79,.08), transparent 32%),
        #f6f7fa;
}

.account-panel,
.my-card,
.my-tool-card {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(20,30,50,.09);
    box-shadow: 0 16px 42px rgba(20,30,50,.08);
}

.account-panel {
    position: sticky;
    top: 104px;
    align-self: start;
    border-radius: 24px;
    padding: 28px;
}

.account-avatar {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), #d57aa3);
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 20px;
    box-shadow: 0 12px 28px rgba(127,41,79,.25);
}

.account-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.account-panel h2 {
    margin: 6px 0 4px;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.08;
}

.account-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.account-description {
    margin: 22px 0 !important;
    padding-top: 20px;
    border-top: 1px solid rgba(20,30,50,.08);
    font-size: 14px;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f0f4ff;
    color: #274690;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.role-admin { background: #f6dada; color: #7b1f2a; }
.role-editor { background: #fff1d6; color: #8a5800; }
.role-teacher,
.role-scientist,
.role-pi { background: #e7f5e5; color: #2c6b27; }
.role-student { background: #eef3ff; color: #274690; }

.account-logout {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.account-logout:hover {
    background: var(--accent);
}

.my-area-main {
    min-width: 0;
}

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

.dashboard-section-head.compact {
    margin-top: 38px;
}

.dashboard-section-head h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.05;
}

.dashboard-section-head p {
    max-width: 320px;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.my-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.my-card,
.my-tool-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.my-card:hover,
.my-tool-card:hover {
    transform: translateY(-3px);
    border-color: rgba(127,41,79,.26);
    box-shadow: 0 22px 54px rgba(20,30,50,.13);
}

.my-card-large {
    min-height: 245px;
    border-radius: 24px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.my-card-large::after {
    content: '';
    position: absolute;
    right: -36px;
    bottom: -46px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: rgba(127,41,79,.08);
}

.my-card-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #f6edf2;
    font-size: 26px;
    margin-bottom: 24px;
}

.my-card-title {
    color: var(--navy);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}

.my-card-text {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: auto;
}

.my-card-meta {
    margin-top: 22px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.my-tool-list {
    display: grid;
    gap: 14px;
}

.my-tool-card {
    display: grid;
    grid-template-columns: 120px minmax(150px, 260px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    border-radius: 18px;
    padding: 20px 22px;
}

.tool-label {
    justify-self: start;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f6edf2;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.my-tool-card strong {
    color: var(--navy);
    font-size: 17px;
}

.my-tool-card span:last-child {
    color: var(--muted);
    line-height: 1.45;
}

@media (max-width: 1000px) {
    .my-area-wrap {
        grid-template-columns: 1fr;
        padding: 34px 24px 70px;
    }

    .account-panel {
        position: static;
    }

    .my-area-hero {
        min-height: 260px;
        padding: 48px 24px;
    }

    .dashboard-section-head {
        display: block;
    }

    .dashboard-section-head p {
        margin-top: 12px;
    }

    .my-tool-card {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 760px) {
    .topbar.site-header {
        height: auto;
        min-height: 78px;
        padding: 14px 18px;
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    .main-nav {
        justify-content: flex-start;
        gap: 14px;
    }
}
