@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;800&display=swap');
@font-face {
    font-family: 'ArialRoundedBoldLocal';
    src: url('../fonts/Arial Rounded Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    color: #1b1b1b;
}
body {
    animation: page-fade-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
    background-color: #FDFEFF;
    margin: 0px 0px;
    color: #57575a;
}
@keyframes page-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* top header background */
.head-container {
    background: #171420;
    position: relative;
}
.gooey-nav-shell {
    align-items: center;
    display: flex;
    gap: 28px;
    left: 50%;
    max-width: 1500px;
    position: absolute;
    top: 2em;
    transform: translateX(-50%);
    width: calc(100% - 8vw);
    z-index: 99;
}
.lang-toggle {
    appearance: none;
    background: rgba(17, 14, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    flex: 0 0 auto;
    font-family: 'ArialRoundedBoldLocal', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 12px 16px;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}
.lang-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}
.gooey-logo {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
}
.gooey-logo img {
    display: block;
    height: clamp(56px, 6vw, 88px);
    max-width: min(360px, 32vw);
    object-fit: contain;
    width: auto;
}
.gooey-nav-container {
    --color-1: #ffffff;
    --color-2: #ff9ffc;
    --color-3: #b497cf;
    --color-4: #5227ff;
    background: rgba(23, 20, 32, 0.85);
    border-radius: 100vw;
    flex: 1;
    overflow: visible;
    padding: 0.25em 0.5em;
    position: relative;
    z-index: 5;
}
.gooey-nav-container,
.gooey-nav-container a,
.gooey-nav-container .effect.text {
    font-family: 'ArialRoundedBoldLocal', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.gooey-nav-container nav {
    display: flex;
    flex: 1;
    position: relative;
    transform: translate3d(0, 0, 0.01px);
}
.gooey-nav-container nav ul {
    color: #ffffff;
    display: flex;
    flex: 1;
    gap: 0;
    justify-content: space-evenly;
    list-style: none;
    margin: 0;
    padding: 0.25em;
    position: relative;
    text-shadow: 0 1px 1px hsl(205deg 30% 10% / 0.2);
    z-index: 3;
}
.gooey-nav-container nav ul li {
    border-radius: 100vw;
    box-shadow: 0 0 0.5px 1.5px transparent;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.gooey-nav-container nav ul li a {
    color: inherit;
    display: inline-block;
    font-size: 15px;
    padding: 0.6em 1em;
    text-decoration: none;
    white-space: nowrap;
}
.gooey-nav-container nav ul li .nav-trigger {
    color: inherit;
    cursor: default;
    display: inline-flex;
    font-size: 15px;
    padding: 0.6em 1em;
    text-decoration: none;
    white-space: nowrap;
}
/* Compact nav on narrower desktops so the larger logo and language toggle still fit */
@media (min-width: 768px) and (max-width: 1400px) {
    .gooey-nav-shell {
        gap: 20px;
    }
    .gooey-nav-container nav ul li a,
    .gooey-nav-container nav ul li .nav-trigger {
        font-size: 14px;
        padding: 0.6em 0.7em;
    }
}
@media (min-width: 768px) and (max-width: 1100px) {
    .gooey-nav-container nav ul li a,
    .gooey-nav-container nav ul li .nav-trigger {
        font-size: 13px;
        padding: 0.6em 0.6em;
    }
}
.gooey-nav-container nav ul li:focus-within {
    box-shadow: 0 0 0.5px 1.5px #ffffff;
}
.gooey-nav-container nav ul li::after {
    background: #ffffff;
    border-radius: 100vw;
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: -1;
}
.gooey-nav-container nav ul li.active {
    color: #000000;
    text-shadow: none;
}
.gooey-nav-container nav ul li.active::after {
    opacity: 1;
    transform: scale(1);
}
/* Dropdown nav */
.gooey-nav-container nav ul li.has-dropdown {
    cursor: default;
    position: relative;
}
.gooey-nav-container nav ul li.has-dropdown > a,
.gooey-nav-container nav ul li.has-dropdown > .nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.gooey-nav-container nav ul li.has-dropdown > a::after,
.gooey-nav-container nav ul li.has-dropdown > .nav-trigger::after {
    content: "▾";
    font-size: 10px;
    opacity: 0.7;
    background: none;
    border-radius: 0;
    inset: auto;
    opacity: 0.7;
    position: static;
    transform: none;
    transition: transform 0.2s ease;
}
.gooey-nav-container nav ul li.has-dropdown:hover > a::after,
.gooey-nav-container nav ul li.has-dropdown:focus-within > a::after,
.gooey-nav-container nav ul li.has-dropdown:hover > .nav-trigger::after,
.gooey-nav-container nav ul li.has-dropdown:focus-within > .nav-trigger::after {
    transform: rotate(180deg);
    opacity: 1;
}
.nav-dropdown {
    background: rgba(23, 20, 32, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    left: 50%;
    min-width: 200px;
    opacity: 0;
    padding: 6px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 2px);
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 200;
}
.nav-dropdown::before {
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: -10px;
    height: 12px;
}
.gooey-nav-container nav ul li.has-dropdown:hover .nav-dropdown,
.gooey-nav-container nav ul li.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85) !important;
    display: block;
    font-family: 'ArialRoundedBoldLocal', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 9px 14px !important;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}
.gooey-nav-container .effect {
    display: grid;
    height: 0;
    left: 0;
    opacity: 1;
    place-items: center;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 0;
    z-index: 1;
}
.gooey-nav-container .effect.text {
    color: #ffffff;
    display: none;
    font-size: 15px;
    transition: color 0.3s ease;
}
.gooey-nav-container .effect.text.active {
    color: #000000;
}
.gooey-nav-container .effect.filter {
    filter: blur(7px) contrast(100) blur(0);
    mix-blend-mode: lighten;
}
.gooey-nav-container .effect.filter::before {
    background: #000000;
    content: "";
    inset: 0;
    border-radius: inherit;
    position: absolute;
    z-index: -2;
}
.gooey-nav-container .effect.filter::after {
    background: #ffffff;
    border-radius: 100vw;
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transform: scale(0);
    z-index: -1;
}
.gooey-nav-container .effect.active::after {
    animation: pill 0.3s ease both;
}
@keyframes pill {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.particle,
.point {
    border-radius: 100%;
    display: block;
    height: 20px;
    opacity: 0;
    transform-origin: center;
    width: 20px;
}
.particle {
    --time: 5s;
    animation: particle calc(var(--time)) ease 1 -350ms;
    left: calc(50% - 8px);
    position: absolute;
    top: calc(50% - 8px);
}
.point {
    animation: point calc(var(--time)) ease 1 -350ms;
    background: var(--color);
    opacity: 1;
}
@keyframes particle {
    0% {
        opacity: 1;
        transform: rotate(0deg) translate(calc(var(--start-x)), calc(var(--start-y)));
        animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
    }
    70% {
        opacity: 1;
        transform: rotate(calc(var(--rotate) * 0.5)) translate(calc(var(--end-x) * 1.2), calc(var(--end-y) * 1.2));
        animation-timing-function: ease;
    }
    85% {
        opacity: 1;
        transform: rotate(calc(var(--rotate) * 0.66)) translate(calc(var(--end-x)), calc(var(--end-y)));
    }
    100% {
        opacity: 1;
        transform: rotate(calc(var(--rotate) * 1.2)) translate(calc(var(--end-x) * 0.5), calc(var(--end-y) * 0.5));
    }
}
@keyframes point {
    0% {
        opacity: 0;
        transform: scale(0);
        animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
    }
    25% {
        transform: scale(calc(var(--scale) * 0.25));
    }
    38% {
        opacity: 1;
    }
    65% {
        opacity: 1;
        transform: scale(var(--scale));
        animation-timing-function: ease;
    }
    85% {
        opacity: 1;
        transform: scale(var(--scale));
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}
/* navigation bar */
.nav {
    display: flex;
    justify-content: space-between;
    height: auto;
    align-items: center;
    padding: 0px 20px;
}
.logo {
    height: 35px;
}
.menu {
    display: flex;
    margin-top: 20px;  
}
.menu a {
    color: #ffffff; 
}
.menu-items {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    margin: 0px 20px;
    text-align: center;
}
.menu-items:first-child, .menu-items:hover {
    color: #ccc2c2;
    text-decoration: underline;
    text-underline-offset: 10px; 
}
.btn-talk {
    border: 1px solid #969191;
    padding: 10px 15px;
    color: #ffffff;
    font-weight: 700;
}
.btn-talk:hover {
    color: #ccc2c2;
}
.counter {
    display: flex;
    justify-content: space-around;
    margin: 20px 0px;
    line-height: 46px;
}
.counter h3 {
    font-size: 14px;
    color: #808080;
    text-align: center;
    font-weight: 600;
}
.video {
    width: 100%;
}
.video-img {
    width: 100%;
}
.homepage-section-spacing {
    margin: 0 auto 80px;
}
.research-directions-section {
    max-width: 1520px;
    padding: 76px 7vw 20px;
    position: relative;
}
.research-directions-heading {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 34px;
    text-align: left;
}
.research-directions-heading p {
    color: #2a74bd;
    font-family: 'ArialRoundedBoldLocal', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}
.research-directions-heading h2 {
    color: #1b1b1b;
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
}
.research-directions-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.research-direction-card {
    --glow-color-rgb: 132, 0, 255;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 210px;
    overflow: hidden;
    padding: 32px;
    position: relative;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.research-direction-card::after {
    background: radial-gradient(
        260px circle at 50% 50%,
        rgba(var(--glow-color-rgb), 0.34) 0%,
        rgba(var(--glow-color-rgb), 0.18) 34%,
        transparent 64%
    );
    border-radius: inherit;
    content: "";
    inset: 0;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    padding: 5px;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.3s ease;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}
.research-direction-card:hover {
    box-shadow: 0 18px 44px rgba(82, 39, 255, 0.18);
    transform: translateY(-2px);
}
.research-direction-card:hover::after {
    opacity: 1;
}
.research-direction-card h3 {
    color: #111827;
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
    position: relative;
    z-index: 1;
}
.research-direction-card > p {
    color: rgba(17, 24, 39, 0.68);
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    margin: 16px 0 28px;
    position: relative;
    z-index: 1;
}
.research-direction-card__footer {
    border-top: 1px solid rgba(37, 54, 79, 0.12);
    margin-top: auto;
    padding-top: 18px;
    position: relative;
    z-index: 1;
}
.research-direction-card__link {
    color: #1f75cf;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.research-direction-card:hover .research-direction-card__link {
    color: #0f5fb3;
}
.highlighted-projects-section {
    max-width: 1520px;
    padding: 0 7vw;
    position: relative;
}
.highlighted-projects-heading {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 34px;
}
.highlighted-projects-heading p {
    color: #2a74bd;
    font-family: 'ArialRoundedBoldLocal', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}
.highlighted-projects-heading h2 {
    color: #1b1b1b;
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
}
.card-grid {
    display: grid;
    gap: 0.5em;
    max-width: none;
    padding: 0.75em 0;
    width: 100%;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
}
.magic-bento-card {
    --glow-x: 50%;
    --glow-y: 50%;
    --glow-intensity: 0;
    --glow-radius: 200px;
    --glow-color-rgb: 132, 0, 255;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    font-weight: 300;
    justify-content: space-between;
    min-height: 200px;
    overflow: hidden;
    padding: 1.25em;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}
.magic-bento-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.magic-bento-card__header,
.magic-bento-card__content {
    color: #1b1b1b;
    display: flex;
    position: relative;
    z-index: 2;
}
.magic-bento-card__header {
    align-items: center;
    gap: 0.75em;
    justify-content: space-between;
}
.magic-bento-card__content {
    flex-direction: column;
    gap: 8px;
}
.magic-bento-card__label {
    color: rgba(17, 24, 39, 0.56);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.magic-bento-card__title {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
}
.magic-bento-card__description {
    color: rgba(17, 24, 39, 0.78);
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.magic-bento-card__meta {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}
.magic-bento-card__venue {
    color: rgba(17, 24, 39, 0.62);
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.magic-bento-card__year {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    margin-left: 12px;
    white-space: nowrap;
}
.magic-bento-card__image {
    border-radius: 14px;
    display: none;
    inset: 0;
    opacity: 0.1;
    overflow: hidden;
    position: absolute;
    z-index: 0;
}
.magic-bento-card__image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.magic-bento-card--border-glow::after {
    background: radial-gradient(
        var(--glow-radius) circle at var(--glow-x) var(--glow-y),
        rgba(var(--glow-color-rgb), calc(var(--glow-intensity) * 0.8)) 0%,
        rgba(var(--glow-color-rgb), calc(var(--glow-intensity) * 0.4)) 30%,
        transparent 60%
    );
    border-radius: inherit;
    content: "";
    inset: 0;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 6px;
    pointer-events: none;
    position: absolute;
    z-index: 1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}
.particle-container {
    overflow: hidden;
    position: relative;
}
.particle::before {
    background: rgba(132, 0, 255, 0.2);
    border-radius: 50%;
    bottom: -2px;
    content: "";
    left: -2px;
    position: absolute;
    right: -2px;
    top: -2px;
    z-index: -1;
}
.global-spotlight {
    top: 0;
    left: 0;
    mix-blend-mode: screen;
    pointer-events: none;
    will-change: transform, opacity;
    z-index: 200 !important;
}
.bento-section {
    position: relative;
    user-select: none;
}
@media (max-width: 599px) {
    .card-grid {
        grid-template-columns: 1fr;
        margin: 0 auto;
        padding: 0.5em 0;
        width: 100%;
    }
    .magic-bento-card {
        min-height: 180px;
    }
}
@media (min-width: 600px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .magic-bento-card:nth-child(3) {
        grid-column: span 2;
        grid-row: span 2;
    }
    .magic-bento-card:nth-child(4) {
        grid-column: 1 / span 2;
        grid-row: 2 / span 2;
    }
    .magic-bento-card:nth-child(6) {
        grid-column: 4;
        grid-row: 3;
    }
}
/* Hero Section */
.hero {
    display: flex;
    margin: 40px 40px;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 80px 40px;
}
.hero > * {
    flex: 1 1 40%;
}
.hero-main {
    isolation: isolate;
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
    padding: 130px 40px 80px;
    position: relative;
}
.grainient-container {
    inset: 0;
    position: absolute;
    z-index: -2;
}
.grainient-canvas {
    display: block;
    height: 100%;
    width: 100%;
}
.grainient-fallback {
    background: linear-gradient(135deg, #ff9ffc, #5227ff 55%, #b497cf);
}
.hero-main::after {
    background: rgba(10, 8, 18, 0.26);
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}
.hero-main-copy h1 {
    color: #ffffff !important;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(36px, 4.2vw, 76px) !important;
    font-weight: 800;
    line-height: 1.05;
    text-align: left;
}
@media (min-width: 1024px) {
    /* Keep the hero title on one line on desktop */
    .hero-main .hero-main-copy h1,
    .hero-main .hero-main-copy h1.split-parent {
        text-align: left;
        white-space: nowrap;
    }
}
.hero-main-copy .split-word,
.hero-main-copy .split-char {
    color: #ffffff !important;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
}
.hero-main-copy h1.split-parent {
    display: inline-block;
    overflow: hidden;
    padding-bottom: 0.18em;
    white-space: normal;
    word-wrap: break-word;
}
.split-word {
    display: inline-block;
    white-space: nowrap;
}
.split-char {
    color: inherit;
    display: inline-block;
}
.split-ready .split-char {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.25s cubic-bezier(0.16, 1, 0.3, 1), transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.split-visible .split-char {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .split-ready .split-char {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
.hero-main-copy p {
    color: #000000 !important;
    font-weight: 800;
}
.hero-card-swap {
    align-self: stretch;
    min-height: 620px;
    order: 2;
    position: relative;
}
.card-swap-container {
    bottom: 0;
    height: 480px;
    overflow: visible;
    perspective: 900px;
    position: absolute;
    right: 0;
    transform: translate(-10%, -15%);
    transform-origin: bottom right;
    width: 600px;
}
/* Shrink the photo stack on narrower desktops so it clears the hero title */
@media (min-width: 768px) and (max-width: 1420px) {
    .card-swap-container {
        transform: translate(-10%, -15%) scale(0.85);
    }
}
@media (min-width: 768px) and (max-width: 1300px) {
    .card-swap-container {
        transform: translate(-10%, -15%) scale(0.76);
    }
}
@media (min-width: 768px) and (max-width: 1150px) {
    .card-swap-container {
        transform: translate(-10%, -15%) scale(0.66);
    }
}
.card-swap-container .card {
    background-color: #000000;
    background-position: center center;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    height: 480px;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), z-index 0s linear 0.35s;
    width: 600px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.card-swap-container .card.is-dropping {
    transition-duration: 1.2s;
}
.hero img {
    display: block;
    height: 500px;
    margin: 0 auto;
    border-radius: 5px;
}
.hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    color: #1b1b1b;
    text-align: center;
    font-weight: 800;
    flex-basis: 100%;
    margin-bottom: 30px;
}
.hero p {
    font-size: 22px;
    line-height: 1.5em;
    font-weight: 400;
    margin-top: 10px;
    color: #808080;
}
.hero button {
    padding: 12px 20px;
    margin-top: 30px;
    border: none;
    color: #f1f1f1;
    font-weight: 700;
    font-size: 15px;background: #8BB7A2;
}
.hero button:hover {
color: #f1f1f1;
background: #4c4c4c; /* Old browsers */
background: -moz-linear-gradient(top,  #4c4c4c 0%, #595959 12%, #666666 25%, #2b2b2b 76%, #2c2c2c 88%, #1c1c1c 91%, #474747 95%, #000000 98%, #111111 100%, #131313 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #4c4c4c 0%,#595959 12%,#666666 25%,#2b2b2b 76%,#2c2c2c 88%,#1c1c1c 91%,#474747 95%,#000000 98%,#111111 100%,#131313 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #4c4c4c 0%,#595959 12%,#666666 25%,#2b2b2b 76%,#2c2c2c 88%,#1c1c1c 91%,#474747 95%,#000000 98%,#111111 100%,#131313 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
}
/* subscribe button */
.subscribe {
    left: -22px;
    position: relative;
    padding-top: 30px;
}
.subscribe i {
    color: #5227FF;
    position: relative;
    left: 32px;
    top: 3px;
    font-size: 18px;   
}
.subscribe .email {
    padding: 10px 29px;
    width: 315px;
    height: 60px;
}
.subscribe button {
    position: relative;
    right: 125px;
}
.email::placeholder {
    color: rgb(90, 86, 86);
}
.services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0px 20px;
}
.services > * {
    flex: 1 1 30%;
    margin: 20px 0px;
}
.services img {
height: 40px;
}
.services h3 {
    margin: 15px 0px;
}
.services p {
    line-height: 1.5em;
    font-size: 15px;
}
/* Team */
.team {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: center;
    margin: 0 auto 90px;
    max-width: 1240px;
    padding: 0 40px;
    text-align: left;
}
.pc-card-wrapper {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --pointer-from-center: 0;
    --pointer-from-top: 0.5;
    --pointer-from-left: 0.5;
    --card-opacity: 0;
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    --background-x: 50%;
    --background-y: 50%;
    --card-radius: 22px;
    --inner-gradient: linear-gradient(145deg, #60496e8c 0%, #71C4FF44 100%);
    --behind-glow-color: rgba(125, 190, 255, 0.67);
    --behind-glow-size: 50%;
    perspective: 500px;
    position: relative;
    touch-action: none;
    transform: translate3d(0, 0, 0.1px);
}
.pc-behind {
    background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), var(--behind-glow-color) 0%, transparent var(--behind-glow-size));
    filter: blur(34px) saturate(1.1);
    inset: 0;
    opacity: calc(0.8 * var(--card-opacity));
    pointer-events: none;
    position: absolute;
    transition: opacity 200ms ease;
    z-index: 0;
}
.pc-card-wrapper:hover,
.pc-card-wrapper.active {
    --card-opacity: 1;
}
.pc-card-shell {
    position: relative;
    z-index: 1;
}
.pc-card {
    aspect-ratio: 0.718;
    backface-visibility: hidden;
    background: rgba(0, 0, 0, 0.9);
    border-radius: var(--card-radius);
    box-shadow: rgba(0, 0, 0, 0.42) calc((var(--pointer-from-left) * 10px) - 3px) calc((var(--pointer-from-top) * 20px) - 6px) 20px -8px;
    display: grid;
    max-height: 260px;
    overflow: hidden;
    position: relative;
    transform: translateZ(0) rotateX(0deg) rotateY(0deg);
    transition: transform 1s ease;
}
.pc-card-wrapper.active .pc-card,
.pc-card-wrapper:hover .pc-card {
    transform: translateZ(0) rotateX(var(--rotate-y)) rotateY(var(--rotate-x));
    transition: none;
}
.pc-card-shell.entering .pc-card {
    transition: transform 180ms ease-out;
}
.pc-card * {
    border-radius: var(--card-radius);
    display: grid;
    grid-area: 1 / -1;
    pointer-events: none;
}
.pc-inside {
    background-color: rgba(0, 0, 0, 0.9);
    background-image: var(--inner-gradient);
    inset: 0;
    position: absolute;
}
.pc-shine {
    background-image:
        repeating-linear-gradient(0deg, hsl(2, 100%, 73%) 5%, hsl(53, 100%, 69%) 10%, hsl(176, 100%, 76%) 15%, hsl(228, 100%, 74%) 20%, hsl(283, 100%, 73%) 25%),
        radial-gradient(farthest-corner circle at var(--pointer-x) var(--pointer-y), hsla(0, 0%, 100%, 0.32) 0%, transparent 70%);
    background-position: var(--background-x) var(--background-y), center;
    background-size: 240% 240%, 100% 100%;
    filter: brightness(0.8) contrast(1.25) saturate(0.55);
    mix-blend-mode: color-dodge;
    opacity: calc(0.2 + var(--card-opacity) * 0.5);
    transform: translate3d(0, 0, 1px);
    z-index: 3;
}
.pc-glare {
    background-image: radial-gradient(farthest-corner circle at var(--pointer-x) var(--pointer-y), hsla(248, 25%, 80%, 0.65) 8%, hsla(207, 40%, 30%, 0.18) 70%);
    filter: brightness(0.8) contrast(1.2);
    mix-blend-mode: overlay;
    overflow: hidden;
    transform: translate3d(0, 0, 1.1px);
    z-index: 4;
}
.pc-avatar-content {
    backface-visibility: hidden;
    overflow: visible;
    transform: translateZ(2px);
}
.pc-avatar-content .avatar {
    border-radius: var(--card-radius);
    bottom: 0;
    height: 100%;
    left: 50%;
    object-fit: cover;
    position: absolute;
    transform: translateX(calc(-50% + (var(--pointer-from-left) - 0.5) * 6px)) translateZ(0) scale(1.03);
    transform-origin: 50% 100%;
    transition: transform 120ms ease-out;
    width: 100%;
}
.pc-content:not(.pc-avatar-content) {
    mix-blend-mode: normal;
    overflow: hidden;
    position: relative;
    text-align: center;
    transform: translate3d(calc(var(--pointer-from-left) * -6px + 3px), calc(var(--pointer-from-top) * -6px + 3px), 0.1px);
    z-index: 5;
}
.pc-details {
    align-self: end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: end;
    padding: 70px 12px 14px;
    width: 100%;
}
.pc-details h3 {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.pc-details p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}
@media (max-width: 680px) {
    .team {
        gap: 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 24px;
    }
    .pc-details h3 {
        font-size: 17px;
    }
}
@media (max-width: 380px) {
    .team {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }
}
.team {
    gap: 28px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1240px;
}
.border-glow-card {
    --edge-proximity: 0;
    --cursor-angle: 45deg;
    --edge-sensitivity: 15;
    --color-sensitivity: calc(var(--edge-sensitivity) + 20);
    --border-radius: 24px;
    --glow-padding: 44px;
    --cone-spread: 25;
    --card-bg: #120F17;
    --fill-opacity: 0.8;
    --glow-color: hsl(40deg 95% 90% / 100%);
    --glow-color-60: hsl(40deg 95% 90% / 60%);
    --glow-color-50: hsl(40deg 95% 90% / 50%);
    --glow-color-40: hsl(40deg 95% 90% / 40%);
    --glow-color-30: hsl(40deg 95% 90% / 30%);
    --glow-color-20: hsl(40deg 95% 90% / 20%);
    --glow-color-10: hsl(40deg 95% 90% / 10%);
    --gradient-one: radial-gradient(at 80% 55%, #c084fc 0px, transparent 50%);
    --gradient-two: radial-gradient(at 69% 34%, #f472b6 0px, transparent 50%);
    --gradient-three: radial-gradient(at 8% 6%, #38bdf8 0px, transparent 50%);
    --gradient-four: radial-gradient(at 41% 38%, #c084fc 0px, transparent 50%);
    --gradient-five: radial-gradient(at 86% 85%, #f472b6 0px, transparent 50%);
    --gradient-six: radial-gradient(at 82% 18%, #38bdf8 0px, transparent 50%);
    --gradient-seven: radial-gradient(at 51% 4%, #f472b6 0px, transparent 50%);
    --gradient-base: linear-gradient(#c084fc 0 100%);
    background: var(--card-bg);
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: var(--border-radius);
    box-shadow:
        rgba(0, 0, 0, 0.1) 0px 1px 2px,
        rgba(0, 0, 0, 0.1) 0px 2px 4px,
        rgba(0, 0, 0, 0.1) 0px 4px 8px,
        rgba(0, 0, 0, 0.1) 0px 8px 16px,
        rgba(0, 0, 0, 0.1) 0px 16px 32px,
        rgba(0, 0, 0, 0.1) 0px 32px 64px;
    display: grid;
    isolation: isolate;
    overflow: visible;
    position: relative;
    transform: translate3d(0, 0, 0.01px);
}
.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .edge-light {
    border-radius: inherit;
    content: "";
    inset: 0;
    position: absolute;
    transition: opacity 0.25s ease-out;
    z-index: -1;
}
.border-glow-card:not(:hover)::before,
.border-glow-card:not(:hover)::after,
.border-glow-card:not(:hover) > .edge-light {
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
}
.border-glow-card::before {
    background:
        linear-gradient(var(--card-bg) 0 100%) padding-box,
        linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
        var(--gradient-one) border-box,
        var(--gradient-two) border-box,
        var(--gradient-three) border-box,
        var(--gradient-four) border-box,
        var(--gradient-five) border-box,
        var(--gradient-six) border-box,
        var(--gradient-seven) border-box,
        var(--gradient-base) border-box;
    border: 1px solid transparent;
    mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread) * 1%), transparent calc((var(--cone-spread) + 15) * 1%), transparent calc((100 - var(--cone-spread) - 15) * 1%), black calc((100 - var(--cone-spread)) * 1%));
    opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
}
.border-glow-card::after {
    background:
        var(--gradient-one) padding-box,
        var(--gradient-two) padding-box,
        var(--gradient-three) padding-box,
        var(--gradient-four) padding-box,
        var(--gradient-five) padding-box,
        var(--gradient-six) padding-box,
        var(--gradient-seven) padding-box,
        var(--gradient-base) padding-box;
    border: 1px solid transparent;
    mask-image:
        linear-gradient(to bottom, black, black),
        radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
        radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
        radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
        radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
        radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
        conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
    mask-composite: subtract, add, add, add, add, add;
    mix-blend-mode: soft-light;
    opacity: calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
}
.border-glow-card > .edge-light {
    inset: calc(var(--glow-padding) * -1);
    mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
    mix-blend-mode: plus-lighter;
    opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
    pointer-events: none;
    z-index: 1;
}
.border-glow-card > .edge-light::before {
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 1px var(--glow-color),
        inset 0 0 2px 0 var(--glow-color-60),
        inset 0 0 6px 0 var(--glow-color-50),
        inset 0 0 12px 0 var(--glow-color-40),
        inset 0 0 25px 0 var(--glow-color-30),
        inset 0 0 40px 4px var(--glow-color-20),
        inset 0 0 70px 4px var(--glow-color-10),
        0 0 2px 0 var(--glow-color-60),
        0 0 6px 0 var(--glow-color-50),
        0 0 12px 0 var(--glow-color-40),
        0 0 25px 0 var(--glow-color-30),
        0 0 40px 4px var(--glow-color-20),
        0 0 70px 4px var(--glow-color-10);
    content: "";
    inset: var(--glow-padding);
    position: absolute;
}
.border-glow-inner {
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.person-card {
    --card-bg: #ffffff;
    border: 1px solid #e2e8f0;
    min-height: 260px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.person-card:hover {
    box-shadow:
        rgba(0, 0, 0, 0.06) 0px 2px 4px,
        rgba(0, 0, 0, 0.1) 0px 8px 24px,
        rgba(0, 0, 0, 0.08) 0px 20px 48px;
    transform: translateY(-6px) translate3d(0, 0, 0.01px);
}
.person-avatar {
    aspect-ratio: 4 / 5;
    border-radius: 22px 22px 0 0;
    display: block;
    object-fit: cover;
    width: 100%;
}
.person-info {
    padding: 12px 12px 14px;
}
.person-info h3 {
    color: #111827;
    font-size: 16px;
    line-height: 1.15;
    margin: 0 0 4px;
}
.person-info p {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    margin: 0 0 8px;
}
.person-research {
    color: #9ca3af !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    margin: 0 0 6px !important;
}
.person-note {
    color: #b0b8c8 !important;
    font-size: 9.5px !important;
    font-style: italic;
    font-weight: 400 !important;
    line-height: 1.5;
    margin: 0 0 6px !important;
}
.person-card-alumni {
    opacity: 0.82;
}
.person-card-alumni:hover {
    opacity: 1;
}
.person-link-empty {
    opacity: 0.35;
    pointer-events: none;
}
.person-links {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.person-link {
    align-items: center;
    background: none;
    border: none;
    border-radius: 6px;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    justify-content: center;
    padding: 4px 5px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}
.person-link:hover {
    background: #f3f4f6;
    color: #5227ff;
}
.people-section {
    margin: 0 auto 60px;
    max-width: 1240px;
    padding: 0 40px;
}
.people-section-title {
    color: #111827;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
    padding-bottom: 12px;
    position: relative;
    text-transform: uppercase;
}
.people-section-title::after {
    background: #e2e8f0;
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
}
.people-section .team {
    margin: 0;
    max-width: none;
    padding: 0;
}
.person-avatar-placeholder {
    align-items: center;
    aspect-ratio: 4 / 5;
    background: #f3f4f6;
    border-radius: 22px 22px 0 0;
    color: #d1d5db;
    display: flex;
    font-size: 56px;
    justify-content: center;
    width: 100%;
}
.email-toast {
    background: #1b1b1b;
    border-radius: 8px;
    bottom: 36px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    left: 50%;
    opacity: 0;
    padding: 10px 22px;
    pointer-events: none;
    position: fixed;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9999;
}
.email-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
@media (max-width: 980px) {
    .team {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.activities-heading {
    margin-bottom: 30px;
}
.activity-section {
    margin-bottom: 20px;
}
.activity-section-heading {
    margin: 0 auto 28px;
    max-width: 1400px;
    padding: 0 20px;
}
.activity-section-heading h2 {
    border-bottom: 2px solid rgba(82, 39, 255, 0.18);
    color: #1a1825;
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
    padding-bottom: 14px;
}
.workshop-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    margin: 0 auto 80px;
    max-width: 1400px;
    padding: 0 20px;
}
.workshop-card {
    background: #ffffff;
    border: 1px solid rgba(82, 39, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(27, 23, 52, 0.06);
    color: #1a1825;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 20px 18px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.workshop-card:hover {
    border-color: rgba(82, 39, 255, 0.4);
    box-shadow: 0 14px 34px rgba(82, 39, 255, 0.12);
    transform: translateY(-2px);
}
.workshop-card-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
}
.workshop-card-venue {
    background: rgba(82, 39, 255, 0.08);
    border-radius: 999px;
    color: #5227ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
}
.workshop-card-year {
    color: #8a8499;
    font-size: 13px;
    font-weight: 700;
}
.workshop-card-name {
    color: #1a1825;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 800;
    margin-top: 4px;
}
.workshop-card-full {
    color: #5b5670;
    font-size: 14px;
    line-height: 1.5;
}
.workshop-card-loc {
    color: #6b6680;
    font-size: 13px;
    margin-top: auto;
    padding-top: 6px;
}
.workshop-card-loc i,
.workshop-card-loc span {
    color: inherit;
}
.workshop-card-link {
    color: #5227ff;
    font-size: 13px;
    font-weight: 700;
}
.workshop-card-link span {
    color: inherit;
}
.activity-gallery {
    margin: 0 auto 80px;
    max-width: 1400px;
    padding: 0 20px;
}
.list {
    height: 100%;
    position: relative;
    width: 100%;
}
/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox-overlay {
    align-items: center;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.25s ease;
    z-index: 2000;
}
.lightbox-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-body {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 92vh;
    max-width: 92vw;
    padding: 52px 16px 24px;
}
.lightbox-img {
    border-radius: 8px;
    display: block;
    max-height: 76vh;
    max-width: 88vw;
    object-fit: contain;
    width: auto;
}
.lightbox-caption {
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
    text-align: center;
}
.lightbox-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    font-size: 22px;
    height: 40px;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: background 0.15s ease;
    width: 40px;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    height: 44px;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.15s ease;
    width: 44px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.25); }
/* ── end Lightbox ───────────────────────────────────────────── */

.item-wrapper {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    left: 0;
    opacity: 0;
    padding: 6px;
    position: absolute;
    top: 0;
    will-change: transform, width, height, opacity;
}
.item-wrapper > .item-img {
    background-position: center center;
    background-size: cover;
    border-radius: 10px 10px 0 0;
    box-shadow: 0px 10px 50px -10px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-height: 0;
    position: relative;
    transition: transform 0.3s ease;
    width: 100%;
}
.item-wrapper.is-missing-image > .item-img {
    background: #e9e9eb;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.item-wrapper:nth-child(3n) > .item-img,
.item-wrapper:nth-child(5n) > .item-img {
    background-position: center 42%;
}
.item-wrapper:hover > .item-img {
    transform: scale(0.98);
}
.item-caption {
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0px 10px 50px -10px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    height: 62px;
    overflow: hidden;
    padding: 9px 12px 10px;
}
.item-caption-date {
    color: #5227ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0 0 3px;
    text-transform: uppercase;
}
.item-caption-title {
    color: #111827;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Publications page */
.publications-page {
    background: #f7f4fb;
}
.publication-head {
    isolation: isolate;
    min-height: 430px;
    overflow: hidden;
    padding: 140px 5vw 82px;
    position: relative;
}
.publication-head::after {
    background: rgba(10, 8, 18, 0.28);
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}
.publication-head .gooey-nav-shell {
    top: 2em;
}
/* publication-head nav container: slightly more transparent to let gradient show */
.publication-head .gooey-nav-container {
    background: rgba(17, 14, 26, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.publication-hero {
    margin: 0 auto;
    max-width: 1180px;
    position: relative;
    z-index: 1;
}
.publication-hero p {
    color: #000000;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 0 0 12px;
}
.publication-hero h1 {
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(52px, 9vw, 116px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.95;
    margin: 0;
}
.publication-shell {
    padding: 56px 4vw 80px;
}
.publication-panel {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(82, 39, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(23, 20, 32, 0.12);
    margin: 0 auto;
    max-width: 1500px;
    min-height: 70vh;
    padding: 70px 8vw;
}
.publication-searchbar {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(82, 39, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(23, 20, 32, 0.08);
    display: flex;
    gap: 16px;
    margin: 0 auto 26px;
    max-width: 1280px;
    padding: 12px 18px;
}
.publication-search-label {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 10px;
    min-width: 220px;
}
.publication-search-label i {
    color: #9a9a9a;
}
#paper-search {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    box-shadow: none;
    color: #1b1b1b;
    flex: 1;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 200;
    background: transparent;
    min-width: 0;
    outline: 0;
    padding: 8px 0;
}
#paper-search::-webkit-search-decoration,
#paper-search::-webkit-search-cancel-button,
#paper-search::-webkit-search-results-button,
#paper-search::-webkit-search-results-decoration {
    -webkit-appearance: none;
}
#paper-search::placeholder {
    color: #9a9a9a;
}
.publication-count {
    color: #1b1b1b;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 200;
    white-space: nowrap;
}
.publication-note {
    color: #111111;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 200;
    margin: 0 0 48px;
}
.publication-filter-bar {
    margin: 18px 0 20px;
}
.publication-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.publication-filter-chip {
    align-items: center;
    appearance: none;
    background: #f8f8fa;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    color: #5f6470;
    cursor: pointer;
    display: inline-flex;
    gap: 10px;
    padding: 9px 14px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.publication-filter-chip span,
.publication-filter-chip strong {
    color: inherit;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    line-height: 1;
}
.publication-filter-chip span {
    font-weight: 500;
}
.publication-filter-chip strong {
    font-weight: 700;
}
.publication-filter-chip:hover {
    border-color: rgba(31, 117, 207, 0.24);
    color: #1f75cf;
    transform: translateY(-1px);
}
.publication-filter-chip.is-active {
    background: #18181c;
    border-color: #18181c;
    color: #ffffff;
}
.publication-filter-more {
    appearance: none;
    background: transparent;
    border: 0;
    color: #1f75cf;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-top: 14px;
    padding: 0;
}
.publication-filter-more:hover {
    color: #0f5fb3;
}
.publication-year-group {
    margin: 0 auto;
    max-width: 1240px;
    padding-left: 24px;
    position: relative;
}
.publication-year-group + .publication-year-group {
    margin-top: 34px;
}
.publication-year-group::before {
    background: linear-gradient(180deg, rgba(195, 198, 205, 0.72), rgba(223, 225, 229, 0.12));
    border-radius: 999px;
    content: "";
    left: 6px;
    position: absolute;
    top: 10px;
    bottom: 8px;
    width: 1.5px;
}
.publication-year-group h2 {
    color: #6341B7;
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 2px 0 8px;
}
.publication-year-grid {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}
.publication-item {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(27, 23, 34, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(23, 20, 32, 0.10);
    cursor: pointer;
    align-self: start;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    text-align: left;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.publication-item:hover {
    box-shadow:
        rgba(0, 0, 0, 0.06) 0px 2px 4px,
        rgba(0, 0, 0, 0.1) 0px 8px 24px,
        rgba(0, 0, 0, 0.08) 0px 20px 48px;
    transform: translateY(-6px) translate3d(0, 0, 0.01px);
}
.publication-item:focus-visible {
    box-shadow: 0 0 0 3px rgba(82, 39, 255, 0.22), 0 18px 42px rgba(23, 20, 32, 0.10);
    outline: 0;
}
.publication-thumb {
    align-items: center;
    background: linear-gradient(135deg, #f4f7fb, #eef2f9);
    border-bottom: 1px solid rgba(27, 23, 34, 0.06);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    color: #4a66a5;
    display: flex;
    font-family: 'Raleway', sans-serif;
    font-size: 30px;
    font-weight: 800;
    justify-content: center;
    min-height: 152px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.publication-thumb.has-image {
    background: #ffffff;
}
.publication-thumb img {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: contain;
    position: absolute;
    width: 100%;
}
.publication-thumb span {
    position: relative;
    z-index: 1;
}
.publication-info {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 18px 18px 16px;
    text-align: left;
}
.publication-info h3 {
    /* Publication title font size */
    color: #171420;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(16px, 1.05vw, 18px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.24;
    margin: 0;
    text-align: left;
}
.publication-info p {
    /* Publication authors / venue font size */
    color: #34303f;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 200;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}
.publication-authors {
    color: #575e69 !important;
}
.publication-venue,
.publication-venue a {
    /* Publication venue shares .publication-info p font-size above */
    color: #7d828c !important;
    text-decoration: none;
}
.publication-award {
    color: #fea622;
    font-weight: 200;
}
.publication-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: auto;
    padding-top: 8px;
}
.publication-action {
    align-items: center;
    background: transparent;
    border: 0;
    color: #676c76;
    display: inline-flex;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 0;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.publication-action i,
.publication-action span {
    color: inherit;
}
.publication-action:hover {
    color: #1f75cf;
    transform: translateY(-1px);
}
.publication-meta-badges .news-timeline-item__badge--publication {
    background: #f2f2f2;
    color: #575b63;
}
.publication-meta-badges .news-timeline-item__badge--award {
    background: #fff4cb;
    color: #b58512;
}
.publication-meta-badges .news-timeline-item__badge {
    border-radius: 9px;
    font-size: 11px;
    letter-spacing: 0.01em;
    line-height: 1.05;
    padding: 4px 8px;
}
.publication-detail-page {
    background: #f5f5f6;
}
.publication-detail-head {
    background: transparent;
    isolation: isolate;
    min-height: 200px;
    overflow: hidden;
    position: relative;
}
.publication-detail-head::after {
    background: linear-gradient(to bottom, transparent 20%, #f5f5f6 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}
.publication-detail-head .gooey-nav-shell {
    top: 2em;
}
.publication-detail-head .gooey-nav-container {
    background: rgba(17, 14, 26, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.publication-detail-shell {
    margin: 0 auto;
    max-width: 1760px;
    padding: 42px 5vw 86px;
}
.publication-detail-loading,
.publication-detail-empty {
    color: #666666;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
}
.publication-detail-card {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-left: 8px solid #b45cff;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.10);
    margin: 0 auto 28px;
    padding: 36px 42px 38px;
}
.publication-detail-card h1 {
    color: #242428;
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.28;
    margin: 16px 0 14px;
}
.publication-detail-back {
    align-items: center;
    color: #5e6470;
    display: inline-flex;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 18px;
    text-decoration: none;
}
.publication-detail-back:hover {
    color: #5227ff;
}
.publication-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.publication-detail-tags .news-timeline-item__badge--publication {
    background: #f2f2f2;
    color: #575b63;
}
.publication-detail-tags .news-timeline-item__badge--award {
    background: #fff4cb;
    color: #b58512;
}
.publication-detail-authors {
    color: #666666;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 18px;
}
.publication-detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}
.publication-detail-link {
    align-items: center;
    background: transparent;
    border: 0;
    color: #676c76;
    display: inline-flex;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.publication-detail-link i,
.publication-detail-link span {
    color: inherit;
}
.publication-detail-link:hover {
    color: #1f75cf;
    transform: translateY(-1px);
}
.publication-detail-card hr {
    border: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.10);
    margin: 0 0 22px;
}
.publication-detail-section {
    margin-top: 22px;
}
.publication-detail-section h2,
.publication-detail-media-card h2 {
    align-items: center;
    color: #242428;
    display: flex;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 800;
    gap: 8px;
    letter-spacing: 0;
    margin: 0 0 10px;
}
.publication-detail-section p {
    color: #5b5b5f;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}
.publication-detail-media-card {
    border-left-color: transparent;
}
.publication-detail-markdown {
    color: #3d4450;
    font-family: 'Raleway', sans-serif;
}
.publication-detail-markdown > * + * {
    margin-top: 16px;
}
.publication-detail-markdown h1,
.publication-detail-markdown h2,
.publication-detail-markdown h3,
.publication-detail-markdown h4,
.publication-detail-markdown h5,
.publication-detail-markdown h6 {
    color: #22252b;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}
.publication-detail-markdown h1 {
    font-size: 28px;
}
.publication-detail-markdown h2 {
    font-size: 24px;
}
.publication-detail-markdown h3 {
    font-size: 20px;
}
.publication-detail-markdown p,
.publication-detail-markdown li,
.publication-detail-markdown td,
.publication-detail-markdown th {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}
.publication-detail-markdown ul {
    padding-left: 20px;
}
.publication-detail-markdown a {
    color: #1f75cf;
    text-decoration: none;
}
.publication-detail-markdown a:hover {
    color: #0f5fb3;
}
.publication-detail-markdown img {
    border-radius: 14px;
    display: block;
    margin: 10px 0;
    max-width: min(680px, 100%);
}
.publication-detail-markdown code {
    background: #f3f4f7;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92em;
    padding: 2px 6px;
}
.publication-detail-markdown pre {
    background: #181c24;
    border-radius: 14px;
    overflow-x: auto;
    padding: 16px 18px;
}
.publication-detail-markdown pre code {
    background: transparent;
    color: #edf2f7;
    display: block;
    padding: 0;
}
.publication-detail-markdown hr {
    border: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.12);
}
.publication-detail-markdown-table {
    overflow-x: auto;
}
.publication-detail-markdown table {
    border-collapse: collapse;
    min-width: 560px;
    width: 100%;
}
.publication-detail-markdown th,
.publication-detail-markdown td {
    border: 1px solid rgba(17, 24, 39, 0.12);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.publication-detail-markdown th {
    background: #f8fafc;
    color: #22252b;
    font-weight: 700;
}
.publication-detail-preview {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    min-height: 420px;
    overflow: hidden;
}
.publication-detail-preview img {
    display: block;
    max-height: 640px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}
.publication-detail-preview-fallback {
    align-items: center;
    background: linear-gradient(135deg, #f4f7fb, #eef2f9);
    display: flex;
    justify-content: center;
    min-height: 420px;
    width: 100%;
}
.publication-detail-preview-fallback span {
    color: #1f2937;
    font-family: 'Raleway', sans-serif;
    font-size: 64px;
    font-weight: 800;
}
.publication-empty {
    color: #777777;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-top: 40px;
    text-align: center;
}
.publication-empty[hidden],
.publication-year-group[hidden],
.publication-item[hidden] {
    display: none;
}
.opening-shell {
    padding: 56px 4vw 80px;
}
.opening-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(82, 39, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(23, 20, 32, 0.12);
    margin: 0 auto;
    max-width: 1180px;
    padding: 56px 5vw;
}
.opening-intro {
    margin-bottom: 36px;
}
.opening-eyebrow {
    color: #5227ff;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.opening-intro h2,
.opening-section h3,
.opening-cta h3 {
    color: #171420;
    font-family: 'Raleway', sans-serif;
}
.opening-intro h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.02;
    margin: 0 0 14px;
}
.opening-intro p {
    color: #494457;
    font-size: 18px;
    line-height: 1.65;
    margin: 0;
    max-width: 780px;
}
.opening-section {
    margin-top: 44px;
}
.opening-section h3,
.opening-cta h3 {
    font-size: clamp(28px, 3vw, 38px);
    margin: 0 0 22px;
}
.opening-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.opening-card,
.opening-list-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 255, 0.92));
    border: 1px solid rgba(82, 39, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(23, 20, 32, 0.07);
    padding: 24px;
}
.opening-card h4,
.opening-list-card h4 {
    color: #171420;
    font-size: 21px;
    line-height: 1.25;
    margin: 0 0 14px;
}
.opening-card p,
.opening-list-card p,
.opening-cta p {
    color: #494457;
    font-size: 17px;
    line-height: 1.72;
    margin: 0;
}
.opening-card p + p,
.opening-list-card p + p {
    margin-top: 14px;
}
.opening-stack {
    display: grid;
    gap: 16px;
}
.opening-cta {
    align-items: center;
    background: linear-gradient(135deg, #171420, #362073 58%, #6a42ff);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(41, 21, 100, 0.24);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 44px;
    padding: 28px 30px;
}
.opening-cta .opening-eyebrow,
.opening-cta h3,
.opening-cta p,
.opening-email {
    color: #ffffff;
}
.opening-cta p {
    max-width: 760px;
}
.opening-email {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 20px;
    text-decoration: none;
    white-space: nowrap;
}
.opening-email:hover {
    background: rgba(255, 255, 255, 0.2);
}
.opening-section--cn {
    margin-top: 52px;
}
.opening-section--cn h4 {
    font-size: 22px;
}
.opening-section--cn a {
    color: #5227ff;
    text-decoration: none;
}
@media (max-width: 900px) {
    .publication-head {
        min-height: 390px;
        padding: 120px 5vw 64px;
    }
    .publication-head .gooey-nav-shell {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        top: 1.2em;
    }
    .publication-panel {
        padding: 36px 22px;
    }
    .publication-searchbar {
        align-items: stretch;
        flex-direction: column;
    }
    .publication-count {
        white-space: normal;
    }
    .publication-year-group h2 {
        padding-left: 0;
        text-align: left;
    }
    .publication-year-grid {
        gap: 18px;
        grid-template-columns: 1fr;
    }
    .publication-item {
        padding: 0;
    }
    .publication-thumb {
        min-height: 132px;
    }
    .publication-detail-shell {
        padding: 24px 20px 54px;
    }
    .publication-detail-card {
        border-left-width: 6px;
        padding: 26px 22px 28px;
    }
    .publication-detail-card h1 {
        font-size: 30px;
        line-height: 1.2;
    }
    .publication-detail-authors {
        font-size: 18px;
    }
    .publication-detail-section p {
        font-size: 17px;
    }
    .publication-detail-preview,
    .publication-detail-preview-fallback {
        min-height: 260px;
    }
    .opening-panel {
        padding: 34px 22px;
    }
    .opening-grid {
        grid-template-columns: 1fr;
    }
    .opening-cta {
        align-items: flex-start;
        flex-direction: column;
    }
    .opening-email {
        white-space: normal;
        word-break: break-word;
    }
}
/* bottom section */
.bottom-section {
    display: flex;
    justify-content: space-evenly;
    padding: 40px 20px;
    background-color: #1b1b1b;
}
.bottom-section > * {
    min-width: 15%;
}
.bottom-section .bottom-1 {
    width: 25%;
}
.bottom-section .bottom-5 {
    width: 25%;
}
.bottom-section .bottom-5 img {
    padding-top: 20px;
    padding-right: 10px;
}
.latest-news-section {
    overflow: hidden;
    padding: 0;
    position: relative;
}
.latest-news-section::before,
.latest-news-section::after {
    content: none;
    pointer-events: none;
    position: absolute;
}
.latest-news-section::before {
    background:
        radial-gradient(circle at 10% 70%, rgba(112, 179, 255, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(233, 240, 250, 0.9) 0%, rgba(248, 249, 252, 0.2) 55%, rgba(255, 255, 255, 0) 100%);
    clip-path: polygon(0 52%, 22% 100%, 0 100%);
    inset: 0 auto 0 0;
    width: 46%;
}
.latest-news-section::after {
    background: linear-gradient(140deg, rgba(217, 210, 255, 0.22), rgba(255, 255, 255, 0));
    clip-path: polygon(100% 18%, 100% 74%, 62% 48%);
    height: 100%;
    right: 0;
    top: 0;
    width: 34%;
}
.latest-news-shell {
    margin: 0 auto;
    max-width: 1520px;
    padding: 0 7vw;
    position: relative;
    z-index: 1;
}
.latest-news-heading {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 34px;
}
.latest-news-heading p {
    color: #2a74bd;
    font-family: 'ArialRoundedBoldLocal', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.latest-news-heading h2 {
    color: #1b1b1b;
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
}
.latest-news-stream {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 28px;
}
.news-card {
    --glow-x: 50%;
    --glow-y: 50%;
    --glow-intensity: 0;
    --glow-radius: 240px;
    --glow-color-rgb: 132, 0, 255;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(32, 47, 73, 0.12);
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(40, 51, 70, 0.10), 0 2px 6px rgba(40, 51, 70, 0.05);
    display: flex;
    flex: 0 1 clamp(220px, 18vw, 280px);
    flex-direction: column;
    margin: 0;
    min-width: 220px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: auto;
}
.news-card::after {
    background: radial-gradient(
        var(--glow-radius) circle at var(--glow-x) var(--glow-y),
        rgba(var(--glow-color-rgb), calc(var(--glow-intensity) * 0.8)) 0%,
        rgba(var(--glow-color-rgb), calc(var(--glow-intensity) * 0.42)) 38%,
        transparent 72%
    );
    border-radius: inherit;
    content: "";
    inset: 0;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 1;
    padding: 4px;
    pointer-events: none;
    position: absolute;
    z-index: 3;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}
.news-card:hover {
    box-shadow: 0 20px 40px rgba(40, 51, 70, 0.18), 0 8px 18px rgba(40, 51, 70, 0.1);
    transform: translateY(-5px);
}
.news-card__media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #d8e6f8 0%, #f6f8fc 100%);
    overflow: hidden;
}
.news-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.news-card__media--fallback {
    align-items: center;
    display: flex;
    justify-content: center;
}
.news-card__media--fallback span {
    color: #4d77a8;
    font-family: 'ArialRoundedBoldLocal', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-size: 40px;
    letter-spacing: 0.08em;
}
.news-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px 15px;
    position: relative;
    z-index: 2;
}
.news-card__meta {
    color: #6a7788;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.news-card__title {
    color: #2a2a30;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.news-card__excerpt {
    color: #343842;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}
.news-card__footer {
    border-top: 1px solid rgba(37, 54, 79, 0.12);
    margin-top: 4px;
    padding-top: 12px;
}
.news-card__link {
    color: #1f75cf;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.news-card__link:hover {
    color: #0f5fb3;
}
.news-load-more-shell {
    display: flex;
    justify-content: center;
    padding-top: 8px;
    width: 100%;
}
.news-load-more {
    appearance: none;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 54, 79, 0.16);
    border-radius: 999px;
    color: #1f75cf;
    cursor: pointer;
    font-family: 'ArialRoundedBoldLocal', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 12px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.news-load-more:hover {
    border-color: rgba(31, 117, 207, 0.34);
    box-shadow: 0 10px 22px rgba(31, 117, 207, 0.12);
    color: #0f5fb3;
    transform: translateY(-1px);
}
.news-cards-empty {
    color: #7a7f86;
    font-size: 17px;
    padding: 36px 0;
    text-align: center;
}
.news-page-main {
    padding: 48px 0 20px;
}
.latest-news-section--page {
    padding-top: 24px;
}
.news-timeline-section {
    background:
        radial-gradient(circle at 8% 14%, rgba(176, 213, 176, 0.18) 0, rgba(176, 213, 176, 0.18) 3px, transparent 4px),
        radial-gradient(circle at 88% 10%, rgba(194, 213, 255, 0.2) 0, rgba(194, 213, 255, 0.2) 3px, transparent 4px),
        radial-gradient(circle at 92% 58%, rgba(183, 222, 187, 0.18) 0, rgba(183, 222, 187, 0.18) 3px, transparent 4px),
        linear-gradient(180deg, #fcfbf7 0%, #faf9f5 100%);
}
.news-timeline-shell {
    max-width: 1380px;
    padding-bottom: 48px;
}
.news-timeline-stream {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.news-timeline-item {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 148px;
    position: relative;
}
.news-timeline-item__rail {
    display: flex;
    justify-content: center;
    position: relative;
}
.news-timeline-item__rail::before {
    background: linear-gradient(180deg, rgba(26, 33, 46, 0.08), rgba(26, 33, 46, 0.08));
    content: "";
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
}
.news-timeline-item:first-child .news-timeline-item__rail::before {
    top: 30px;
    height: calc(100% - 30px);
}
.news-timeline-item:last-child .news-timeline-item__rail::before {
    height: 30px;
}
.news-timeline-item__marker {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(28, 36, 52, 0.08);
    color: #565d67;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    width: 34px;
    z-index: 1;
}
.news-timeline-item__marker i {
    color: inherit;
    font-size: 13px;
}
.news-timeline-item__content {
    border-bottom: 1px solid rgba(16, 24, 40, 0.05);
    column-gap: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    padding: 24px 0 28px;
}
.news-timeline-item__copy {
    min-width: 0;
}
.news-timeline-item__title,
.news-timeline-item__title a {
    color: #131518;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(18px, 1.45vw, 24px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.18;
    text-decoration: none;
}
.news-timeline-item__title a:hover {
    color: #111111;
}
.news-timeline-item__excerpt {
    color: #656b74;
    font-size: 16px;
    line-height: 1.62;
    margin-top: 10px;
    max-width: 1120px;
}
.news-timeline-item__media {
    border-radius: 18px;
    margin-top: 16px;
    max-width: min(170px, 100%);
    overflow: hidden;
}
.news-timeline-item__media img {
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}
.news-timeline-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.news-timeline-item__badge {
    background: #f2f2f2;
    border-radius: 9px;
    color: #575b63;
    display: inline-flex;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.05;
    padding: 4px 8px;
}
.news-timeline-item__badge--award {
    background: #fff4cb;
    color: #b58512;
}
.news-timeline-item__badge--media {
    background: #e8f1ff;
    color: #2f5fb3;
}
.news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 0 auto 28px;
}
.news-filter-btn {
    background: #ffffff;
    border: 1px solid #e3e1ea;
    border-radius: 999px;
    color: #4b4f58;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.news-filter-btn:hover {
    border-color: #b9b2d6;
    color: #1b1b1b;
}
.news-filter-btn.is-active {
    background: #1b1b1b;
    border-color: #1b1b1b;
    color: #ffffff;
}
.news-timeline-item__date {
    color: #70757f;
    font-size: 15px;
    line-height: 1.5;
    padding-top: 4px;
    text-align: right;
    white-space: nowrap;
}
.news-timeline-page .news-cards-empty {
    padding: 60px 0 80px;
}
.publication-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 1px;
}
@media (max-width: 1380px) {
    .publication-year-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 980px) {
    .publication-year-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .publication-year-group {
        padding-left: 20px;
    }
    .publication-year-group h2 {
        font-size: 16px;
    }
}
.bottom-section p {
    font-size: 12px;
}
.bottom-section a {
    text-decoration: none;
    font-size: 14px;
    color: #dad6d6;
    padding: 10px 0px;
    display: block;
}
.bottom-section a:hover {
    color: #ffffff;
}
.bottom-section h3 {
    font-size: 16px;
    color: #ffffff;
    padding: 10px 0px;
    background-color: #000000;
}
/* site footer */
.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 22px 48px;
    background-color: #14111c;
    color: #cfcadb;
}
.site-footer * {
    color: inherit;
}
.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-self: start;
    min-width: 0;
}
.site-footer-logo {
    display: flex;
    flex: none;
    padding: 6px 10px;
    border-radius: 12px;
    background-color: #ffffff;
}
.site-footer-logo img {
    display: block;
    width: auto;
    height: 40px;
}
.site-footer-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.site-footer-name strong {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}
.site-footer-name span {
    font-size: 12px;
    color: #9a94ab;
}
.site-footer-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 12.5px;
    font-style: normal;
    line-height: 1.6;
    text-align: center;
    color: #cfcadb;
}
.site-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    justify-self: end;
}
.site-footer-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid #3a3450;
    border-radius: 999px;
    background-color: transparent;
    color: #cfcadb;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.site-footer-top:hover,
.site-footer-top:focus-visible {
    border-color: #7b3fe4;
    background-color: rgba(123, 63, 228, 0.18);
    color: #ffffff;
}
.site-footer-copy {
    font-size: 12px;
    color: #7d778d;
}
@media (max-width: 1199px) {
    .site-footer {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 18px;
        padding: 22px 32px;
    }
    .site-footer-address {
        grid-column: 1 / -1;
        grid-row: 2;
        align-items: flex-start;
        text-align: left;
    }
}
@media (max-width: 767px) {
    .site-footer {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 18px;
        padding: 28px 20px 24px;
        text-align: center;
    }
    .site-footer-brand,
    .site-footer-meta {
        justify-self: center;
    }
    .site-footer-brand {
        flex-direction: column;
        gap: 10px;
    }
    .site-footer-address {
        grid-row: auto;
        align-items: center;
        text-align: center;
    }
    .site-footer-meta {
        align-items: center;
    }
}
#click {
    display: none;
    }
.bars i {
   display: none;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(23, 20, 32, 0.92);
    justify-content: space-between;
    padding: 0px 20px;
    z-index: 3;
    padding: 13px 20px;
}


/* media query */
@media (max-width: 767px) {
.head-container {
    padding-top: 0;
}
.gooey-nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    top: 1.2em;
}
.gooey-logo img {
    height: 64px;
    max-width: min(260px, 72vw);
}
.gooey-nav-container {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
}
.gooey-nav-container nav ul {
    gap: 0.1em;
}
.gooey-nav-container nav ul li a {
    font-size: 13px;
    padding: 0.55em 0.75em;
}
.lang-toggle {
    align-self: flex-end;
    padding: 10px 14px;
}
.hero-main {
    min-height: 100vh;
    padding: 100px 0px 40px;
}
.hero {
    flex-direction: column;
    margin: 40px 0px;
}
.hero p {
    font-size: 14px;
    text-align: center;
    padding: 0px 20px;
}
.hero h1 {
    font-size: 32px;
    text-align: center !important;
    padding: 0px 20px;
}
.hero-card-swap {
    min-height: 380px;
    order: -1;
    width: 100%;
}
.latest-news-section {
    padding: 0;
}
.latest-news-shell {
    padding: 0 20px;
}
.research-directions-section {
    padding: 56px 20px 12px;
}
.research-directions-heading h2 {
    font-size: 32px;
}
.research-directions-grid {
    grid-template-columns: 1fr;
}
.research-direction-card {
    min-height: 150px;
    padding: 24px;
}
.research-direction-card h3 {
    font-size: 26px;
}
.highlighted-projects-section {
    padding: 0 20px;
}
.latest-news-stream {
    gap: 20px;
}
.news-timeline-shell {
    padding-bottom: 24px;
}
.news-timeline-item {
    grid-template-columns: 50px minmax(0, 1fr);
}
.news-timeline-item__marker {
    height: 30px;
    margin-top: 28px;
    width: 30px;
}
.news-timeline-item__content {
    grid-template-columns: 1fr;
    padding: 24px 0 24px;
    row-gap: 10px;
}
.news-timeline-item__title,
.news-timeline-item__title a {
    font-size: 20px;
}
.news-timeline-item__excerpt {
    font-size: 15px;
}
.news-timeline-item__media {
    border-radius: 14px;
    margin-top: 14px;
}
.news-timeline-item__date {
    padding-top: 0;
    text-align: left;
}
.news-card {
    flex-basis: min(100%, 280px);
}
.highlighted-projects-heading h2,
.latest-news-heading h2 {
    font-size: 32px;
}
.news-card__body {
    padding: 15px 15px 14px;
}
.news-card__title {
    font-size: 17px;
}
.card-swap-container {
    bottom: 10px;
    height: 400px;
    right: 20px;
    transform: scale(0.72) translate(18%, 20%);
    width: 500px;
}
.hero img {
    order: -1;
    width: 100%;
    height: auto;
    padding: 0px 13px 0px 10px;
}
.hero button {
    display: block;
    padding: 12px 5px;
    margin: 0 auto;
    margin-top: 20px;
}
.bg-black {
    width: 300px;
}
.counter {
    display: flex;
    flex-direction: column;
}
.counter h1 {
    font-size: 50px;
    margin-top: 30px;
}
.counter h3 {
    font-size: 20px;
    line-height: 15px;
}
.before-bottom {
    flex-direction: column;
}
.before-bottom h1, .before-bottom p {
    text-align: center;
  }
  .before-bottom button {
    margin-top: 30px;
  }
  .bottom-section {
    flex-wrap: wrap;
    text-align: center;
  }
  .bottom-section > * {
    width: 280px;
  }
  .bottom-section .bottom-1 {
    width: 280px;
  }
  .bottom-section .bottom-5 {
    width: 280px;
  }
  .services > * {
    flex: 1 1 260px;
  }
  .subscribe {
    position: relative;
    display: block;
    margin: 0 auto;
    left: auto;
    text-align: center;
  }
.subscribe button {
    position: initial;
    margin-bottom: 20px;
}
.team, .team h3, .team p {
    text-align: center;
}
  /* responsive menu */
  .menu {
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0px;
    left: -100%;
    height: 100vh;
    width: 100%;
    transition: all 0.5s ease;
    background-color: #016eb9;
    align-items: center;
    margin-top: 0px;
  }
  .menu a {
    color: #fff;
  }
  .menu-items {
    padding: 10px 0px;
    text-align: center;
    margin: 13px 0px;
    justify-content: center;
  }
  .menu-items:hover {
    font-weight: bold;
    text-decoration: none;
  }
  .bars, .bars i {
    position: fixed;
    right: 21px;
    z-index: 2;
    display: block;
    margin-top: -6px;
    font-size: 18px;
    color: #1b1b1b;
  }
  #click:checked ~ .menu {
    left: 0%;
    transition: all 0.5s ease;
  }
  #click:checked ~ .bars i::before {
    content: '\f00d';
  }
}
@media (max-width: 480px) {
    .card-swap-container {
        right: 10px;
        transform: scale(0.55) translate(25%, 25%);
    }
    .hero-card-swap {
        min-height: 310px;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .news-card {
        flex-basis: clamp(220px, 24vw, 280px);
    }
    .research-directions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
