/*
 * Quantum Ket - the look of the 2026 brochure: night blue, white and pale grey,
 * a cyan accent, Poppins, rounded cards, the field lines of a magnetic dipole.
 * Mobile breakpoint 860 px, the same one site.js uses.
 */

:root
{
    --navy: #0A1628;
    --navy-2: #102240;
    --ink: #17213A;
    --text: #3F4A60;
    --muted: #6B7589;
    --line: #DDE3EC;
    --pale: #F4F6FA;
    --white: #FFFFFF;
    --cyan: #5CD6F2;
    --blue: #1478B0;
    --radius: 14px;
    --wrap: 1160px;
    --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body
{
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, a, summary, [role="button"] { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.2; font-weight: 600; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden
{
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
}
.visually-hidden:focus
{
    position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100;
    background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px;
}
.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }
.muted { color: var(--muted); }
.placeholder { background: #FFF1B8; color: #5A4300; padding: 0 4px; border-radius: 4px; }

/* ------------------------------------------------------------------ header */

.site-header
{
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 22, 40, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
/* the blur lives on a pseudo-element: a backdrop-filter on the header itself would make it the
   containing block of the fixed mobile menu, which then overflows the page to the right */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; backdrop-filter: saturate(140%) blur(6px); pointer-events: none; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.site-logo img { width: 92px; height: auto; }
.site-logo { display: block; padding: 6px 0; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__link
{
    display: block; padding: 10px 12px; border-radius: 8px; color: #D6DEEA; text-decoration: none;
    font-size: 15px; font-weight: 400; background: none; border: 0; font-family: inherit;
}
.nav__link:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav__item--current .nav__link { color: var(--white); box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
.lang { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.lang a { display: block; padding: 6px; border-radius: 6px; opacity: .55; }
.lang a[aria-current="true"], .lang a:hover { opacity: 1; }
.lang img { width: 22px; height: 15px; border-radius: 2px; }

.menu-toggle
{
    display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--white); font-size: 20px;
    align-items: center; justify-content: center;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

@media (max-width: 860px)
{
    .menu-toggle { display: inline-flex; }
    .nav
    {
        position: fixed; top: 77px; right: 0; bottom: 0; width: min(340px, 100%);
        flex-direction: column; align-items: stretch; gap: 16px; padding: 20px;
        background: var(--navy); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
        overflow-y: auto; box-shadow: -12px 0 30px rgba(0, 0, 0, .3);
    }
    .nav.is-open { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
    .nav__list { flex-direction: column; }
    .nav__link { padding: 14px 12px; font-size: 17px; }
    .nav__item--current .nav__link { box-shadow: inset 3px 0 0 var(--cyan); }
    .lang { padding: 8px 12px; }
    html.nav-open { overflow: hidden; }
}

/* -------------------------------------------------------------------- hero */

.hero
{
    position: relative; overflow: hidden; color: #C9D4E5;
    background: var(--navy) center / cover no-repeat;
    padding: 120px 0 130px;
}
.hero--plain
{
    background-image: url("/assets/img/field-lines-animated.svg"), radial-gradient(1200px 600px at 75% 50%, #12305A 0%, var(--navy) 60%);
    background-repeat: no-repeat;
    background-size: 760px auto, cover;
    background-position: right -120px center, center;
}
.hero__inner { position: relative; max-width: var(--wrap); }
.hero__eyebrow, .eyebrow
{
    font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
    color: var(--blue); margin: 0 0 14px;
}
.hero__eyebrow { color: var(--cyan); }
.hero__eyebrow::before, .page-head .eyebrow::before
{
    content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--cyan); margin-bottom: 18px;
}
.hero__title { color: var(--white); font-size: clamp(40px, 6.4vw, 76px); font-weight: 500; line-height: 1.05; max-width: 12ch; margin-bottom: 24px; }
.hero__subtitle { font-size: clamp(18px, 2vw, 22px); max-width: 34ch; line-height: 1.5; color: #C9D4E5; }
.hero__tags { font-size: 15px; color: #8FA0BA; margin-top: 8px; }
.hero .btn { margin-top: 18px; }

@media (max-width: 860px)
{
    .hero { padding: 72px 0 88px; }
    /* the centre of the drawing (the tangent point) stays inside the screen */
    .hero--plain { background-size: 420px auto, cover; background-position: right -170px top 0, center; }
}

/* ---------------------------------------------------------------- buttons */

.btn
{
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 26px;
    border-radius: 999px; background: var(--cyan); color: var(--navy); font-weight: 600; text-decoration: none;
    border: 2px solid var(--cyan); transition: background .15s, color .15s;
}
.btn:hover { background: transparent; color: var(--cyan); }
.section:not(.section--dark) .btn:hover, .cta .btn:hover { color: var(--navy); background: #B9EEFA; }

/* --------------------------------------------------------------- sections */

.section { padding: 84px 0; }
.section--panel { background: var(--pale); }
.section--dark { background: var(--navy); color: #C3CEDF; }
.section--dark h2, .section--dark h3, .section--dark .section__title { color: var(--white); }
.section--dark .eyebrow { color: var(--cyan); }
.section--tight { padding: 40px 0; }
.section__head { max-width: 760px; margin-bottom: 40px; }
.section__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 500; }
.section__intro { font-size: 18px; }
.section__intro p:last-child { margin-bottom: 0; }
.section__after { margin-top: 28px; }
.section > .wrap > .btn { margin-top: 28px; }
@media (max-width: 860px) { .section { padding: 60px 0; } }

/* page head of inner pages */
.page-head
{
    background: var(--navy) url("/assets/img/field-lines.svg") right -160px center / 560px auto no-repeat;
    color: #C9D4E5; padding: 84px 0 76px;
}
.page-head .eyebrow { color: var(--cyan); }
.page-head__title { color: var(--white); font-size: clamp(32px, 5vw, 56px); font-weight: 500; max-width: 20ch; margin: 0; }
@media (max-width: 860px) { .page-head { padding: 56px 0 52px; background-position: right -200px center; } }

/* ------------------------------------------------------------------- steps */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step
{
    display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: start;
    padding: 28px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
}
.step:first-child { background: var(--navy-2); border-color: var(--navy-2); }
.step:first-child .step__title { color: var(--white); }
.step:first-child .step__text { color: #C3CEDF; }
.step__num { font-size: 40px; line-height: 1; color: var(--blue); font-weight: 500; }
.step:first-child .step__num { color: var(--cyan); }
.step__title { font-size: 22px; margin-bottom: 6px; }
.step__text p:last-child { margin: 0; }
.section--dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .step__title { color: var(--white); }
.section--dark .step__num { color: var(--cyan); }
.section--dark .step:first-child { background: var(--cyan); border-color: var(--cyan); }
.section--dark .step:first-child .step__num,
.section--dark .step:first-child .step__title,
.section--dark .step:first-child .step__text { color: var(--navy); }
@media (min-width: 861px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- tiles */

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tiles--cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tiles--chips { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tiles--facts { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { border-radius: var(--radius); scroll-margin-top: 100px; }
.tiles--cards .tile { background: var(--pale); padding: 30px; position: relative; }
.tiles--cards .tile::before { content: ""; display: block; width: 38px; height: 4px; background: var(--blue); border-radius: 2px; margin-bottom: 22px; }
.section--panel .tiles--cards .tile { background: var(--white); }
.tile__title { font-size: 22px; }
.tile__text p:last-child { margin-bottom: 0; }
.tile__kicker { color: var(--blue); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.tile__more { margin-top: 16px; font-weight: 600; color: var(--blue); }
.tile__more::after { content: " \2192"; }
.tile__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.tiles--cards .tile:has(.tile__link) { padding: 0; }
.tiles--cards .tile:has(.tile__link)::before { position: absolute; top: 30px; left: 30px; }
.tiles--cards .tile__link { padding: 56px 30px 30px; border-radius: var(--radius); border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.tiles--cards .tile__link:hover { border-color: var(--blue); transform: translateY(-2px); }
.tiles--chips .tile { background: var(--navy); }
.tiles--chips .tile__title { color: var(--white); font-size: 18px; font-weight: 500; margin: 0; padding: 22px 24px; }
.tiles--facts .tile { border-top: 1px solid rgba(255, 255, 255, .16); border-radius: 0; padding-top: 18px; }
.tiles--facts .tile__title { font-size: 20px; color: var(--white); margin-bottom: 4px; }
.tiles--facts .tile__text { color: #9FB0C8; }
.tiles--facts .tile__link { color: inherit; }
.tiles--facts .tile__link:hover .tile__title { color: var(--cyan); }
.section--dark .tiles--facts .tile__link:hover { color: inherit; }

/* ------------------------------------------------------------------ people */

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.people--profiles { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.people--profiles .person { background: var(--pale); border-radius: var(--radius); overflow: hidden; }
.people--profiles .person__photo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 20%; }
.people--profiles .person__body { padding: 26px 28px 30px; }
.person__name { font-size: 24px; margin-bottom: 4px; }
.person__role { color: var(--blue); font-weight: 600; font-size: 15px; }
.person__bio p { font-size: 16px; }
.people--compact { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.people--compact .person { background: var(--white); border-radius: var(--radius); }
.person__open { all: unset; box-sizing: border-box; width: 100%; min-height: 140px; display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.person__open:hover, .person__open:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(10, 22, 40, .14); border-color: var(--cyan); }
.person__open:hover .person__photo, .person__open:focus-visible .person__photo { transform: scale(1.06); }
.person__open:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.people--compact .person__photo { transition: transform .2s ease; }
.people--compact .person__name { display: block; }
.people--compact .person__role { display: block; }
@media (prefers-reduced-motion: reduce) { .person__open, .person__open .person__photo { transition: none; } .person__open:hover { transform: none; } .person__open:hover .person__photo { transform: none; } }
.bio-dialog { width: 33.333vw; min-width: 420px; max-width: 640px; max-height: 88vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 24px 64px rgba(10, 22, 40, .35); }
.bio-dialog::backdrop { background: rgba(10, 22, 40, .72); }
.bio-dialog__inner { position: relative; padding: 32px; overflow-y: auto; max-height: 88vh; box-sizing: border-box; }
.bio-dialog__close { all: unset; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; color: var(--navy); background: var(--pale); }
.bio-dialog__close:hover, .bio-dialog__close:focus-visible { background: var(--cyan); }
.bio-dialog__close .icon { width: 18px; height: 18px; }
.bio-dialog__photo { display: block; width: 100%; aspect-ratio: 1 / 1; max-height: 420px; object-fit: cover; object-position: center 25%; border-radius: var(--radius); margin-bottom: 20px; }
.bio-dialog__name { font-size: 24px; margin: 0 0 4px; }
.bio-dialog__role { color: var(--blue); font-weight: 600; margin: 0 0 16px; }
.bio-dialog .person__bio p { font-size: 15px; }
.bio-dialog__social { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--pale); }
.bio-dialog__social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--blue); text-decoration: none; cursor: pointer; }
.bio-dialog__social a:hover, .bio-dialog__social a:focus-visible { text-decoration: underline; }
.bio-dialog__social .icon { width: 18px; height: 18px; }
body.has-dialog { overflow: hidden; }
@media (max-width: 760px) { .bio-dialog { width: 100vw; min-width: 0; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; } .bio-dialog__inner { max-height: 100dvh; height: 100%; padding: 24px 16px; } .bio-dialog__photo { max-height: 360px; } }
.people--compact .person__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.person__photo--none { display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--cyan); font-weight: 600; }
.people--compact .person__name { font-size: 19px; margin: 0 0 2px; }
.people--compact .person__role { font-size: 14px; color: var(--blue); margin: 0; }

/* ----------------------------------------------------------------- gallery */

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery__item { margin: 0; }
.gallery__item:first-child { grid-column: 1 / -1; }
.gallery__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.gallery__item:first-child img { aspect-ratio: 16 / 7.5; }
.gallery__item figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } .gallery__item:first-child img { aspect-ratio: 16 / 10; } }

/* ----------------------------------------------------------------- compare */

.section__intro h3 { margin-top: 34px; font-size: 22px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; }
.compare__side { border-left: 4px solid #9AA6B8; padding: 4px 0 4px 20px; }
.compare__side--right { border-color: var(--blue); }
.compare__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.compare__text { color: var(--ink); font-size: 18px; }
.compare__side--left .compare__text { color: var(--text); }
.compare__text p:last-child { margin: 0; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- cta */

.cta { text-align: center; max-width: 720px; }
.cta .section__title { margin-bottom: 12px; }
.cta__text { font-size: 18px; margin-bottom: 22px; }

/* ------------------------------------------------------------------ prose */

.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose .lead { font-size: 21px; color: var(--ink); line-height: 1.55; }
.prose figure { margin: 28px 0; }
.prose figure img, .prose figure video { border-radius: var(--radius); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--cyan); color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.post-figure { float: right; width: 42%; margin: 4px 0 20px 28px; border-radius: var(--radius); }
.post-back { clear: both; margin-top: 40px; font-weight: 600; }
@media (max-width: 640px) { .post-figure { float: none; width: 100%; margin: 0 0 24px; } }

/* -------------------------------------------------------------- blog cards */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--pale); border-radius: var(--radius); overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.card__title { font-size: 19px; line-height: 1.35; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--blue); }
.card__text { font-size: 15px; }
.card__more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card__more::after { content: " \2192"; display: inline-block; transition: margin .25s ease; }
/* News cards: the whole card is the link (stretched title link); lift, shadow and image zoom on hover. */
.card { position: relative; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.card__media { display: block; overflow: hidden; }
.card__media img { transition: transform .5s ease; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover, .card:focus-within { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(10, 22, 40, .35); }
.card:hover .card__media img, .card:focus-within .card__media img { transform: scale(1.06); }
.card:hover .card__title a { color: var(--blue); }
.card:hover .card__more::after { margin-left: 6px; }
.card:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.card__title a:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) { .card, .card__media img { transition: none; } .card:hover, .card:focus-within { transform: none; } .card:hover .card__media img, .card:focus-within .card__media img { transform: none; } }

/* ---------------------------------------------------------------- contact */

.contact-intro { margin-bottom: 30px; }
.contact-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.contact-card
{
    display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px;
    background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 22px 26px; min-width: min(100%, 320px);
}
.contact-card__icon
{
    grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 50%; background: var(--cyan); color: var(--navy);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-card__label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #9FB0C8; }
.contact-card__value { color: var(--white); font-size: 20px; font-weight: 600; text-decoration: none; }
.contact-card__value:hover { color: var(--cyan); }

/* ----------------------------------------------------------------- footer */

.site-footer { background: #07101F; color: #9FB0C8; padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: #D6DEEA; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.site-footer__brand img { width: 110px; height: auto; margin-bottom: 14px; }
.site-footer__nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 8px; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: 13px; }
.site-footer__legal p { margin: 0 0 6px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__nav a { padding: 6px 0; } }

/* -------------------------------------------------------------- to top */

.to-top
{
    position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: var(--cyan); color: var(--navy); font-size: 18px; opacity: 0; pointer-events: none;
    transition: opacity .2s; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.hero__for { font-size: 16px; color: #E3EAF4; font-weight: 600; margin-top: 4px; margin-bottom: 4px; }
.post-source { clear: both; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; }
.tiles--chips .tile__img { width: 40px; height: 40px; margin: 20px 24px -8px; }
.tiles--chips .tile { display: flex; flex-direction: column; }
.prose .figure-wide img { width: 100%; height: auto; border-radius: var(--radius); }
.post-translation { font-size: 15px; color: var(--muted); font-style: italic; margin-bottom: 20px; }

.person__more { margin: 16px 0 0; }
.person__more-btn { all: unset; display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.person__more-btn:hover, .person__more-btn:focus-visible { border-bottom-color: var(--cyan); }
.person__more-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* the partners' cards: the whole card opens the full biography */
.people--profiles .person { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.people--profiles .person__photo { transition: transform .3s ease; }
.people--profiles .person:has(.person__more-btn) { overflow: hidden; }
.people--profiles .person__more-btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); border: 1px solid transparent; transition: border-color .2s ease; }
.people--profiles .person:has(.person__more-btn):hover, .people--profiles .person:has(.person__more-btn:focus-visible) { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(10, 22, 40, .14); }
.people--profiles .person:has(.person__more-btn):hover .person__photo { transform: scale(1.04); }
.people--profiles .person:has(.person__more-btn):hover .person__more-btn::after { border-color: var(--cyan); }
.people--profiles .person:has(.person__more-btn):hover .person__more-btn { border-bottom-color: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .people--profiles .person, .people--profiles .person__photo { transition: none; } .people--profiles .person:hover, .people--profiles .person:hover .person__photo { transform: none; } }

/* cards with a pictogram: the icon takes the place of the accent bar */
.tiles--cards .tile:has(.tile__img)::before { display: none; }
.tiles--cards .tile__img { display: block; width: 56px; height: 56px; margin: 0 0 18px; }
.tiles--cards .tile:has(.tile__img) .tile__link { padding-top: 30px; }

/* Consulenza: the map of the four areas beside their cards. The map stays in view while the
   cards scroll; a card under the pointer lights up its node, a node leads to its card. */
.tiles-aside { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.tiles-aside__art { position: sticky; top: 100px; }
.tiles-aside .tiles--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.areas-map { display: block; width: 100%; height: auto; }
.areas-map text { fill: #FFFFFF; font-size: 19px; font-weight: 600; }
.areas-map__line { stroke: #5CD6F2; stroke-width: 1.6; stroke-opacity: .65; fill: none; stroke-dasharray: 4 8; animation: areas-flow 1.4s linear infinite; }
.areas-map__core { fill: #102240; stroke: #5CD6F2; stroke-width: 2; }
.areas-map__dot { fill: #102240; stroke: #5CD6F2; stroke-width: 2; transition: fill .2s ease, stroke-width .2s ease; }
.areas-map__node--core .areas-map__dot { fill: #5CD6F2; }
.areas-map__node { cursor: pointer; outline: none; }
.areas-map__pulse { fill: none; stroke: #5CD6F2; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: areas-pulse 2.4s ease-out infinite; }
.areas-map__node:hover .areas-map__dot, .areas-map__node:focus-visible .areas-map__dot { stroke-width: 4; fill: #1478B0; }
.areas-map__node--core:hover .areas-map__dot, .areas-map__node--core:focus-visible .areas-map__dot { fill: #8FE6F8; }
.areas-map__node:focus-visible text { text-decoration: underline; }
.tiles-aside:has(#sensing:hover) .areas-map__node--sensing .areas-map__dot { stroke-width: 4; fill: #8FE6F8; }
.tiles-aside:has(#communication:hover) .areas-map__node--communication .areas-map__dot,
.tiles-aside:has(#computing:hover) .areas-map__node--computing .areas-map__dot,
.tiles-aside:has(#networking:hover) .areas-map__node--networking .areas-map__dot { stroke-width: 4; fill: #1478B0; }
.tiles-aside:has(#sensing:hover) .areas-map__line--sensing,
.tiles-aside:has(#communication:hover) .areas-map__line--communication,
.tiles-aside:has(#computing:hover) .areas-map__line--computing,
.tiles-aside:has(#networking:hover) .areas-map__line--networking { stroke-opacity: 1; stroke-width: 2.6; }
.tiles-aside .tile { transition: transform .2s ease, box-shadow .2s ease; }
.tiles-aside .tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10, 22, 40, .10); }
.tiles-aside .tile:target { box-shadow: 0 0 0 2px var(--cyan); }
@keyframes areas-flow { to { stroke-dashoffset: -24; } }
@keyframes areas-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .areas-map__line, .areas-map__pulse { animation: none; } .areas-map__pulse { display: none; } .tiles-aside .tile:hover { transform: none; } }
@media (max-width: 980px) { .tiles-aside { grid-template-columns: 1fr; } .tiles-aside__art { position: static; max-width: 480px; } }
@media (max-width: 640px) { .tiles-aside .tiles--cards { grid-template-columns: 1fr; } }

/* the map as a chooser (site.js adds .is-interactive): larger map, one card beside it */
.tiles-aside.is-interactive { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.tiles-aside.is-interactive .tiles-aside__art { position: static; }
.tiles-aside.is-interactive .tiles--cards { grid-template-columns: 1fr; }
.tiles-aside.is-interactive .tile { display: none; }
.tiles-aside.is-interactive .tile.is-active { display: block; animation: area-card-in .35s ease; box-shadow: 0 0 0 2px var(--cyan); }
.tiles-aside.is-interactive .tile:hover { transform: none; }
.tiles-aside.is-interactive .tiles--cards .tile .tile__img { width: 64px; height: 64px; }
.tiles-aside.is-interactive .tile__title { font-size: 26px; }
.areas-map__node.is-active .areas-map__dot { stroke-width: 4; fill: #1478B0; }
.areas-map__node--core.is-active .areas-map__dot { fill: #8FE6F8; }
.areas-map__node.is-active text { fill: #5CD6F2; }
.tiles-aside:has(.areas-map__node--sensing.is-active) .areas-map__line--sensing,
.tiles-aside:has(.areas-map__node--communication.is-active) .areas-map__line--communication,
.tiles-aside:has(.areas-map__node--computing.is-active) .areas-map__line--computing,
.tiles-aside:has(.areas-map__node--networking.is-active) .areas-map__line--networking { stroke-opacity: 1; stroke-width: 2.6; }
@keyframes area-card-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tiles-aside.is-interactive .tile.is-active { animation: none; } }
@media (max-width: 980px) { .tiles-aside.is-interactive { grid-template-columns: 1fr; gap: 20px; } .tiles-aside.is-interactive .tiles-aside__art { max-width: none; } }

/* Easter egg: page-head drawing that animates under the pointer (layers added by site.js). */
.page-head.has-art { position: relative; overflow: hidden; background-image: none; }
.page-head.has-art > .wrap { position: relative; z-index: 1; pointer-events: none; }
.page-head.has-art > .wrap * { pointer-events: auto; }
.page-head__art { position: absolute; width: 560px; aspect-ratio: 1; right: -160px; top: 50%; transform: translateY(-50%); cursor: crosshair; }
.page-head__lines { position: absolute; inset: 0; background: url("/assets/img/field-lines.svg") center / contain no-repeat; transition: opacity .7s ease; }
.page-head__lines--live { background-image: url("/assets/img/field-lines-animated.svg"); opacity: 0; }
.page-head__art.is-live .page-head__lines { opacity: 0; }
.page-head__art.is-live .page-head__lines--live { opacity: 1; }
@media (max-width: 860px) { .page-head__art { right: -200px; } }
@media (prefers-reduced-motion: reduce) { .page-head__lines { transition: none; } }

/* No word left alone on the last line: headings are balanced and break at their punctuation
   (SiteBuild wraps each clause in .phrase), running text avoids one-word last lines. */
h1, h2, h3, h4, .hero__title, .page-head__title, .section__title { text-wrap: balance; }
.phrase { display: inline-block; }
p, li, dd, figcaption, blockquote { text-wrap: pretty; }
