/* Content, media and funding additions to the existing visual system. */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero__accreditation { margin-top: 1rem; color: var(--text-2); font-size: .93rem; max-width: 62ch; line-height: 1.65; }
.disclosure { margin-top: 1.2rem; border-top: 1px solid var(--line); min-width: 0; }
.disclosure summary { cursor: pointer; padding: .85rem 1.3rem .85rem 0; color: var(--cyan); font-size: .94rem; line-height: 1.5; overflow-wrap: anywhere; }
.disclosure summary::marker { color: var(--pink); }
.disclosure summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; border-radius: 3px; }
.disclosure[open] > summary { color: #fff; }
.disclosure__body { padding: .2rem 0 1rem; color: var(--text-2); line-height: 1.7; overflow-wrap: anywhere; }
.disclosure__body p + p { margin-top: .85rem; }
.disclosure__body .detail-list { margin: .8rem 0; padding-left: 1.2rem; list-style: disc; }
.detail-list li + li { margin-top: .6rem; }
.reference-links { padding: 0; list-style: none; margin: 1rem 0 0; display: grid; gap: .9rem; }
.reference-links--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.6rem; }
.reference-links a, .disclosure__body a, .contact__map-column > a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.reference-links a:hover, .disclosure__body a:hover { color: #fff; }
.reference-links p { font-size: .92rem; margin-top: .3rem; }
.resource--full { display: block; }
.resource--full .eyebrow { margin-bottom: .6rem; }
.resource--full h2 { margin-bottom: .85rem; }
.service, .service > div, .t-row dd, .feature__text, .contact__info, .contact__map-column { min-width: 0; overflow-wrap: anywhere; }
.services { align-items: start; }
.status__grid { align-items: start; }
.t-row dt { flex-wrap: wrap; }
.feature__caption { position: relative; z-index: 3; }
.feature__caption .hud-tag { position: absolute; bottom: calc(100% + .8rem); }
.photo-note { display: block; padding: .45rem .9rem; background: var(--bg-2); color: var(--text-2); font-size: .8rem; }
.visit-label { font-weight: 700; margin-top: 1rem; color: #fff; }
.contact__item p { font-size: .95rem; color: var(--text-2); }
.contact__map-column { display: flex; flex-direction: column; gap: .85rem; }
.contact__map-column .map { min-height: 400px; flex: 1; }
.contact__map-column > p { color: var(--text-2); font-size: .94rem; }
.footer__bottom > p { min-width: 0; overflow-wrap: anywhere; }
.globe-info { max-height: min(70vh, 460px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 640px) {
  .reference-links--grid { grid-template-columns: 1fr; }
  .hero__accreditation { font-size: .9rem; }
  .contact__map-column .map { min-height: 360px; }
  .resource--full .feature__text { padding: 1.2rem; }
  .globe-info.globe-info--sheet { max-height: 75dvh; }
}
@media print {
  .bg, .cursor-glow, .floaters, .nav, .dock, .mnav { display: none !important; }
}

/* Keep the real building photograph complete and in its natural colours. */
.feature__media--photo img { aspect-ratio: 1672 / 941; height: auto; }
.feature__media--photo::before, .feature__media--photo picture::after { display: none; }

.media-photo { max-width: 960px; margin: 0 auto; }
.media-nav { margin-top: 1.5rem; }
.mnav.is-open .mnav__links a:nth-child(7) { transition-delay: .3s; }

/* Media: the building and its opening side by side; university film below. */
.media-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.media-gallery .media-photo { width: 100%; margin: 0; }
.media-video { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 70px -35px rgba(124, 58, 237, .7); }
.media-video--wide { max-width: 960px; margin: 0 auto; }
.media-gallery--lab-videos { align-items: stretch; }
.video-stage.video-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .85rem; padding: 1.25rem; text-align: center; }
.video-placeholder .eyebrow { margin: 0; font-size: .75rem; }
.video-placeholder__status { color: var(--cyan); font: 600 clamp(1.1rem, 2.3vw, 1.6rem)/1.4 var(--mono); text-shadow: 0 0 30px rgba(0, 255, 255, .2); }
.video-stage { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; position: relative; background: radial-gradient(ellipse at 20% 10%, rgba(0,255,255,.12), transparent 65%), radial-gradient(ellipse at 80% 90%, rgba(255,0,255,.16), transparent 65%), var(--bg-2); }
.video-stage iframe { display: block; width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.video-gate { min-height: 100%; padding: clamp(1rem, 3vw, 2rem); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .85rem; text-align: center; }
.video-gate .eyebrow { margin: 0; font-size: .75rem; }
.video-play { color: var(--cyan); font-size: 2rem; line-height: 1; text-shadow: 0 0 30px rgba(0,255,255,.4); }
.video-notice { max-width: min(100%, 48ch); font-size: .8rem; color: var(--text-2); line-height: 1.5; }
.video-copy { padding: 1.25rem; }
.video-copy .h3 { font-size: 1.05rem; line-height: 1.5; margin-bottom: .65rem; }
.video-copy > p { color: var(--text-2); font-size: .9rem; line-height: 1.65; }
.video-copy .video-source { margin-top: .65rem; font-size: .78rem; }
.video-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1rem; font-size: .85rem; }
.video-actions a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .media-gallery { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .video-gate { gap: .65rem; } .video-stage:has(.video-gate:not([hidden])) { min-height: 240px; } }

/* Compact funding acknowledgement; crop only blank vertical image margins. */
.footer__funding { margin-top: 2.5rem; }
.funding-panel {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cyan);
    text-align: center;
}
.funding-panel h2 {
    margin: 0 0 .85rem;
    color: var(--cyan);
    font: 600 .85rem/1.4 var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.funding-logos {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.1fr;
    align-items: stretch;
    gap: 20px;
    width: min(100%, 880px);
    margin: 0 auto 1rem;
}
.funding-mark {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 6px 10px;
    background: #fff;
    border-radius: 6px;
}
.funding-logo { display: block; width: 100%; min-width: 0; overflow: hidden; }
.funding-logo img { display: block; width: 100%; height: auto; }
.funding-logo--eu { aspect-ratio: 3509 / 811; }
.funding-logo--eu img { transform: translateY(-5.87595%); }
.funding-logo--ncc { aspect-ratio: 690 / 226; }
.funding-logo--ncc img { transform: translateY(-25.63291%); }
.funding-logo--eccc { aspect-ratio: 588 / 199; }
.funding-logo--eccc img { transform: translateY(-1.93237%); }
.funding-logo--eu .funding-eu-en { display: none; }
html[lang="en"] .funding-logo--eu { aspect-ratio: 4125 / 811; }
html[lang="en"] .funding-logo--eu .funding-eu-cs { display: none; }
html[lang="en"] .funding-logo--eu .funding-eu-en { display: block; }
.funding-statement { margin: 0 auto; max-width: 1100px; font-size: .95rem; line-height: 1.75; color: var(--cyan); }
.footer-map-control { align-self: flex-start; font-size: .8rem; }
@media (max-width: 700px) {
    .funding-logos { width: min(100%, 400px); grid-template-columns: 1fr 1fr; gap: 12px; }
    .funding-mark { justify-content: center; }
    .funding-mark--eu { grid-column: 1 / -1; }
    .funding-logo--eu { max-width: 360px; }
    .funding-logo--ncc { max-width: 140px; }
    .funding-logo--eccc { max-width: 160px; }
    .funding-statement { font-size: .9rem; }
}
