@font-face {
    font-family: "DM Sans";
    src: url("/assets/fonts/dm-sans.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
}
:root {
    font-family: "DM Sans", system-ui, sans-serif;
    color: #11161c;
    background: #fff;
    --gutter: clamp(1.2rem, 4.8vw, 6.5rem);
    --line: #c7ccd1;
}
* { box-sizing: border-box; }
body, h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid #418cff; outline-offset: 4px; }
.frame { max-width: 112rem; width: 100%; padding-inline: var(--gutter); margin-inline: auto; }
.skip { position: fixed; top: .4rem; left: .5rem; z-index: 10; padding: .8rem; color: #080e16; background: #fff; transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead { position: relative; z-index: 3; color: #f5f7fa; background: #080d14; }
.home .masthead { position: absolute; inset: 0 0 auto; background: linear-gradient(#070a10e5, transparent); }
.nav-wrap { display: flex; align-items: center; column-gap: clamp(.7rem, 3vw, 3.5rem); min-height: clamp(4.5rem, 6.4vw, 6.1rem); }
.group-signature { margin-right: auto; }
.group-signature img, .footer-intro img { display: block; width: 5.25rem; height: auto; filter: invert(1); }
.desktop-nav, .mobile-nav nav { display: flex; gap: clamp(.9rem, 2.2vw, 2.4rem); }
.masthead a { text-decoration: none; font-size: .95rem; }
.desktop-nav a:hover, .mobile-nav nav a:hover { text-decoration: underline; }
.investor-nav { padding: .6rem 1.05rem; border: 1px solid #a4abb5; border-radius: 4px; }
.investor-nav:hover { background: #fff; color: #11161c; }
.mobile-nav { display: none; }
.hero { position: relative; isolation: isolate; color: #fff; background: #080d14; }
.hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #06090da8, transparent 65%), linear-gradient(0deg, #04090d80, transparent 28%); }
.hero-inner { min-height: clamp(34rem, 82svh, 54rem); display: flex; align-items: end; padding-top: 8rem; padding-bottom: clamp(3.2rem, 6.2vw, 7rem); }
.hero h1, .portfolio h2, .institution h2 { font-weight: 520; line-height: .97; letter-spacing: -.065em; }
.hero h1 { font-size: clamp(3.2rem, 6.7vw, 7.5rem); }
.hero-copy p { margin: 1.35rem 0 1.6rem; max-width: 29rem; line-height: 1.4; font-size: clamp(1rem, 1.45vw, 1.35rem); color: #e5e8eb; }
.hero-button, .company-link { display: inline-flex; padding: .85rem 1.18rem; text-decoration: none; background: #fff; color: #10161d; border-radius: 3px; font-weight: 600; }
.hero-button:hover { background: #d7e7fa; }
.portfolio { padding-block: clamp(3.25rem, 6.5vw, 7rem); }
.portfolio h2, .institution h2 { font-size: clamp(2.6rem, 4.7vw, 5.2rem); }
.brands { margin: clamp(1.6rem, 3vw, 3rem) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2rem, 3.7vw, 4rem) clamp(.65rem, 1.3vw, 1.6rem); }
.plate { --plate: #0b1017; --logo: 74%; display: grid; place-items: center; aspect-ratio: 1.4; position: relative; overflow: hidden; isolation: isolate; background: var(--plate); container-type: inline-size; }
.plate::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; opacity: 0; transition: opacity .35s ease; }
.plate-link { position: absolute; inset: 0; z-index: 1; }
.lockup { width: var(--logo); display: flex; align-items: flex-end; justify-content: center; gap: 4cqw; color: #fff; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.lockup img { display: block; width: 100%; height: auto; }
@media (hover: hover) {
    .plate:has(.plate-link:hover) .lockup { transform: scale(1.05); }
    .plate:has(.plate-link:hover)::after { opacity: .08; }
}
/* Each plate uses the brand's own ground; widths balance the optical size of the wordmarks. */
.facivia .plate { --plate: #0056e8; --logo: 66%; }
.mail .plate { --plate: #14283d; --logo: 70%; }
.cloud .plate { --plate: #e6edf3; --logo: 86%; }
.ad .plate { --plate: #e6edf3; --logo: auto; }
.faultline .plate { --logo: 78%; }
.quorax .plate { --plate: #f4efe4; --logo: 58%; }
.elucenia .plate { --plate: #000; --logo: 78%; }
.cloud .lockup img, .ad .lockup img, .quorax .lockup img { filter: invert(1); }
.ad .lockup { color: #000; }
.ad .lockup img { width: 17cqw; }
.ad-suffix { transform: translateY(.8cqw); white-space: nowrap; font-size: 18.5cqw; line-height: .76; font-weight: 580; letter-spacing: -.05em; }
.cloud .plate::after, .ad .plate::after, .quorax .plate::after { background: #0b1017; }
.brand h3 { margin: 1.05rem 0 .15rem; font-size: clamp(1.2rem, 1.5vw, 1.6rem); font-weight: 610; line-height: 1.2; letter-spacing: -.035em; }
.brand p { font-size: 1rem; line-height: 1.45; color: #46515d; max-width: 34ch; text-wrap: pretty; }
.brand .brand-field { margin-bottom: .45rem; color: #11161c; font-weight: 535; }
.brand { min-width: 0; display: flex; flex-direction: column; }
.brand-actions { display: flex; flex-wrap: wrap; gap: .42rem; padding-top: 1rem; margin-top: auto; }
.brand-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: .45rem .9rem; border: 1px solid #a8b3bd; border-radius: .2rem; text-decoration: none; font-size: .95rem; font-weight: 535; line-height: 1.25; }
.brand-actions a:hover, .brand-actions a:focus-visible { background: #111b27; border-color: #111b27; color: #fff; }
.clients {
    border-top: 1px solid #dce1e5;
    background: #f7f9fa;
    padding-block: clamp(3.5rem, 7vw, 7.5rem);
}
.clients h2 {
    max-width: 22ch;
    margin: 0;
    text-align: start;
    font-size: clamp(2.25rem, 4.65vw, 5.25rem);
    font-weight: 460;
    line-height: 1.04;
    letter-spacing: -.055em;
    text-wrap: balance;
}
.clients h2 strong { font-weight: 640; white-space: nowrap; }
.client-reel {
    max-width: 120rem;
    margin-inline: auto;
    overflow: hidden;
    --logo-cell: clamp(9.5rem, 16vw, 17rem);
    --pass-duration: 36s;
}
.clients > .frame {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: clamp(2rem, 4.3vw, 4.5rem);
}
.client-reel:focus-visible { outline: 2px solid #418cff; outline-offset: -2px; }
.client-lane {
    container-type: inline-size;
    overflow: hidden;
    border-block-start: 1px solid #dce1e5;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.client-lane:last-child { border-block-end: 1px solid #dce1e5; }
.client-belt {
    display: flex;
    width: max-content;
    animation: client-pass var(--pass-duration) linear infinite;
}
.client-lane:nth-child(2) .client-belt { animation-direction: reverse; animation-delay: -3s; }
.client-sequence { min-width: 100cqw; justify-content: space-around; display: flex; list-style: none; margin: 0; padding: 0; }
.client-sequence li {
    flex: 0 0 var(--logo-cell);
    width: var(--logo-cell);
    height: clamp(5.3rem, 7.75vw, 8.5rem);
    display: grid;
    place-items: center;
}
.client-sequence img {
    display: block;
    width: auto;
    height: auto;
    max-width: 72%;
    max-height: clamp(2.6rem, 3.7vw, 3.8rem);
}
.client-reel:focus-visible .client-belt, .client-reel.is-offscreen .client-belt { animation-play-state: paused; }
@keyframes client-pass { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .client-reel { --pass-duration: 28s; } }
@media (prefers-reduced-motion: reduce) {
    .client-lane { mask-image: none; }
    .client-belt { width: 100%; animation: none; }
    .client-sequence { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9rem, 45%), 1fr)); }
    .client-sequence[aria-hidden] { display: none; }
    .client-sequence li { width: 100%; }
}
.institution { background: #eaf0f4; }
.company { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; padding-block: clamp(3.5rem, 6.5vw, 7rem); }
.company p { max-width: 35ch; font-size: clamp(1.32rem, 2.45vw, 2.65rem); line-height: 1.2; letter-spacing: -.04em; }
.company-link { margin-top: 1.65rem; background: #121c28; color: #fff; }
.company-link:hover { background: #25415e; }
.group-footer { background: #0a0f16; color: #eef3f9; }
.group-footer .frame { padding-block: clamp(2.3rem, 4vw, 4rem) 1.5rem; }
.footer-intro { display: flex; align-items: center; gap: 2rem; justify-content: space-between; padding-bottom: 2rem; }
.footer-intro img { width: 5.5rem; }
.footer-intro h2 { font-size: 1.1rem; font-weight: 500; }
.channels { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12.25rem),1fr)); gap: 1.6rem .8rem; padding: 1.8rem 0 2.5rem; border-top: 1px solid #35414c; }
.channels h3 { font-size: 1rem; margin-bottom: .3rem; font-weight: 600; }
.channels div > a, .legal { font-size: .89rem; color: #b8c4d0; }
.channels a, .legal a { text-decoration: none; }
.channels a:hover, .legal a:hover { text-decoration: underline; }
.legal { border-top: 1px solid #35414c; padding-top: 1.1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem 2rem; }
@media (max-width: 1080px) { .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 780px) {
    .company { grid-template-columns: 1fr; }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; }
    .mobile-nav summary { cursor: pointer; padding: .7rem 0 .7rem .3rem; }
    .mobile-nav nav { position: absolute; inset: 100% 0 auto; flex-direction: column; padding: 1rem var(--gutter) 1.5rem; background: #0a0f16; }
    .masthead:has(.mobile-nav[open]) { background: #0a0f16; }
}
@media (max-width: 640px) {
    .brand-actions a { padding-inline: .5rem; font-size: .84rem; white-space: nowrap; }
    .plate { --logo: 82%; }
    .facivia .plate { --logo: 76%; }
    .mail .plate { --logo: 80%; }
    .cloud .plate { --logo: 90%; }
    .faultline .plate, .elucenia .plate { --logo: 86%; }
    .quorax .plate { --logo: 68%; }
    .hero-inner { min-height: clamp(35rem, 81svh, 46rem); }
    .hero h1 { font-size: clamp(2.85rem, 10.6vw, 4.5rem); }
    .hero::after { background: linear-gradient(0deg, #05090ff2, #05090fc4 28%, #05090f0d 70%), linear-gradient(#05090f9c, transparent 20%); }
    .channels { grid-template-columns: 1fr 1fr; }
    .channels a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    .lockup, .plate::after { transition: none; }
    .plate:has(.plate-link:hover) .lockup { transform: none; }
}
@media (max-width: 359px) { .brands { grid-template-columns: 1fr; } }
