.reference-home { font-family: 'Source Sans 3',Arial,sans-serif; color: #111; background: #fff; letter-spacing: 0; }
.home-reference-page #back-top-btn { width: 48px; height: 48px; min-width: 48px; min-height: 48px; padding: 0; aspect-ratio: 1; line-height: 1; color: #fff; }
.home-reference-page #back-top-btn svg { display: block; width: 24px; height: 24px; margin: auto; }
.home-cms-banners { padding: 48px clamp(24px,3.5vw,50px); background: #272566; color: #fff; }
.home-cms-banners .homepage-slider { overflow: hidden; }
.home-cms-banners .swiper-slide > .row { margin: 0; padding-bottom: 8px; }
.home-cms-banners .home-cms-banners__description { font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; }
.home-cms-banners h2 { color: inherit; font: 700 28px/1.3 'Playfair Display',Georgia,serif; }
.home-cms-banners .img-fluid { max-width: 100%; height: auto; }
.home-cms-banners a { color: inherit; }
.home-cms-banners .home-carousel-controls { justify-content: flex-end; margin-top: 24px; }
.home-cms-banners .home-arrow { color: #fff; border-color: currentColor; }
.reference-home * { box-sizing: border-box; }
.reference-home h1,.reference-home h2,.reference-home h3,.reference-home p { margin: 0; letter-spacing: 0; }
.reference-home a { color: inherit; text-decoration: none; }
.home-heading { font: 700 35px/1.2 'Playfair Display',Georgia,serif; color: #111; }
.home-heading::after { content: ''; display: block; width: 98px; height: 1px; background: #f44336; margin-top: 12px; }
.home-command { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 42px; padding: 10px 22px; color: #fff !important; background: #f44336; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.home-hero { position: relative; min-height: 460px; display: flex; align-items: center; isolation: isolate; }
.home-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.home-hero::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 83.333333%; z-index: -1; background: linear-gradient(270deg, rgba(78, 74, 204, 0) 28.785%, #272566 100%); pointer-events: none; }
.home-hero__copy { padding: 48px 50px; transform: translateY(24px); color: #fff; }
.home-hero h1 { font: 700 50px/1.1 'Playfair Display',Georgia,serif; max-width: 785px; margin-bottom: 14px; }
.home-hero p { font-size: 20px; font-weight: 300; line-height: 1.5; }
@media (min-width: 1200px) {
    .home-hero { min-height: clamp(520px, 47.5vw, 760px); }
}
.home-statistics { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: -49px 50px 0; padding: 42px 34px; border-radius: 20px; background: #fff; box-shadow: 0 2px 5px #0003; }
.home-statistics > div { text-align: center; border-right: 1px solid #ccc; min-height: 109px; }
.home-statistics > div:last-child { border: 0; }
.home-statistics strong { color: #f44336; font: 700 35px/1.2 'Playfair Display',Georgia,serif; display: block; margin-bottom: 16px; }
.home-statistics p { font-size: 20px; font-weight: 600; line-height: 1.5; }
.home-programmes { display: grid; grid-template-columns: 292px minmax(0,1fr); gap: 50px; padding: 66px 50px 70px; scroll-margin-top: 100px; }
.home-programmes > div:first-child > p { font-size: 20px; line-height: 1.5; margin: 26px 0 74px; }
.home-carousel-controls { display: flex; gap: 26px; margin-top: 34px; }
.home-arrow { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid #3e3d8b; border-radius: 50%; background: transparent; color: #3e3d8b; font-size: 22px; }
.home-arrow:disabled { opacity: .4; cursor: default; }
.home-programme-carousel { min-width: 0; width: 100%; }
.home-programme { position: relative; aspect-ratio: 305/408; overflow: hidden; border-radius: 20px; display: flex; align-items: flex-end; isolation: isolate; }
.home-programme > img { position: absolute; width: 100%; height: 100%; inset: 0; z-index: -2; object-fit: cover; }
.home-programme::after { content: ''; position: absolute; inset: 50% 0 0; z-index: -1; background: linear-gradient(0deg,#272566e6,#27256600); }
.home-programme > div { width: 100%; color: #fff; padding: 20px 30px 28px; }
.home-programme h3 { font: 700 35px/1.2 'Playfair Display',Georgia,serif; color: #fff; margin-bottom: 8px; }
.home-programme p { color: #fff; font-size: 16px; line-height: 1.3; }
.home-updates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; padding: 12px 50px 68px; }
.home-updates > div { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.home-updates > div > .home-command { justify-self: start; }
.home-announcements { margin: 40px 0 32px; padding: 8px 26px; background: #fff; border: 1px solid #d9d9d9; border-radius: 10px; }
.home-announcements > .home-announcement { display: flex; flex-direction: column; gap: 12px; padding: 22px 0; border-bottom: 1px solid #e2e2e2; }
.home-announcement > a { display: flex; flex-direction: column; gap: 12px; }
.home-announcements > .home-announcement:last-child { border: 0; }
.home-announcement div { font-size: 18px; line-height: 1.45; }
.home-announcements time { color: #3e3d8b; font-size: 14px; font-weight: 600; line-height: 1.4; }
.home-announcement a:hover > div { color: #3e3d8b; text-decoration: underline; }
.home-event-list { display: grid; gap: 16px; margin: 40px 0 32px; align-content: start; }
.home-event-list > a { display: grid; grid-template-columns: 88px minmax(0,1fr); background: #fff; border: 1px solid #d9d9d9; min-height: 94px; }
.home-event-list > a.home-event-list__undated { grid-template-columns: minmax(0,1fr); }
.home-event-list time { display: flex; flex-direction: column; justify-content: center; align-items: center; margin: -1px 0 -1px -1px; color: #fff; background: #f44336; font: 700 18px/1.2 'Playfair Display',Georgia,serif; }
.home-event-list time strong { font-size: 32px; }
.home-event-list > a > div { padding: 10px 18px; align-self: center; }
.home-event-list h3 { font: 400 18px/1.45 'Source Sans 3',Arial,sans-serif; }
.home-event-list p { color: #535353; font-size: 14px; line-height: 1.4; margin-top: 4px; }
.home-event-list > a:hover h3 { color: #3e3d8b; text-decoration: underline; }
.home-updates :is(a,button):focus-visible { outline: 3px solid #3e3d8b; outline-offset: 3px; }
.home-updates__action { text-align: right; }
.home-empty { font-size: 20px; padding: 24px 0; }
.home-research { padding: 32px 50px 42px; }
.home-research > p { font-size: 20px; margin: 16px 0 36px; }
.home-research-carousel-shell { position: relative; }
.home-research-carousel { width: 100%; min-width: 0; }
.home-research-carousel:not(.swiper-initialized) .home-research-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.home-research-card { display: block; position: relative; border-radius: 12px; overflow: hidden; }
.home-research-card img { width: 100%; height: auto; aspect-ratio: 421/479; object-fit: cover; display: block; }
.home-research-card h3 { position: absolute; inset: auto 0 0; margin: 0; padding: 100px 24px 24px; font: 600 20px/1.4 'Source Sans 3',Arial,sans-serif; background: linear-gradient(180deg,transparent 0%,#3e3d8be6 48%,#3e3d8b 100%); color: #fff; transform: translateY(100%); transition: transform .2s; }
.home-research-card:hover h3,.home-research-card:focus h3 { transform: translateY(0); }
.home-research-carousel-shell > .home-arrow { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; transform: translateY(-50%); border-width: 1px; background: #fff; box-shadow: 0 0 0 6px #fff; font-size: 18px; cursor: pointer; }
.home-research-prev { left: -21px; }
.home-research-next { right: -21px; }
.home-research-carousel-shell > .home-arrow:disabled { opacity: 1; color: #8a88ba; border-color: #d0cee4; cursor: default; }
.home-research-carousel-shell > .home-arrow:focus-visible { outline: 3px solid #3e3d8b; outline-offset: 7px; }
.home-achievements { display: grid; grid-template-columns: 395px minmax(0,1fr); gap: 50px; min-height: 614px; align-items: center; padding: 60px 50px; background: #e5f3f7 url('../img/home-reference/home-23.jpg') center/cover no-repeat; }
.home-achievements p { font-size: 20px; line-height: 1.5; margin: 26px 0 100px; }
.home-achievements > img { width: 100%; aspect-ratio: 899/451; object-fit: cover; border-radius: 12px; }
.home-industry { position: relative; isolation: isolate; padding: 44px 50px 32px; color: #fff; background: #3e3d8b url('../img/figma-home/industry-connect-background.svg') center / cover no-repeat; }
.home-industry .home-heading { text-align: center; color: #fff; margin-bottom: 40px; font-size: 44px; font-weight: 700; }
.home-industry .home-heading::after { margin-inline: auto; }
.home-industry .home-industry-carousel { height: auto; min-height: 0; }
.home-industry-carousel .swiper-wrapper { height: auto; align-items: flex-start; }
.home-industry-carousel .home-industry-card { height: auto; }
.home-industry-card img { display: block; width: 100%; height: auto; aspect-ratio: 660/429; object-fit: cover; border-radius: 12px; }
.home-industry-card h3 { font: 400 28px/1.4 'Source Sans 3',Arial,sans-serif; margin-top: 16px; color: #fff; }
.home-industry .home-carousel-controls { justify-content: center; margin-top: 32px; }
.home-industry .home-arrow { color: #fff; border-color: #fff; }
.home-industry .home-arrow:disabled { opacity: 1; }
.home-gallery { padding: 42px 50px 90px; }
.home-gallery .home-heading { text-align: center; margin-bottom: 58px; }
.home-gallery .home-heading::after { margin-inline: auto; }
.home-gallery-grid { display: grid; grid-template-columns: 420fr 420fr 98fr 366fr; grid-template-rows: repeat(2,293px); gap: 19px 12px; }
.home-gallery-grid > a { position: relative; display: block; min-width: 0; overflow: hidden; border-radius: 12px; }
.home-gallery-grid > a:first-child { grid-row: span 2; }
.home-gallery-grid > a:nth-child(3) { grid-column: 3/5; }
.home-gallery-grid > a:nth-child(4) { grid-column: 2/4; }
.home-gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-gallery-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 24px; color: #fff; background: linear-gradient(180deg,rgba(62,61,139,0) 35%,rgba(62,61,139,.5) 65%,#3e3d8b 100%); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.home-gallery-overlay > span { font-size: 28px; line-height: 1.2; font-weight: 600; text-align: center; }
.home-gallery-grid > a:hover .home-gallery-overlay,.home-gallery-grid > a:focus-visible .home-gallery-overlay { opacity: 1; }
.reference-home a:focus-visible,.reference-home button:focus-visible { outline: 3px solid #f44336; outline-offset: 4px; }
@media (max-width: 1100px) {
    .home-programmes { grid-template-columns: 240px minmax(0,1fr); gap: 28px; }
    .home-programmes,.home-updates,.home-research,.home-achievements,.home-industry,.home-gallery { padding-inline: 24px; }
    .home-statistics { margin-inline: 24px; }
    .home-achievements { grid-template-columns: 30% minmax(0,1fr); gap: 28px; }
    .home-programme > div { padding: 16px; }
    .home-hero__copy { padding-inline: 24px; }
}
@media (max-width: 800px) {
    .home-programmes,.home-updates,.home-achievements { grid-template-columns: minmax(0,1fr); }
    .home-hero__copy { width: 100%; text-align: center; }
    .home-hero h1,.home-hero p { margin-inline: auto; }
    .home-hero p { max-width: 38rem; }
    .reference-home .home-heading { text-align: center; }
    .reference-home .home-heading::after { margin-inline: auto; }
    .home-programmes > div:first-child,.home-achievements > div:first-child { text-align: center; }
    .home-programmes > div:first-child > p,.home-achievements p { max-width: 38rem; margin-inline: auto; }
    .home-programmes .home-carousel-controls { justify-content: center; }
    .home-programme > div { text-align: center; }
    .home-updates > div > .home-command { justify-self: center; }
    .home-updates__action { text-align: center; }
    .home-empty { text-align: center; }
    .home-research > p { max-width: 38rem; margin-inline: auto; text-align: center; line-height: 1.5; }
    .home-research-card h3,.home-industry-card h3 { text-align: center; }
    .home-programmes > div:first-child > p,.home-achievements p { margin: 24px auto; }
    .home-programmes > div:first-child .home-heading br { display: none; }
    .home-research-carousel:not(.swiper-initialized) .home-research-grid { gap: 20px; }
    .home-statistics { padding: 24px 16px; }
    .home-statistics strong { font-size: 28px; }
    .home-statistics p { font-size: 16px; }
    .home-updates { gap: 44px; }
    .home-gallery-grid { grid-template-rows: repeat(2,220px); }
}
@media (max-width: 480px) {
    .home-hero { min-height: 480px; }
    .home-hero__copy { padding: 32px 16px 70px; }
    .home-hero h1 { font-size: 34px; }
    .home-hero p { font-size: 18px; }
    .home-statistics { grid-template-columns: repeat(2,minmax(0,1fr)); margin-inline: 16px; gap: 24px 0; border-radius: 12px; }
    .home-statistics > div:nth-child(2) { border: 0; }
    .home-programmes,.home-updates,.home-research,.home-achievements,.home-industry,.home-gallery { padding: 36px 16px; }
    .home-heading { font-size: 28px; }
    .home-research-carousel:not(.swiper-initialized) .home-research-grid { grid-template-columns: minmax(0,1fr); }
    .home-research-card h3 { transform: none; font-size: 18px; }
    .home-research-carousel-shell > .home-arrow { width: 32px; height: 32px; box-shadow: 0 0 0 4px #fff; font-size: 14px; }
    .home-research-prev { left: 8px; }
    .home-research-next { right: 8px; }
    .home-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; gap: 12px; }
    .home-gallery-grid > a { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1; }
    .home-gallery-grid > a:first-child { grid-column: 1/-1 !important; aspect-ratio: 420/605; }
    .home-industry-card h3 { font-size: 24px; }
    .home-industry .home-heading { font-size: 32px; }
    .home-gallery-overlay { padding: 18px; }
    .home-gallery-overlay > span { font-size: 22px; }
    .home-announcements { padding-inline: 20px; }
    .home-announcement div { font-size: 18px; }
    .home-event-list > a { grid-template-columns: 66px minmax(0,1fr); }
    .home-event-list > a > div { padding: 12px; }
    .home-event-list h3 { font-size: 17px; }
}
@media (hover: none) { .home-gallery-overlay { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .home-research-card h3,.home-gallery-overlay { transition: none; } }
