:root {
    --bg: #08080b;
    --text: #f6f5f8;
    --muted: rgba(246, 245, 248, 0.68);
    --soft: rgba(246, 245, 248, 0.46);
    --line: rgba(255, 255, 255, 0.20);
    --line-strong: rgba(255, 255, 255, 0.52);
    --accent: #cf5cff;
    --accent-2: #4dd9ff;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-display: "Rajdhani", "Arial Narrow", sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    overflow: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

/* =========================================================
   Hero shell
   ========================================================= */

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    isolation: isolate;
    place-items: center;
    overflow: hidden;
    background: var(--bg);
}

/* =========================================================
   Background media
   ========================================================= */

.hero__media,
.hero__video,
.hero__gif,
.hero__poster-image,
.hero__shade,
.hero__grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media {
    z-index: -1;
    overflow: hidden;
    background:
        #09090d
        url("../images/video-poster.jpg")
        center / cover
        no-repeat;
}

.hero__video,
.hero__gif,
.hero__poster-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter:
        saturate(0.82)
        contrast(1.08)
        brightness(0.68);
}

.hero__poster-image {
    z-index: 0;
}

.hero__video,
.hero__gif {
    z-index: 1;
}

.hero__video {
    opacity: 0;
    transform: scale(1.025);
    transition:
        opacity 1.15s var(--ease),
        transform 4.5s var(--ease);
}

.video-ready .hero__video {
    opacity: 1;
    transform: scale(1);
}

.hero__gif,
.media-poster .hero__poster-image {
    animation: media-fade-in 1.1s ease both;
}

@keyframes media-fade-in {
    from {
        opacity: 0;
        transform: scale(1.025);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.is-static-media .hero__video,
.is-data-saver .hero__video {
    display: none;
}

/* =========================================================
   Background overlays
   ========================================================= */

.hero__shade {
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(4, 4, 7, 0.45) 0%,
            rgba(4, 4, 7, 0.08) 44%,
            rgba(4, 4, 7, 0.60) 100%
        ),
        radial-gradient(
            circle at center,
            transparent 13%,
            rgba(4, 4, 7, 0.23) 60%,
            rgba(4, 4, 7, 0.70) 100%
        );
}

.hero__grain {
    z-index: 3;
    pointer-events: none;
    opacity: 0.048;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* =========================================================
   Minimal navigation
   ========================================================= */

.site-nav {
    position: absolute;
    top: 28px;
    right: 32px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.3vw, 34px);
    font-family: var(--font-display);
}

.site-nav a {
    position: relative;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 260ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #fff;
    outline: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =========================================================
   Hero content
   ========================================================= */

.hero__content {
    position: relative;
    z-index: 4;
    display: flex;
    width: min(92vw, 960px);
    flex-direction: column;
    align-items: center;
    padding: 56px 24px 48px;
    text-align: center;
}

.js .hero__eyebrow,
.js .hero__tagline,
.js .hero__services,
.js .hero__actions,
.js .hero__logo-wrap {
    opacity: 0;
}

.hero__eyebrow {
    margin: 0 0 17px;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.34em;
    transform: translateY(10px);
}

.hero__logo-wrap {
    position: relative;
    width: min(62vw, 520px);
    aspect-ratio: 3951 / 3855;
    isolation: isolate;
    transform: scale(0.74);
    filter: blur(10px);
}

.hero__logo,
.hero__logo-lines {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero__logo {
    z-index: 1;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.44));
}

.hero__logo-lines {
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

.is-revealed .hero__logo-lines {
    animation: logo-lines-show 450ms ease 1.05s forwards;
}

@keyframes logo-lines-show {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero__tagline {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.35vw, 1.05rem);
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.65;
    transform: translateY(14px);
}

.hero__services {
    margin: 8px 0 0;
    color: var(--soft);
    font-family: var(--font-display);
    font-size: clamp(0.66rem, 1vw, 0.78rem);
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.55;
    text-transform: uppercase;
    transform: translateY(14px);
}

/* =========================================================
   Calls to action
   ========================================================= */

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 27px;
    transform: translateY(14px);
}

.hero__cta {
    position: relative;
    display: inline-flex;
    min-width: 174px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 14px 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        border-color 220ms ease,
        background 220ms ease,
        transform 220ms ease;
}

.hero__cta::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.08);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 340ms var(--ease);
}

.hero__cta svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    transition: transform 220ms ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
    border-color: var(--line-strong);
    outline: none;
    transform: translateY(-2px);
}

.hero__cta:hover::before,
.hero__cta:focus-visible::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hero__cta:hover svg,
.hero__cta:focus-visible svg {
    transform: translateX(4px);
}

.hero__secondary {
    position: relative;
    padding: 3px 1px;
    color: rgba(255, 255, 255, 0.58);
    font-family: var(--font-display);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.hero__secondary::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.45);
    content: "";
    transform: scaleX(0.36);
    transition: transform 240ms var(--ease), background 180ms ease;
}

.hero__secondary:hover,
.hero__secondary:focus-visible {
    color: #fff;
    outline: none;
}

.hero__secondary:hover::after,
.hero__secondary:focus-visible::after {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(1);
}

/* =========================================================
   Content reveal
   ========================================================= */

.is-revealed .hero__logo-wrap {
    animation: logo-pop 1.15s var(--ease) 0.18s both;
}

.is-revealed .hero__eyebrow {
    animation: fade-up 0.7s var(--ease) 0.60s both;
}

.is-revealed .hero__tagline {
    animation: fade-up 0.72s var(--ease) 0.84s both;
}

.is-revealed .hero__services {
    animation: fade-up 0.72s var(--ease) 0.96s both;
}

.is-revealed .hero__actions {
    animation: fade-up 0.72s var(--ease) 1.08s both;
}

@keyframes logo-pop {
    0% {
        opacity: 0;
        transform: scale(0.74);
        filter: blur(10px);
    }

    68% {
        opacity: 1;
        transform: scale(1.035);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   Credit and utility
   ========================================================= */

.hero__credit {
    position: absolute;
    right: 26px;
    bottom: 22px;
    z-index: 4;
    margin: 0;
    color: rgba(255, 255, 255, 0.34);
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    writing-mode: vertical-rl;
}

.noscript-message {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 99;
    max-width: 340px;
    padding: 10px 12px;
    background: #111116;
    color: #fff;
    font: 13px/1.4 sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


@media (max-width: 920px) {
    .site-nav {
        top: 18px;
        right: auto;
        left: 50%;
        width: min(760px, calc(100vw - 32px));
        flex-wrap: wrap;
        justify-content: center;
        gap: 9px clamp(14px, 3.2vw, 24px);
        transform: translateX(-50%);
    }

    .site-nav a {
        font-size: .61rem;
        letter-spacing: .14em;
    }

    .hero__content {
        padding-top: 112px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 640px) {
    .site-nav {
        top: 14px;
        right: auto;
        left: 50%;
        width: calc(100vw - 28px);
        max-width: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 15px;
        transform: translateX(-50%);
    }

    .site-nav a {
        font-size: 0.61rem;
        letter-spacing: 0.14em;
    }

    .hero__content {
        width: 100%;
        padding: 128px 22px 42px;
    }

    .hero__logo-wrap {
        width: min(76vw, 430px);
    }

    .hero__eyebrow {
        margin-bottom: 13px;
    }

    .hero__tagline {
        max-width: 38ch;
        margin-top: 15px;
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .hero__services {
        max-width: 31ch;
        margin-top: 7px;
        font-size: 0.64rem;
        letter-spacing: 0.11em;
    }

    .hero__actions {
        gap: 13px;
        margin-top: 23px;
    }

    .hero__cta {
        min-width: 158px;
        padding: 13px 18px;
    }

    .hero__credit {
        display: none;
    }

    /* A lighter vignette keeps the smaller mobile frame readable. */
    .hero__shade {
        background:
            linear-gradient(
                180deg,
                rgba(4, 4, 7, 0.34) 0%,
                rgba(4, 4, 7, 0.06) 45%,
                rgba(4, 4, 7, 0.52) 100%
            ),
            radial-gradient(
                circle at center,
                transparent 16%,
                rgba(4, 4, 7, 0.17) 60%,
                rgba(4, 4, 7, 0.56) 100%
            );
    }
}

@media (max-height: 720px) and (min-width: 641px) {
    .hero__content {
        padding-top: 38px;
        padding-bottom: 32px;
    }

    .hero__logo-wrap {
        width: min(49vh, 440px);
    }

    .hero__tagline {
        margin-top: 13px;
    }

    .hero__actions {
        margin-top: 20px;
    }
}

/* =========================================================
   Reduced motion and data saver
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero__video,
    .hero__gif,
    .hero__logo-lines {
        display: none !important;
    }

    .hero__poster-image {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero__eyebrow,
    .hero__tagline,
    .hero__services,
    .hero__actions,
    .hero__logo-wrap {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

.is-data-saver .hero__logo-lines {
    display: none !important;
}

/* Additional navigation items added with Commissions and Partners. */
@media (max-width: 860px) and (min-width: 641px) {
    .site-nav {
        right: 22px;
        gap: 17px;
    }

    .site-nav a {
        font-size: 0.61rem;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 640px) {
    .site-nav {
        width: min(92vw, 420px);
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 5px;
    }

    .hero__content {
        padding-top: 102px;
    }
}

/* =========================================================
   Landing-page legal links
   ========================================================= */
.hero__legal {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.hero__legal a {
    color: rgba(255,255,255,.34);
    font-family: var(--font-display);
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 180ms ease;
}
.hero__legal a:hover,
.hero__legal a:focus-visible { color: #fff; outline: 0; }

@media (max-width: 640px) {
    .hero__legal {
        right: 18px;
        bottom: 13px;
        left: 18px;
        justify-content: center;
        gap: 8px 14px;
    }
    .hero__legal a { font-size: .52rem; }
}

/* Keep the expanded site navigation clear of the hero on medium screens. */
@media (max-width: 1180px) and (min-width: 921px) {
    .site-nav {
        top: 18px;
        right: auto;
        left: 50%;
        width: min(1040px, calc(100vw - 36px));
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
        transform: translateX(-50%);
    }
    .site-nav a { font-size: .62rem; letter-spacing: .13em; }
    .hero__content { padding-top: 104px; }
}

@media (max-width: 640px) {
    .hero__content { padding-top: 126px; }
}
