﻿/* Core tokens, resets, navigation and hero */
:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #eaf1f8;
    --ink: #13243d;
    --muted: #5e728d;
    --line: rgba(19, 36, 61, 0.12);
    --primary: #204d85;
    --primary-strong: #143967;
    --accent-soft: #dbe8f5;
    --success: #25d366;
    --shadow-lg: 0 32px 80px rgba(19, 36, 61, 0.14);
    --shadow-md: 0 18px 48px rgba(19, 36, 61, 0.1);
    --radius-xl: 36px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: min(1180px, calc(100vw - 40px));
    --copy-dark: #465263;
    --gradient-color-1: #2e5790;
    --gradient-color-2: #fab0e3;
    --gradient-color-3: #417abb;
    --gradient-color-4: #244677;
    --wave-deep: #244677;
    --wave-mid: #2e5790;
    --wave-bright: #417abb;
    --wave-soft: #fab0e3;
    --glass-surface: rgba(255, 255, 255, 0.84);
    --glass-surface-strong: rgba(255, 255, 255, 0.94);
    --glass-line: rgba(255, 255, 255, 0.74);
    --blue-line: rgba(93, 137, 187, 0.18);
    --shadow-card: 0 22px 52px rgba(19, 36, 61, 0.12);
    --shadow-card-hover: 0 30px 70px rgba(19, 36, 61, 0.16);
    --text-on-photo:
        0 1px 1px rgba(4, 13, 27, 0.72),
        0 4px 12px rgba(4, 13, 27, 0.4);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    color: var(--ink);
    overflow-x: clip;
    background:
        radial-gradient(circle at top right, rgba(138, 177, 216, 0.24), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #eef4fb 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.toggle:focus-visible {
    outline: 3px solid rgba(32, 77, 133, 0.24);
    outline-offset: 3px;
}

.navbar,
.footer-content,
.contact-section .section-heading,
.contact-container {
    width: var(--container);
    margin: 0 auto;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(19, 36, 61, 0.08);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-left: 24px;
}

.brand-logo {
    width: 40px;
    height: 41px;
    flex: 0 0 40px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.brand-copy strong,
.brand-copy span {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    color: #7B8697;
    line-height: 1.18;
}

.brand-copy strong {
    font-weight: 780;
    letter-spacing: -0.018em;
}

.brand-copy span {
    font-size: 0.82rem;
    font-weight: 520;
    text-transform: none;
    letter-spacing: 0;
}

.menu {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    gap: 10px;
}

.menu a,
.toggle-menu a,
.footer-buttons a {
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .menu a:hover,
    .toggle-menu a:hover,
    .footer-buttons a:hover {
        background: var(--accent-soft);
        color: var(--primary-strong);
        transform: translateY(-1px);
    }
}

.primary-button,
.secondary-button,
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.primary-button,
.submit-button {
    background: linear-gradient(135deg, #184a86 0%, #2f78c3 100%);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 16px 32px rgba(32, 77, 133, 0.22);
}

.secondary-button {
    border: 1px solid var(--blue-line);
    color: var(--primary-strong);
    background: rgba(255, 255, 255, 0.72);
}

.primary-button:hover,
.secondary-button:hover,
.submit-button:hover {
    transform: translateY(-2px);
}

.toggle {
    position: relative;
    display: none;
    width: 48px;
    height: 48px;
    margin-left: auto;
    margin-right: 14px;
    padding: 0;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid rgba(19, 36, 61, 0.08);
    cursor: pointer;
    appearance: none;
    align-items: center;
    justify-content: center;
}

.toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--primary);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.toggle span:nth-child(1) { transform: translateY(-6px); }
.toggle span:nth-child(2) { transform: translateY(0); }
.toggle span:nth-child(3) { transform: translateY(6px); }
.toggle.active span:nth-child(1) { transform: rotate(45deg); }
.toggle.active span:nth-child(2) { opacity: 0; }
.toggle.active span:nth-child(3) { transform: rotate(-45deg); }

.toggle-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.toggle-menu.active {
    display: flex;
}

.hero-section {
    width: 100%;
    margin: 8px 0 0;
    padding: 30px 0 26px;
    position: relative;
    min-height: clamp(680px, calc(100vh - 96px), 860px);
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 76% 14%, rgba(250, 176, 227, 0.12), rgba(250, 176, 227, 0) 26%),
        radial-gradient(circle at 84% 78%, rgba(65, 122, 187, 0.2), rgba(65, 122, 187, 0) 30%),
        linear-gradient(152deg, #163a63 0%, #27598f 46%, #1f4775 76%, #18395f 100%);
    isolation: isolate;
    --wm-size-1: clamp(82px, 6vw, 112px);
    --wm-size-2: clamp(118px, 10vw, 170px);
    --wm-size-3: clamp(74px, 5.5vw, 100px);
    --wm-size-4: clamp(138px, 12vw, 208px);
    --wm-pos-1: 3% 14%;
    --wm-pos-2: 7% 82%;
    --wm-pos-3: 84% 74%;
    --wm-pos-4: 70% 90%;
    --wm-opacity: 0.11;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        url("../../public/components/logo-thin.webp"),
        url("../../public/components/logo-thin.webp"),
        url("../../public/components/logo-thin.webp"),
        url("../../public/components/logo-thin.webp");
    background-repeat: no-repeat;
    background-size:
        var(--wm-size-1),
        var(--wm-size-2),
        var(--wm-size-3),
        var(--wm-size-4);
    background-position:
        var(--wm-pos-1),
        var(--wm-pos-2),
        var(--wm-pos-3),
        var(--wm-pos-4);
    opacity: var(--wm-opacity, 0.12);
    filter: grayscale(1) brightness(1.78);
    mix-blend-mode: normal;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    width: min(1380px, calc(100vw - 48px));
    margin: 0 auto;
    padding-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    grid-template-areas:
        "copy stage"
        "highlights stage";
    gap: 18px 52px;
    align-items: center;
    align-content: start;
    min-height: inherit;
    position: relative;
    z-index: 2;
}

.hero-copy {
    grid-area: copy;
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 28px 0 0 18px;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: -30px 3% -28px -34px;
    z-index: -1;
    border-radius: 42px;
    background:
        linear-gradient(90deg, rgba(9, 28, 54, 0.7) 0%, rgba(14, 42, 76, 0.42) 56%, rgba(14, 42, 76, 0.06) 100%),
        radial-gradient(circle at 0% 14%, rgba(250, 176, 227, 0.12), transparent 42%);
    filter: blur(5px);
}

.hero-title-lockup {
    margin-top: 2px;
    height: 246px;
    margin-bottom: 20px;
    overflow: hidden;
}

#fixed {
    margin: 0;
    color: #f6fbff;
    font-family: "Open Sans", sans-serif;
    font-size: clamp(3.55rem, 6.05vw, 5.55rem);
    font-weight: 620;
    line-height: 0.93;
    letter-spacing: -0.058em;
    text-shadow: 0 18px 44px rgba(3, 12, 26, 0.34);
}

#text-container {
    position: relative;
    z-index: 3;
    display: block;
    min-width: 0;
    width: min(100%, 900px);
    max-width: 100%;
    margin-top: 10px;
    height: 162px;
    overflow: visible;
}

#typing {
    display: block;
    min-width: 0;
    width: 100%;
    min-height: 162px;
    overflow: visible;
    padding: 10px 12px 24px 0;
    border-radius: 16px;
    color: #eef6ff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.18rem, 4.45vw, 3.7rem);
    font-weight: 700;
    line-height: 1.14;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    text-shadow:
        0 1px 1px rgba(3, 12, 26, 0.24),
        0 16px 36px rgba(3, 12, 26, 0.28);
    overflow-wrap: break-word;
}

#dynamic-text {
    opacity: 1;
    display: inline-block;
    max-width: none;
    color: #ffd0f0;
    min-height: 1.18em;
    transform-origin: left center;
    will-change: opacity, transform, filter;
    transition:
        opacity 0.24s ease,
        transform 0.34s cubic-bezier(.22,.61,.36,1),
        filter 0.34s ease;
}

#dynamic-text.is-typing,
#dynamic-text.is-resting {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

#dynamic-text.is-erasing {
    opacity: 0.28;
    filter: blur(1.4px);
    transform: translateY(-1px) scale(0.995);
}

#dynamic-text::after {
    content: none;
}

#crow {
    display: none;
}

.hero-lead {
    max-width: 50ch;
    color: rgba(230, 239, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 18px 0 0;
    text-shadow: 0 12px 28px rgba(3, 12, 26, 0.2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 24px 0 0;
}

.hero-section .primary-button,
.hero-section .secondary-button {
    padding: 16px 26px;
    font-size: 0.96rem;
    font-weight: 800;
}

.hero-section .primary-button {
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    color: #123b66;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 20px 40px rgba(3, 12, 26, 0.18);
}

.hero-section .secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.11);
    color: #f6fbff;
    backdrop-filter: blur(14px);
}

.hero-highlights {
    grid-area: highlights;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.hero-highlights article {
    position: relative;
    padding: 17px 17px 15px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.045) 100%),
        linear-gradient(180deg, rgba(10, 31, 59, 0.44) 0%, rgba(13, 40, 75, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 36px rgba(3, 12, 26, 0.14);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    animation: heroInfoReveal 0.7s cubic-bezier(.2,.8,.2,1) both;
    overflow: hidden;
}

.hero-highlights article::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(250, 176, 227, 0.92) 0%, rgba(65, 122, 187, 0.92) 100%);
    border-radius: 999px;
}

.hero-highlights article:nth-child(1) {
    animation-delay: 0.15s;
}

.hero-highlights article:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-highlights article:nth-child(3) {
    animation-delay: 0.45s;
}

.hero-highlights article:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(11, 35, 66, 0.56) 0%, rgba(16, 48, 88, 0.42) 100%);
}

.hero-highlights strong,
.hero-card strong {
    color: #ffffff;
}

.hero-highlights span {
    display: block;
    margin-top: 8px;
    font-size: 0.92rem;
    color: rgba(224, 237, 255, 0.76);
    line-height: 1.55;
}

.hero-gradient-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    filter: saturate(1.04);
}

.hero-section,
.services-section,
.contact-section,
.advisory-grid-shell,
.team-section,
.clients-section {
    --wave-stop-1: #244677;
    --wave-stop-2: #2E5790;
    --wave-stop-3: #417abb;
    --wave-stop-4: #FAB0E3;
}

.section-ambient-wave {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    filter: saturate(1.04);
}

.section-ambient-wave svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: scale(1.08);
    transform-origin: center center;
}

.section-ambient-wave .wave-layer-1 {
    opacity: 0.4;
}

.section-ambient-wave .wave-layer-2 {
    opacity: 0.28;
}

.section-ambient-wave .wave-layer-3 {
    opacity: 0.22;
}

.section-ambient-wave.wave-theme-dark {
    opacity: 0.82;
}

.section-ambient-wave.wave-theme-light {
    opacity: 0.52;
}

.section-ambient-wave.wave-theme-panel {
    opacity: 0.68;
}

.hero-gradient-container .section-ambient-wave {
    inset: 0 -4%;
    opacity: 0.92;
}

.section-shell > .section-ambient-wave,
.contact-section > .section-ambient-wave,
.advisory-grid-shell > .section-ambient-wave {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-section.has-ambient-wave .hero-gradient-wave,
.hero-section.has-ambient-wave .hero-gradient-ribbon {
    display: none;
}

.team-section.has-ambient-wave::before,
.services-section.has-ambient-wave::before,
.clients-section.has-ambient-wave::before,
.contact-section.has-ambient-wave::before,
.advisory-grid-shell.has-ambient-wave::before {
    animation: none;
    opacity: 0.08;
}

.services-section.has-ambient-wave::before,
.contact-section.has-ambient-wave::before,
.advisory-grid-shell.has-ambient-wave::before {
    opacity: 0.12;
}

.hero-gradient-wave,
.hero-gradient-ribbon {
    position: absolute;
}

.hero-gradient-wave {
    left: -12%;
    right: -12%;
    width: auto;
    opacity: 1;
    transform-origin: center center;
}

.hero-gradient-wave-a {
    inset: -10% -10% -16% -10%;
    height: auto;
    background:
        linear-gradient(114deg, rgba(255, 255, 255, 0) 12%, rgba(65, 122, 187, 0.1) 34%, rgba(250, 176, 227, 0.14) 54%, rgba(255, 255, 255, 0) 72%),
        radial-gradient(46% 42% at 12% 26%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(34% 36% at 28% 78%, rgba(65, 122, 187, 0.42) 0%, rgba(65, 122, 187, 0.18) 32%, rgba(65, 122, 187, 0) 72%),
        radial-gradient(30% 28% at 84% 22%, rgba(250, 176, 227, 0.28) 0%, rgba(250, 176, 227, 0) 74%),
        radial-gradient(56% 48% at 56% 108%, rgba(36, 70, 119, 0.34) 0%, rgba(36, 70, 119, 0) 72%);
    filter: blur(10px) saturate(1.1);
    opacity: 0.94;
    mix-blend-mode: screen;
    animation: heroAuroraDriftA 12s cubic-bezier(.42,0,.24,1) infinite;
}

.hero-gradient-wave-b {
    inset: 24% -8% -14% 34%;
    height: auto;
    background:
        linear-gradient(118deg, rgba(255, 255, 255, 0) 8%, rgba(250, 176, 227, 0.12) 36%, rgba(65, 122, 187, 0.16) 58%, rgba(255, 255, 255, 0) 74%),
        radial-gradient(42% 58% at 18% 44%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 72%),
        radial-gradient(54% 72% at 50% 86%, rgba(65, 122, 187, 0.34) 0%, rgba(65, 122, 187, 0.12) 38%, rgba(65, 122, 187, 0) 76%),
        radial-gradient(34% 46% at 86% 44%, rgba(250, 176, 227, 0.26) 0%, rgba(250, 176, 227, 0) 74%);
    filter: blur(12px) saturate(1.12);
    opacity: 0.78;
    mix-blend-mode: screen;
    animation: heroAuroraDriftB 14s cubic-bezier(.42,0,.24,1) infinite;
}

.hero-gradient-ribbon {
    inset: 40% -6% auto 2%;
    display: block;
    height: clamp(160px, 18vw, 260px);
    background:
        radial-gradient(30% 66% at 18% 50%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 74%),
        radial-gradient(38% 76% at 54% 52%, rgba(250, 176, 227, 0.24) 0%, rgba(250, 176, 227, 0) 78%),
        radial-gradient(34% 70% at 84% 50%, rgba(65, 122, 187, 0.24) 0%, rgba(65, 122, 187, 0) 78%);
    border-radius: 50%;
    filter: blur(22px);
    opacity: 0.5;
    mix-blend-mode: screen;
    animation: heroAuroraRibbon 10s cubic-bezier(.42,0,.24,1) infinite;
}

.hero-stage {
    grid-area: stage;
    position: relative;
    z-index: 3;
    --hero-stage-radius: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: clamp(470px, 54vw, 640px);
}

.hero-stage-sheen {
    position: absolute;
    inset: 7% 1% 5%;
    border-radius: calc(var(--hero-stage-radius) + 2px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 42%, rgba(250, 176, 227, 0.1) 60%, rgba(255, 255, 255, 0.04));
    pointer-events: none;
}

.hero-swiper {
    width: min(100%, 940px);
    height: clamp(400px, 42vw, 580px);
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--hero-stage-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 38px 90px rgba(3, 12, 26, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide,
.hero-swiper .swiper-slide::after,
.hero-swiper .swiper-slide img {
    border-radius: inherit;
}

.hero-swiper .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-swiper:not(.is-ready) .swiper-slide:first-child,
.hero-swiper .swiper-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-swiper .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(7, 26, 51, 0.08) 48%, rgba(7, 26, 51, 0.24) 100%),
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.12), transparent 34%);
    pointer-events: none;
}

.hero-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 4.6s ease;
}

.hero-swiper .swiper-slide.is-active img,
.hero-swiper:not(.is-ready) .swiper-slide:first-child img {
    transform: scale(1.055);
    will-change: transform;
}

.hero-swiper .swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.hero-swiper .swiper-pagination-bullet {
    appearance: none;
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    opacity: 1;
    cursor: pointer;
    transition: transform 0.22s ease;
}

.hero-swiper .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.82);
    transition: inset 0.22s ease, opacity 0.22s ease, background-color 0.22s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    transform: scale(1.15);
}

.hero-swiper .swiper-pagination-bullet-active::before {
    inset: 8px 7px;
    background-color: #fff;
}

.hero-swiper .swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    z-index: 3;
    left: 0;
    width: 100%;
    pointer-events: auto;
}

.hero-card {
    position: absolute;
    z-index: 4;
    width: clamp(188px, 24vw, 228px);
    max-width: 30%;
    padding: 14px 16px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%),
        linear-gradient(180deg, rgba(9, 28, 52, 0.88) 0%, rgba(16, 45, 80, 0.82) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 22px 54px rgba(3, 12, 26, 0.26);
    transition:
        transform 0.34s cubic-bezier(.22,.61,.36,1),
        background-color 0.25s ease,
        opacity 0.34s ease;
    animation: heroCardReveal 0.65s cubic-bezier(.2,.8,.2,1) both;
}

.hero-card span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-card strong {
    color: #fff;
    font-size: 0.96rem;
    line-height: 1.5;
}

.hero-card-top {
    top: -1.8%;
    left: -1.4%;
    animation-delay: 5s;
}

.hero-card-bottom {
    right: 0;
    bottom: 4.5%;
    animation-delay: 7s;
}

.hero-card:hover {
    transform: translateY(-4px) scale(1.02);
}

.hero-scroll-button {
    position: absolute;
    left: 4%;
    bottom: 6%;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 18px 42px rgba(3, 12, 26, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

.hero-scroll-button svg {
    width: 40px;
    height: 40px;
}

.hero-scroll-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-button.visible {
    opacity: 1;
    visibility: visible;
}

.is-brave .navbar,
.is-brave .hero-section .secondary-button,
.is-brave .hero-scroll-button,
.is-low-power-motion .navbar,
.is-low-power-motion .hero-section .secondary-button,
.is-low-power-motion .hero-scroll-button {
    backdrop-filter: none;
}

.is-brave .navbar,
.is-low-power-motion .navbar {
    background: rgba(255, 255, 255, 0.94);
}

.is-brave .hero-section .secondary-button,
.is-brave .hero-scroll-button,
.is-low-power-motion .hero-section .secondary-button,
.is-low-power-motion .hero-scroll-button {
    background: rgba(255, 255, 255, 0.14);
}

.is-brave .hero-copy::before,
.is-low-power-motion .hero-copy::before {
    filter: blur(3px);
}

.is-brave .hero-gradient-wave,
.is-brave .hero-gradient-ribbon,
.is-brave .hero-card,
.is-brave .hero-highlights article,
.is-brave .section-ambient-wave,
.is-low-power-motion .hero-gradient-wave,
.is-low-power-motion .hero-gradient-ribbon,
.is-low-power-motion .hero-card,
.is-low-power-motion .hero-highlights article,
.is-low-power-motion .section-ambient-wave {
    will-change: auto;
}

.is-brave .hero-gradient-wave-a,
.is-low-power-motion .hero-gradient-wave-a {
    filter: blur(6px) saturate(1.04);
    mix-blend-mode: normal;
    opacity: 0.84;
    animation-duration: 18s;
}

.is-brave .hero-gradient-wave-b,
.is-low-power-motion .hero-gradient-wave-b {
    filter: blur(7px) saturate(1.04);
    mix-blend-mode: normal;
    opacity: 0.6;
    animation-duration: 20s;
}

.is-brave .hero-gradient-ribbon,
.is-low-power-motion .hero-gradient-ribbon {
    filter: blur(10px);
    mix-blend-mode: normal;
    opacity: 0.28;
    animation-duration: 16s;
}

.is-brave .section-ambient-wave.wave-theme-dark,
.is-low-power-motion .section-ambient-wave.wave-theme-dark {
    opacity: 0.68;
}

.is-brave .section-ambient-wave.wave-theme-light,
.is-low-power-motion .section-ambient-wave.wave-theme-light {
    opacity: 0.44;
}

.is-brave .section-ambient-wave .wave-layer-2,
.is-low-power-motion .section-ambient-wave .wave-layer-2 {
    opacity: 0.18;
}

.is-brave .section-ambient-wave .wave-layer-3,
.is-low-power-motion .section-ambient-wave .wave-layer-3 {
    opacity: 0.1;
}

.is-brave .hero-swiper .swiper-slide img,
.is-low-power-motion .hero-swiper .swiper-slide img {
    transition-duration: 2.8s;
    transform: scale(1.01);
}

.is-brave .hero-swiper .swiper-slide.is-active img,
.is-brave .hero-swiper:not(.is-ready) .swiper-slide:first-child img,
.is-low-power-motion .hero-swiper .swiper-slide.is-active img,
.is-low-power-motion .hero-swiper:not(.is-ready) .swiper-slide:first-child img {
    transform: scale(1.028);
}

.eyebrow,
.section-kicker,
.service-tag {
    display: inline-flex;
    align-items: center;
    margin: 0 0 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(32, 77, 133, 0.08);
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-section .service-tag {
    gap: 14px;
    margin: 0 0 22px;
    padding: 0;
    border-radius: 0;
    background: none;
    color: #f4f8ff;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.service-tag-icon {
    position: relative;
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 18px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 1.3rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
    transition:
        transform 0.44s cubic-bezier(.22,.61,.36,1),
        box-shadow 0.34s ease,
        background-color 0.34s ease,
        color 0.34s ease;
}

.service-tag-icon i {
    display: inline-block;
    transition: transform 0.44s cubic-bezier(.22,.61,.36,1), filter 0.34s ease;
}

.service-tag-icon::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.34);
    opacity: 0;
    transform: scale(0.88);
    transition:
        opacity 0.28s ease,
        transform 0.42s cubic-bezier(.22,.61,.36,1);
}

.service-story-copy:hover .service-tag-icon,
.service-story-copy:focus-within .service-tag-icon,
.service-story-copy.is-peeked .service-tag-icon {
    transform: translateY(-4px) scale(1.15);
    background: linear-gradient(135deg, rgba(250, 176, 227, 0.92) 0%, rgba(65, 122, 187, 0.92) 100%);
    color: #fff;
    box-shadow:
        0 14px 28px rgba(7, 26, 51, 0.18),
        0 0 0 8px rgba(250, 176, 227, 0.12);
}

.service-story-copy:hover .service-tag-icon i,
.service-story-copy:focus-within .service-tag-icon i,
.service-story-copy.is-peeked .service-tag-icon i {
    transform: none;
    filter: brightness(1.02);
}

.service-story-copy:hover .service-tag-icon::after,
.service-story-copy:focus-within .service-tag-icon::after,
.service-story-copy.is-peeked .service-tag-icon::after {
    opacity: 1;
    transform: scale(1);
}

.section-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 110px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}



