@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #0b1930;
    --navy2: #132946;
    --blue: #347dff;
    --ink: #152439;
    --muted: #63728a;
    --line: #dfE6ee;
    --bg: #f7f9fc;
    --white: #fff;
    --max: 1120px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: white;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit
}

img {
    max-width: 100%
}

.container {
    width: min(calc(100% - 44px), var(--max));
    margin: auto
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20
}

.header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0
}

.brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: var(--navy);
    display: grid;
    place-items: center;
    color: #8bb9ff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -4px;
    padding-right: 5px
}

.brand-main {
    font: 800 15px/1.3 Manrope, sans-serif;
    letter-spacing: -.03em
}

.brand-sub {
    font-size: 11px;
    letter-spacing: .09em;
    color: var(--muted);
    text-transform: uppercase
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 26px)
}

.nav a {
    font-weight: 700;
    font-size: 13px;
    color: #5d6d83;
    padding: 30px 0;
    border-bottom: 2px solid transparent
}

.nav a:hover,
.nav a.active {
    color: #164da1;
    border-bottom-color: var(--blue)
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 25px;
    color: var(--ink);
    cursor: pointer
}

.hero {
    background: radial-gradient(ellipse at 85% 5%, #23518a88, transparent 42%), linear-gradient(115deg, #0a1830, #142c4a 70%, #1a3d60);
    color: white;
    overflow: hidden
}

.hero-inner {
    min-height: 505px;
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    gap: 50px;
    align-items: center;
    padding: 76px 0
}

.eyebrow {
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 11px;
    color: #90bdff
}

.hero h1,
.page-hero h1 {
    font: 800 clamp(37px, 5vw, 60px)/1.14 Manrope, sans-serif;
    letter-spacing: -.045em;
    margin: 16px 0 20px
}

.hero p {
    font-size: 16px;
    color: #c8d5e6;
    max-width: 570px;
    line-height: 1.85
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 31px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 19px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: .2s;
    background: var(--blue);
    color: white;
    border: 1px solid var(--blue)
}

.btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px)
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: #6b8bab
}

.orbital {
    height: 360px;
    position: relative;
    display: grid;
    place-items: center
}

.orbital:before {
    content: '';
    width: 232px;
    height: 232px;
    background: radial-gradient(circle, #43a5ff55 0%, #225aa822 44%, transparent 72%);
    border-radius: 50%;
    position: absolute
}

.ring {
    width: 290px;
    height: 145px;
    border: 1.5px solid #63a4fa99;
    border-radius: 50%;
    position: absolute;
    transform: rotate(-31deg);
    box-shadow: 0 0 28px #3d88f522
}

.ring:nth-child(2) {
    transform: rotate(32deg)
}

.ring:nth-child(3) {
    transform: rotate(90deg)
}

.core {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #b9e4ff, #347ce6 60%, #1b3a90);
    box-shadow: 0 0 55px #51a5ffbb;
    z-index: 1
}

.particle {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0eeff;
    box-shadow: 0 0 22px #86d1ff;
    top: 100px;
    right: 67px
}

.particle.two {
    top: auto;
    right: auto;
    bottom: 92px;
    left: 78px;
    background: #ffcf98
}

.section {
    padding: 82px 0
}

.section.gray {
    background: var(--bg)
}

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

.section-heading h2,
.page-section h2 {
    font: 800 clamp(25px, 3vw, 34px)/1.2 Manrope, sans-serif;
    letter-spacing: -.035em;
    margin: 8px 0
}

.section-heading p,
.intro {
    color: var(--muted);
    max-width: 650px
}

.overline {
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 11px;
    color: #286ac1
}

.text-link {
    color: #2267cb;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap
}

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

.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 27px;
    box-shadow: 0 8px 25px #19365707
}

.card h3 {
    margin: 12px 0 10px;
    font: 800 18px Manrope, sans-serif;
    letter-spacing: -.025em
}

.card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0
}

.card .glyph {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: #2166cb;
    font-size: 23px;
    border-radius: 12px
}

.feature-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center
}

.feature-art {
    min-height: 290px;
    background: radial-gradient(circle at 55% 50%, #287bc9 0 4%, transparent 5% 13%, #3a84de44 14% 15%, transparent 16% 24%, #3a84de55 25% 26%, transparent 27%), repeating-linear-gradient(0deg, transparent, transparent 27px, #ffffff13 28px), linear-gradient(145deg, #0c1e39, #244d76);
    border-radius: 16px;
    position: relative;
    overflow: hidden
}

.feature-art:after {
    content: '13 TeV  ·  CMS  ·  pp';
    position: absolute;
    bottom: 21px;
    left: 23px;
    color: #b4d7ff;
    font-size: 12px;
    letter-spacing: .18em
}

.feature-band p {
    color: var(--muted)
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 27px
}

.stat {
    border-left: 3px solid #2a76e4;
    padding-left: 15px
}

.stat strong {
    display: block;
    font: 800 18px Manrope, sans-serif
}

.stat span {
    color: var(--muted);
    font-size: 12px
}

.page-hero {
    padding: 75px 0 70px;
    background: linear-gradient(125deg, #0c1c35, #244565);
    color: white
}

.page-hero h1 {
    font-size: clamp(35px, 4vw, 49px);
    margin: 10px 0
}

.page-hero p {
    color: #c6d5e7;
    max-width: 700px
}

.page-section {
    padding: 65px 0 90px;
    min-height: 390px
}

.page-section h2 {
    margin-bottom: 24px
}

.news-group + .news-group {
    margin-top: 40px;
}

.notice {
    background: #f0f6ff;
    border-left: 3px solid #347dff;
    border-radius: 6px;
    padding: 15px 18px;
    color: #3a5578;
    font-size: 14px;
    margin-bottom: 25px
}

.list-row {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px
}

.list-row:first-child {
    border-top: 1px solid var(--line)
}

.list-row h3 {
    font-size: 17px;
    margin: 0 0 6px
}

.list-row p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

.tag {
    display: inline-block;
    background: #eaf2ff;
    color: #2064bd;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 9px;
    white-space: nowrap
}

.people-group + .people-group {
    margin-top: 55px;
}

.people-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
}

.person {
    display: grid;
    grid-template-columns: clamp(125px, 20%, 180px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.avatar {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
}

.person-professor {
    grid-template-columns: clamp(190px, 27%, 290px) minmax(0, 1fr);
}

.person .body {
    min-width: 0;
    overflow-wrap: anywhere;
}

.person h3 {
    margin: 0;
    font-size: 1.25rem;
}

.person p,
.person-details dd {
    color: var(--muted);
}

.person p {
    margin: 4px 0 0;
}

.person-details {
    margin: 16px 0 0;
}

.person-details dt {
    font-weight: 700;
}

.person-details dt:not(:first-child) {
    margin-top: 12px;
}

.person-details dd {
    margin: 0;
}

.person-details ul {
    margin: 4px 0 0;
    padding-inline-start: 1.25em;
}

.person-details li + li {
    margin-top: 4px;
}

.footer {
    background: #0b192d;
    color: #bac8d9;
    padding: 47px 0
}

.footer .top {
    display: flex;
    justify-content: space-between;
    gap: 30px
}

.footer strong {
    color: white
}

.footer p {
    font-size: 13px
}

.footer a {
    color: #c2d3ea
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    font-size: 12px
}

.highlight {
    color: #2b73d6
}

.contact-box {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 28px;
    max-width: 780px
}

.contact-box dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px 18px
}

.contact-box dt {
    font-weight: 800
}

.contact-box dd {
    margin: 0;
    color: var(--muted)
}

@media(max-width:800px) {
    .menu-toggle {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        right: 0;
        background: white;
        padding: 12px 22px 20px;
        box-shadow: 0 12px 20px #2030401a;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .nav.open {
        display: flex
    }

    .nav a {
        padding: 12px 0
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 58px 0
    }

    .orbital {
        height: 250px;
        transform: scale(.78)
    }

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

    .feature-band {
        grid-template-columns: 1fr
    }

    .stat-strip {
        grid-template-columns: 1fr
    }

    .footer .top {
        flex-direction: column
    }
}

@media(max-width:560px) {
    .publications-page .page-hero h1,
    .news-page .page-hero h1 {
        font-size: 2rem;
    }

    .publications-page .page-hero p,
    .news-page .page-hero p {
        font-size: .9375rem;
    }

    .publications-page .list-row {
        flex-direction: column;
        gap: 10px;
        padding: 16px 0;
    }

    .publications-page .list-row > .tag {
        order: -1;
    }

    .news-page .news-group h2 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .publications-page .list-row h3,
    .news-page .list-row h3,
    .publication-list {
        font-size: .9375rem;
        line-height: 1.45;
    }

    .publication-list {
        margin: 0;
        padding-inline-start: 1.15em;
    }

    .publication-list li + li {
        margin-top: 14px;
    }

    .publications-page .publication-list p {
        margin-top: 4px;
    }

    .person,
    .person-professor {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
        font-size: .875rem;
    }

    .person .avatar {
        width: min(100%, 144px);
    }

    .person-professor .avatar {
        width: min(100%, 168px);
    }

    .person h3 {
        font-size: 1.0625rem;
    }

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

    .container {
        width: min(calc(100% - 34px), var(--max))
    }

    .hero h1 {
        font-size: 37px
    }

    .section {
        padding: 60px 0
    }

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

    .orbital {
        height: 190px;
        transform: scale(.62)
    }

    .contact-box dl {
        grid-template-columns: 1fr;
        gap: 4px
    }

    .contact-box dd {
        margin-bottom: 12px
    }
}

/* Version 2: imagery-first design */
.hero {
    position: relative;
    background: #071426 url('../images/detector-hero.webp') center 48%/cover no-repeat;
    isolation: isolate
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 15, 30, .96) 0%, rgba(6, 17, 34, .89) 33%, rgba(6, 17, 34, .40) 68%, rgba(6, 17, 34, .15) 100%);
    z-index: -1
}

.hero-inner {
    display: flex;
    min-height: 620px;
    padding: 105px 0
}

.hero-inner>div:first-child {
    max-width: 660px
}

.hero h1 {
    font-size: clamp(43px, 5.7vw, 76px);
    max-width: 650px
}

.hero p {
    max-width: 575px
}

.orbital {
    display: none
}

.eyebrow {
    color: #90d4ff
}

.hero-note {
    margin-top: 50px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #d0e4f8;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase
}

.hero-note:before {
    content: '';
    width: 35px;
    height: 2px;
    background: #62a7ff
}

.card {
    padding: 0;
    overflow: hidden
}

.card img {
    display: block;
    width: 100%;
    height: 182px;
    object-fit: cover;
    background: #10223d
}

.card .card-content {
    padding: 24px
}

.card h3 {
    margin-top: 0
}

.feature-art {
    background: #10223d url('../images/analysis.svg') center/cover no-repeat;
    min-height: 355px
}

.feature-art:after {
    content: 'DATA ANALYSIS · CMS · 13 TeV';
    letter-spacing: .15em
}

.image-credit {
    font-size: 11px;
    color: #d6dfe9;
    position: absolute;
    right: 26px;
    bottom: 18px
}

.research-topic {
    border-top: 1px solid var(--line);
    padding-top: 32px;
}

.research-topic + .research-topic {
    margin-top: 32px;
}

.research-image-grid {
    display: grid;
    gap: 24px;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
}

.research-visual,
.activity-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.research-figure {
    margin: 0;
}

.research-figure figcaption,
.activity-photo figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: .9375rem;
    text-align: center;
}

.activity-photo {
    max-width: 720px;
    margin: 0 auto;
}

.activity-photo + .activity-photo {
    margin-top: 48px;
}

@media(max-width:650px) {
    .research-image-grid {
        grid-template-columns: 1fr;
    }
}

.page-section .research-topic h2 {
    margin: 0 0 14px;
    line-height: 1.25;
}

.research-topic p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 1.125rem;
}

.research-topic ul {
    margin: 0;
    padding-inline-start: 1.5em;
    font-size: 1.125rem;
}

.research-topic li + li {
    margin-top: 4px;
}

.page-hero {
    background: linear-gradient(90deg, rgba(6, 18, 38, .95), rgba(7, 22, 42, .72)), url('../images/detector-hero.webp') center 51%/cover no-repeat
}

.photo-head {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 35px;
    align-items: center
}

.photo-head img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px
}

@media(max-width:800px) {
    .hero-inner {
        min-height: 0;
        padding: 52px 0;
    }

    .hero-note {
        margin-top: 24px;
    }

    .page-hero {
        padding: 36px 0 32px;
    }

    .page-hero p {
        margin: 0;
    }

    .hero:before {
        background: linear-gradient(90deg, rgba(5, 15, 30, .95), rgba(5, 15, 30, .62))
    }

    .photo-head {
        grid-template-columns: 1fr
    }
}

@media(max-width:560px) {
    .hero h1 {
        font-size: 43px
    }

    .card img {
        height: 195px
    }

    .hero-inner {
        padding: 36px 0;
    }

    .page-hero {
        padding: 28px 0 24px;
    }

    .page-section .research-topic h2 {
        font-size: 1.25rem;
    }

    .research-topic p,
    .research-topic ul {
        font-size: .9375rem;
        line-height: 1.55;
    }
}


.home-page {
    --home-heading: #14283e;
    --home-text: #505965;
    --home-divider: #e5e7eb;
    --home-section-space: clamp(64px, 7vw, 80px);
}

.home-page .home-main,
.home-page .home-footer {
    background: #fff;
    color: var(--home-text);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.home-page .home-container {
    width: min(calc(100% - 48px), 1100px);
    margin-inline: auto;
}

.home-page .home-main {
    padding-block: var(--home-section-space);
}

.home-page .home-intro {
    margin-bottom: clamp(24px, 3.2vw, 36px);
}

.home-page .home-affiliation {
    margin: 0 0 12px;
    color: #66707c;
    font-size: 14px;
}

.home-page .home-intro h1 {
    margin: 0;
    color: var(--home-heading);
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 1.12;
}

.home-page .home-detector {
    margin: 0;
}

.home-page .home-detector img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.home-page .home-detector figcaption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
}

.home-page .home-about {
    max-width: 740px;
    margin-top: var(--home-section-space);
}

.home-page .home-about h2 {
    margin: 0 0 16px;
    color: var(--home-heading);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
}

.home-page .home-about p {
    margin: 0;
}

.home-page .home-about p + p {
    margin-top: 20px;
}

.home-page .home-footer {
    padding-block: 24px 28px;
    border-top: 1px solid var(--home-divider);
    font-size: 14px;
}

.course-list li + li {
    margin-block-start: 1lh;
}

.home-page .home-footer p {
    margin: 0;
}

.home-page .home-footer .home-footer-name {
    margin-bottom: 4px;
    color: var(--home-heading);
    font-weight: 500;
}

@media (max-width: 650px) {
    .home-page {
        --home-section-space: 44px;
    }

    .home-page .home-container {
        width: calc(100% - 36px);
    }

    .home-page .home-intro {
        margin-bottom: 20px;
    }

    .home-page .home-intro h1 {
        font-size: clamp(28px, 8vw, 32px);
        letter-spacing: -0.8px;
    }

    .home-page .home-detector img {
        aspect-ratio: 3 / 2;
    }
}
