:root {
    /* Brand */
    --maroon: #8d011f;
    --maroon-deep: #6d0118;
    --maroon-soft: #faf4f5;
    --maroon-tint: #f0e2e5;
    --maroon-rgb: 141, 1, 31;

    /* Neutrals — clean, professional */
    --bg: #ffffff;
    --bg-alt: #f5f6f8;
    --surface: #ffffff;
    --ink: #14161a;
    --ink-soft: #4b5563;
    --ink-muted: #6b7280;
    --line: #e4e7ec;
    --line-soft: #eef1f4;

    /* Accents */
    --gold: #c9923a;
    --gold-soft: #f8f1e4;
    --green: #1f8a5b;

    /* Typography — one font everywhere */
    --font-family:
        "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;

    /* Spacing & radius */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm:
        0 1px 2px rgba(20, 22, 26, 0.04), 0 1px 3px rgba(20, 22, 26, 0.06);
    --shadow:
        0 4px 14px rgba(var(--maroon-rgb), 0.07),
        0 1px 3px rgba(20, 22, 26, 0.05);
    --shadow-lg:
        0 24px 48px -12px rgba(var(--maroon-rgb), 0.14),
        0 8px 20px rgba(20, 22, 26, 0.06);

    /* Transitions */
    --t: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-family);
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Keep one typeface across Bootstrap + custom components */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
select,
.btn,
.nav,
.topbar,
.eyebrow,
.section__title,
.section__lede,
.hero__title,
.hero__lede,
.footer {
    font-family: var(--font-family);
    font-style: normal;
}

img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t);
}
button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

::selection {
    background: var(--maroon);
    color: #fff;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 110px 0;
    position: relative;
}

.section--alt {
    background: var(--bg-alt);
}

.section__head {
    max-width: 720px;
    margin-bottom: 64px;
}

.section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 16px 0 18px;
    color: var(--ink);
}

.section__title em {
    font-style: normal;
    color: var(--maroon);
    font-weight: 700;
}

.section__lede {
    font-size: 1.075rem;
    color: var(--ink-soft);
    max-width: 620px;
}

.section__head--center .section__lede {
    margin: 0 auto;
}

/* ============================================================
   EYEBROW + DOT
   ============================================================ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--maroon);
    font-family: var(--font-family);
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--maroon);
    box-shadow: 0 0 0 4px var(--maroon-tint);
    animation: pulse 2.4s ease-in-out infinite;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.85);
}
.eyebrow--light .dot {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 4px var(--maroon-tint);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(var(--maroon-rgb), 0.1);
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition:
        background-color 0.28s ease,
        color 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:focus-visible {
    outline: 2px solid var(--maroon);
    outline-offset: 3px;
}

.btn:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.12s;
}

.btn i {
    width: 18px;
    height: 18px;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn--primary {
    background: var(--maroon);
    color: #fff;
    box-shadow: 0 4px 14px -4px rgba(var(--maroon-rgb), 0.45);
}

.btn--primary:hover {
    background: var(--maroon-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px -6px rgba(var(--maroon-rgb), 0.5);
}

.btn--primary:active {
    box-shadow: 0 4px 12px -4px rgba(var(--maroon-rgb), 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: none;
}

.btn--ghost:hover {
    background: var(--surface);
    border-color: var(--maroon);
    color: var(--maroon);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn--white {
    background: #fff;
    color: var(--maroon);
    box-shadow: 0 4px 14px -6px rgba(26, 20, 24, 0.12);
}

.btn--white:hover {
    background: var(--maroon-soft);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgba(26, 20, 24, 0.15);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-1px);
}

.btn--lg {
    padding: 15px 28px;
    font-size: 1rem;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    background: var(--ink);
    color: #fff;
    font-size: 0.82rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(var(--maroon-rgb), 0.08);
}
.topbar__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.topbar__item i {
    width: 14px;
    height: 14px;
    color: var(--maroon);
}
.topbar__sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(var(--maroon-rgb), 0.28);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.92),
            rgba(var(--maroon-rgb), 0.09)
        ),
        linear-gradient(
            to right,
            rgba(var(--maroon-rgb), 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(var(--maroon-rgb), 0.045) 1px,
            transparent 1px
        ),
        var(--bg);
    background-size:
        auto,
        56px 56px,
        56px 56px,
        auto;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(var(--maroon-rgb), 0.1);
    transition: all var(--t);
}
.header.is-scrolled {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.96),
            rgba(var(--maroon-rgb), 0.1)
        ),
        linear-gradient(
            to right,
            rgba(var(--maroon-rgb), 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(var(--maroon-rgb), 0.04) 1px,
            transparent 1px
        ),
        var(--bg);
    background-size:
        auto,
        56px 56px,
        56px 56px,
        auto;
    border-bottom-color: rgba(var(--maroon-rgb), 0.14);
    box-shadow: 0 12px 30px -24px rgba(var(--maroon-rgb), 0.35);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 14px 24px;
    min-height: 88px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.brand__logo {
    display: block;
    height: 72px;
    width: auto;
    min-width: 180px;
    max-width: 260px;
    object-fit: contain;
    object-position: left center;
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
}
.nav a {
    position: relative;
    color: var(--ink-soft);
    padding: 6px 0;
}
.nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--maroon);
    transition: width var(--t);
}
.nav a:hover {
    color: var(--maroon);
}
.nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all var(--t);
}
.hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    font-size: 1.05rem;
    font-weight: 500;
}
.mobile-menu.is-open {
    display: flex;
}
.mobile-menu .btn {
    align-self: flex-start;
}

/* ============================================================
   HERO  — taller, deeper, more substantial
   ============================================================ */
.hero {
    position: relative;
    padding: 100px 0 140px;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Dissolve graphics — animated mesh, orbs, shards */
.hero__dissolve {
    position: absolute;
    inset: -8% -4%;
    overflow: hidden;
    transform: translate3d(var(--dissolve-x, 0), var(--dissolve-y, 0), 0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-transform: translate3d(
        var(--dissolve-x, 0),
        var(--dissolve-y, 0),
        0
    );
    will-change: transform;
}

.hero.is-ambient .hero__dissolve {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__dissolve-svg {
    position: absolute;
    width: 110%;
    height: 110%;
    left: -5%;
    top: -5%;
    opacity: 0.9;
}

.hero__dissolve-shape {
    transform-origin: center;
    animation: heroDissolveMorph 14s ease-in-out infinite;
}

.hero__dissolve-shape--1 {
    animation-delay: 0s;
}

.hero__dissolve-shape--2 {
    animation-delay: -4.5s;
}

.hero__dissolve-shape--3 {
    animation-delay: -9s;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    will-change: transform, opacity;
    animation: heroDissolveOrb 9s ease-in-out infinite;
}

.hero__orb--1 {
    width: 420px;
    height: 420px;
    top: -12%;
    right: 8%;
    background: radial-gradient(
        circle,
        rgba(var(--maroon-rgb), 0.2),
        transparent 68%
    );
    animation-delay: 0s;
}

.hero__orb--2 {
    width: 360px;
    height: 360px;
    bottom: 0;
    left: -6%;
    background: radial-gradient(
        circle,
        rgba(var(--maroon-rgb), 0.14),
        transparent 70%
    );
    animation-delay: -3s;
}

.hero__orb--3 {
    width: 280px;
    height: 280px;
    top: 38%;
    left: 42%;
    background: radial-gradient(
        circle,
        rgba(201, 146, 58, 0.16),
        transparent 72%
    );
    animation-delay: -6s;
}

.hero__shard {
    position: absolute;
    border: 1px solid rgba(var(--maroon-rgb), 0.12);
    border-radius: 28% 72% 58% 42% / 48% 38% 62% 52%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5),
        rgba(var(--maroon-rgb), 0.04)
    );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: heroDissolveShard 11s ease-in-out infinite;
}

.hero__shard--1 {
    width: 140px;
    height: 140px;
    top: 18%;
    right: 22%;
    animation-delay: -1s;
}

.hero__shard--2 {
    width: 96px;
    height: 96px;
    bottom: 22%;
    right: 38%;
    animation-delay: -5s;
}

.hero__shard--3 {
    width: 72px;
    height: 72px;
    top: 52%;
    left: 8%;
    animation-delay: -8s;
}

.hero__grain {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    mix-blend-mode: multiply;
    mask-image: radial-gradient(
        ellipse 80% 70% at 50% 40%,
        #000 20%,
        transparent 75%
    );
    -webkit-mask-image: radial-gradient(
        ellipse 80% 70% at 50% 40%,
        #000 20%,
        transparent 75%
    );
    pointer-events: none;
}

@keyframes heroDissolveMorph {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.92) translate(0, 0);
    }
    33% {
        opacity: 0.75;
        transform: scale(1.06) translate(2%, -1.5%);
    }
    66% {
        opacity: 0.5;
        transform: scale(0.98) translate(-1.5%, 2%);
    }
}

@keyframes heroDissolveOrb {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.9) translate(0, 0);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.12) translate(3%, -2%);
    }
}

@keyframes heroDissolveShard {
    0%,
    100% {
        opacity: 0.15;
        transform: rotate(0deg) scale(0.88);
        filter: blur(2px);
    }
    50% {
        opacity: 0.55;
        transform: rotate(12deg) scale(1);
        filter: blur(0);
    }
}

@keyframes heroDissolveIn {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Hero entrance — dissolve reveal */
.hero[data-hero-dissolve]:not(.is-ready) .hero__content > *,
.hero[data-hero-dissolve]:not(.is-ready) .hero__panel > .panel-card {
    opacity: 0;
    animation: none !important;
}

.hero.is-ready[data-hero-dissolve] .hero__content > *,
.hero.is-ready[data-hero-dissolve] .hero__panel > .panel-card {
    animation-fill-mode: forwards;
}

.hero.is-ready[data-hero-dissolve] .hero__content > * {
    animation: heroDissolveIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero.is-ready[data-hero-dissolve] .hero__content > *:nth-child(1) {
    animation-delay: 0.05s;
}
.hero.is-ready[data-hero-dissolve] .hero__content > *:nth-child(2) {
    animation-delay: 0.12s;
}
.hero.is-ready[data-hero-dissolve] .hero__content > *:nth-child(3) {
    animation-delay: 0.2s;
}
.hero.is-ready[data-hero-dissolve] .hero__content > *:nth-child(4) {
    animation-delay: 0.28s;
}
.hero.is-ready[data-hero-dissolve] .hero__content > *:nth-child(5) {
    animation-delay: 0.36s;
}

/* Title uses its own staggered animation — not the generic block fade */
.hero.is-ready[data-hero-dissolve] .hero__title {
    animation: none;
    opacity: 1;
    transform: none;
}

.hero.is-ready[data-hero-dissolve] .panel-card--main {
    animation: heroDissolveIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.hero.is-ready[data-hero-dissolve] .panel-card--float {
    animation:
        heroDissolveIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards,
        float 6s ease-in-out 1.35s infinite;
}
.hero.is-ready[data-hero-dissolve] .panel-card--float-2 {
    animation:
        heroDissolveIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards,
        float 6s ease-in-out 1.45s infinite;
}

/* Panel dissolve accent behind cards */
.hero__panel-dissolve {
    position: absolute;
    inset: -24px -32px -24px -48px;
    pointer-events: none;
    z-index: 0;
}

.hero__panel-ring {
    position: absolute;
    top: 50%;
    left: 54%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(var(--maroon-rgb), 0.1);
    background: radial-gradient(
        circle,
        rgba(var(--maroon-rgb), 0.06) 0%,
        transparent 62%
    );
    animation: heroPanelRing 10s ease-in-out infinite;
}

.hero__panel-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--maroon);
    opacity: 0.35;
    filter: blur(1px);
    animation: heroDissolveOrb 7s ease-in-out infinite;
}

.hero__panel-dot--1 {
    width: 10px;
    height: 10px;
    top: 12%;
    right: 18%;
    animation-delay: -1s;
}

.hero__panel-dot--2 {
    width: 6px;
    height: 6px;
    bottom: 28%;
    left: 20%;
    animation-delay: -3.5s;
}

.hero__panel-dot--3 {
    width: 8px;
    height: 8px;
    top: 42%;
    right: 6%;
    animation-delay: -5s;
}

@keyframes heroPanelRing {
    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.94);
    }
    50% {
        opacity: 0.85;
        transform: translate(-50%, -50%) scale(1.04);
    }
}

.hero__panel > .panel-card {
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero__dissolve-svg {
        width: 130%;
        height: 130%;
        opacity: 0.75;
    }

    .hero__orb--1 {
        width: 300px;
        height: 300px;
    }

    .hero__orb--2 {
        width: 240px;
        height: 240px;
    }

    .hero__orb--3 {
        width: 200px;
        height: 200px;
    }

    .hero__shard--1 {
        width: 100px;
        height: 100px;
    }

    .hero__shard--2 {
        width: 72px;
        height: 72px;
    }

    .hero__shard--3 {
        width: 56px;
        height: 56px;
    }

    .hero__grain {
        opacity: 0.22;
    }
}

@media (max-width: 639px) {
    .hero__dissolve {
        inset: -6% -2%;
    }

    .hero__dissolve-svg {
        opacity: 0.85;
    }

    .hero__dissolve-shape {
        animation-duration: 11s;
    }

    .hero__orb {
        filter: blur(48px);
        animation-duration: 7s;
    }

    .hero__orb--1 {
        width: 240px;
        height: 240px;
        right: -8%;
        background: radial-gradient(
            circle,
            rgba(var(--maroon-rgb), 0.28),
            transparent 68%
        );
    }

    .hero__orb--2 {
        width: 200px;
        height: 200px;
        left: -12%;
        background: radial-gradient(
            circle,
            rgba(var(--maroon-rgb), 0.22),
            transparent 70%
        );
    }

    .hero__orb--3 {
        display: block;
        width: 160px;
        height: 160px;
        left: 28%;
        background: radial-gradient(
            circle,
            rgba(201, 146, 58, 0.22),
            transparent 72%
        );
    }

    .hero__shard {
        animation-duration: 9s;
    }

    .hero__shard--3 {
        display: block;
        width: 52px;
        height: 52px;
        top: 48%;
        left: 6%;
    }

    .hero__grain {
        opacity: 0.28;
    }

    .hero__grid {
        opacity: 1;
    }

    .hero__panel-ring {
        width: 240px;
        height: 240px;
        animation-duration: 8s;
    }

    .hero__panel-dot {
        animation-duration: 6s;
    }

    .hero.is-ready[data-hero-dissolve] .hero__content > * {
        animation-duration: 0.85s;
    }

    .hero.is-ready[data-hero-dissolve] .hero__panel > .panel-card {
        animation-duration: 0.9s;
    }
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            to right,
            rgba(var(--maroon-rgb), 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(var(--maroon-rgb), 0.06) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
    mask-image: radial-gradient(
        ellipse 70% 60% at 50% 30%,
        #000 40%,
        transparent 80%
    );
    -webkit-mask-image: radial-gradient(
        ellipse 70% 60% at 50% 30%,
        #000 40%,
        transparent 80%
    );
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

/* Typewriter — rotating tagline (oshankarki.com.np style) */
.hero__typewriter-line {
    min-height: 2.1em;
    margin: 4px 0 6px;
}

.hero__typewriter {
    display: inline;
    font-family: var(--font-family);
    font-size: clamp(1.05rem, 2.6vw, 1.45rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: var(--maroon);
}

.hero__typewriter-words {
    display: inline;
}

.hero__typewriter-cursor {
    display: inline-block;
    margin-left: 1px;
    font-weight: 300;
    color: var(--maroon);
    animation: heroTypewriterBlink 0.95s step-end infinite;
}

@keyframes heroTypewriterBlink {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}

.hero__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: clamp(1.3375rem, 4.6vw, 4.5375rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 18px 0 28px;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 0.1em;
}

.hero__title-part,
.hero__title-inner {
    display: block;
}

.hero__title-part,
.hero__title-inner,
.hero__title-accent {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
}

.hero__title.is-animated .hero__title-part,
.hero__title.is-animated .hero__title-inner {
    animation: heroTitlePartIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.12s + var(--title-i, 0) * 0.14s);
}

.hero__title.is-animated .hero__title-accent {
    display: inline-block;
    animation:
        heroTitleAccentIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        heroTitleAccentGlow 5s ease-in-out
            calc(1.1s + var(--accent-i, 0) * 0.2s) infinite;
    animation-delay:
        calc(0.38s + var(--accent-i, 0) * 0.16s),
        calc(1.1s + var(--accent-i, 0) * 0.2s);
}

.hero__title.is-animated-complete .hero__title-part,
.hero__title.is-animated-complete .hero__title-inner,
.hero__title.is-animated-complete .hero__title-accent {
    opacity: 1;
    transform: none;
    animation: none;
}

@keyframes heroTitlePartIn {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroTitleAccentIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0) scale(0.96);
    }
    70% {
        opacity: 1;
        transform: translate3d(0, -3px, 0) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes heroTitleAccentGlow {
    0%,
    100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.08);
    }
}

.title-accent {
    position: relative;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 800;
    color: var(--maroon);
    white-space: nowrap;
}
.title-accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 10px;
    background: var(--maroon-tint);
    z-index: -1;
    border-radius: 4px;
    transform: skewX(-8deg) scaleX(0);
    transform-origin: left center;
}

.hero__title.is-animated .hero__title-accent.title-accent::after {
    animation: heroTitleUnderline 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.52s + var(--accent-i, 0) * 0.16s);
}

@keyframes heroTitleUnderline {
    from {
        transform: skewX(-8deg) scaleX(0);
    }
    to {
        transform: skewX(-8deg) scaleX(1);
    }
}

.title-accent--gold {
    color: #b88032;
}
.title-accent--gold::after {
    background: var(--gold-soft);
}

.hero__lede {
    font-size: 1.18rem;
    color: var(--ink-soft);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* New: 3-pillar mini-bar in hero */
.hero__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.pillar i {
    width: 22px;
    height: 22px;
    color: var(--maroon);
    flex-shrink: 0;
    margin-top: 2px;
}
.pillar strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}
.pillar span {
    display: block;
    font-size: 0.8rem;
    color: var(--ink-muted);
    line-height: 1.4;
}

/* ===== Hero Right Panel ===== */
.hero__panel {
    position: relative;
    height: 520px;
}

.panel-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform var(--t);
}
.panel-card:hover {
    transform: translateY(-4px);
}

.panel-card--main {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}
.panel-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--maroon);
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 22px;
    font-family: var(--font-family);
}
.panel-card__head i {
    width: 16px;
    height: 16px;
}

.panel-card__body {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.panel-card__foot {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--maroon-soft);
    color: var(--maroon);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}
.badge i {
    width: 14px;
    height: 14px;
}

.metric {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
}
.metric:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.metric__num {
    font-family: var(--font-family);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--maroon);
    line-height: 1;
    letter-spacing: -0.02em;
    min-width: 90px;
}
.metric__label {
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.panel-card--sm {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    font-size: 0.88rem;
    background: var(--surface);
}
.panel-card--sm i {
    width: 22px;
    height: 22px;
    color: var(--maroon);
    flex-shrink: 0;
}
.panel-card--sm strong {
    display: block;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}
.panel-card--sm span {
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.panel-card--float {
    bottom: 60px;
    left: -20px;
    animation: float 6s ease-in-out infinite;
}
.panel-card--float-2 {
    bottom: -10px;
    right: 40px;
    animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust {
    background: var(--surface);
    padding: 48px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trust__label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-muted);
    margin-bottom: 28px;
}
.trust__logos {
    display: flex;
    align-items: center;
    overflow: hidden;
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 10%,
        #000 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 10%,
        #000 90%,
        transparent
    );
}
.trust__logos-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: trustLogoMarquee 34s linear infinite;
}
.trust__logos:hover .trust__logos-track {
    animation-play-state: paused;
}
.trust__logos img {
    flex: 0 0 auto;
    height: 32px;
    width: auto;
    filter: grayscale(40%);
    transition: all var(--t);
}
.trust__logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-3px);
}
@keyframes trustLogoMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 28px));
    }
}
@media (prefers-reduced-motion: reduce) {
    .trust__logos {
        justify-content: center;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .trust__logos-track {
        flex-wrap: wrap;
        justify-content: center;
        animation: none;
    }
    .trust__logos-track img[aria-hidden="true"] {
        display: none;
    }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.about-side {
    position: sticky;
    top: 120px;
}

.about-side .section__title {
    margin-top: 18px;
    margin-bottom: 32px;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.about-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    box-shadow: var(--shadow);
}
.about-meta__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.about-meta__num {
    font-family: var(--font-family);
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--maroon);
    line-height: 1;
    letter-spacing: -0.02em;
}
.about-meta__label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-muted);
    font-family: var(--font-family);
}
.about-meta__divider {
    width: 1px;
    height: 42px;
    background: var(--line);
}

.about-content p {
    font-size: 1.04rem;
    color: var(--ink-soft);
    margin-bottom: 22px;
    line-height: 1.75;
}
.about-content p:last-child {
    margin-bottom: 0;
}

.about-content .about-lede {
    font-size: 1.3rem;
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.45;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 26px;
    margin-bottom: 30px;
}
.about-content .about-lede::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--maroon);
    border-radius: 4px;
}

.about-content strong {
    color: var(--maroon);
    font-weight: 700;
}
.about-content em {
    font-style: normal;
    color: var(--maroon);
    font-weight: 700;
    font-family: var(--font-family);
}

/* ============================================================
   VALUES
   ============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 32px 36px;
    transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--maroon), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.value-card:hover,
.value-card--featured,
.value-card.is-tapped {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.value-card:hover::before,
.value-card--featured::before,
.value-card.is-tapped::before {
    transform: scaleX(1);
}
.value-card:hover .value-card__icon,
.value-card--featured .value-card__icon,
.value-card.is-tapped .value-card__icon {
    background: var(--maroon);
    transform: rotate(-4deg);
}
.value-card:hover .value-card__icon i,
.value-card--featured .value-card__icon i,
.value-card.is-tapped .value-card__icon i {
    color: #fff;
    transform: scale(1.1);
}

.value-card__num {
    font-family: var(--font-family);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

.value-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: var(--maroon-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--t);
}
.value-card__icon i {
    width: 30px;
    height: 30px;
    color: var(--maroon);
    transition: transform var(--t);
}

.value-card h3 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.7rem;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    color: var(--ink);
}
.value-card p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.value-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--maroon-soft);
    color: var(--maroon);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    font-family: var(--font-family);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================================
   SERVICES — stacking cards (scroll)
   ============================================================ */
.section--services-stack {
    overflow: visible;
}

.services-stack {
    --stack-sticky-top: 100px;
    --stack-step: 20px;
    position: relative;
    max-width: 680px;
    margin: 48px auto 0;
    padding-bottom: 12vh;
}

.services-stack__slide {
    position: sticky;
    top: calc(var(--stack-sticky-top) + var(--stack-i, 0) * var(--stack-step));
    z-index: calc(var(--stack-i, 0) + 1);
    padding-bottom: 14px;
    display: flex;
    align-items: flex-start;
}

.service-stack-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 20px 24px;
    width: 100%;
    padding: 32px 36px;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transform: scale(var(--stack-scale, 1));
    transform-origin: center top;
    transition:
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color var(--t),
        filter 0.45s ease;
    overflow: hidden;
    will-change: transform;
}

.service-stack-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--maroon), var(--gold));
    opacity: 0;
    transition: opacity var(--t);
}

.service-stack-card.is-active {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.service-stack-card.is-active::before {
    opacity: 1;
}

.service-stack-card.is-past {
    filter: saturate(0.92);
    box-shadow: var(--shadow-sm);
}

.service-stack-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.service-stack-card__top {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
}

.service-stack-card__num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--ink-muted);
    font-variant-numeric: tabular-nums;
}

.service-stack-card__icon {
    width: 52px;
    height: 52px;
    margin-left: auto;
    border-radius: var(--radius);
    background: var(--maroon-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t);
}

.service-stack-card__icon i {
    font-size: 1.35rem;
    color: var(--maroon);
    transition: color var(--t);
}

.service-stack-card.is-active .service-stack-card__icon,
.service-stack-card:hover .service-stack-card__icon {
    background: var(--maroon);
    border-color: var(--maroon);
}

.service-stack-card.is-active .service-stack-card__icon i,
.service-stack-card:hover .service-stack-card__icon i {
    color: #fff;
}

.service-stack-card__body h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--ink);
}

.service-stack-card__body p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.6;
    max-width: 46ch;
}

.service-stack-card__cta {
    grid-row: 2;
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--maroon);
    white-space: nowrap;
}

.service-stack-card__cta i {
    width: 16px;
    height: 16px;
    transition: transform var(--t);
}

.service-stack-card:hover .service-stack-card__cta i {
    transform: translate(2px, -2px);
}

@media (max-width: 1024px) {
    /* Keep the same sticky-stack effect on tablet/mobile — just remove the
       fade-in override that was replacing it on smaller screens */
    .services-stack__slide {
        /* inherit sticky positioning from the base rule */
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-stack__slide {
        opacity: 1 !important;
        transform: none !important;
    }

    .services-stack__slide {
        position: relative;
        top: auto;
        min-height: auto;
    }

    .service-stack-card {
        transform: none !important;
        transition:
            border-color var(--t),
            box-shadow var(--t);
    }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-scatter {
    --scatter-p: 0;
    margin-top: 48px;
}

.process {
    list-style: none;
    margin: 0;
    padding: 0;
}

.process--scatter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-scatter:not(.is-scroll-scatter) .process--scatter {
    display: grid;
}

.process--scatter::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--maroon-tint) 0,
        var(--maroon-tint) 6px,
        transparent 6px,
        transparent 12px
    );
    z-index: 0;
}

.process__step {
    position: relative;
    background: var(--surface);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    transition:
        border-color var(--t),
        box-shadow var(--t),
        transform var(--t);
    z-index: 1;
}

.process__step:hover {
    border-color: var(--maroon);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.process-scatter.is-scroll-scatter .process__step:hover {
    transform: none;
}

/* Process scatter — all screen sizes */
.process-scatter.is-scroll-scatter .process-scatter__track {
    position: relative;
    min-height: 115vh;
}

.process-scatter.is-scroll-scatter .process-scatter__stage {
    position: sticky;
    top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0 40px;
}

.process-scatter.is-measuring .process--scatter {
    display: grid;
    gap: 24px;
    visibility: hidden;
}

.process-scatter--cols-4.is-measuring .process--scatter {
    grid-template-columns: repeat(4, 1fr);
}

.process-scatter--cols-2.is-measuring .process--scatter {
    grid-template-columns: repeat(2, 1fr);
}

.process-scatter--cols-1.is-measuring .process--scatter {
    grid-template-columns: 1fr;
    gap: 20px;
}

.process-scatter.is-measuring .process--scatter .process__step {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    transform: none;
}

.process-scatter.is-scroll-scatter:not(.is-measuring) .process--scatter {
    display: block;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.process-scatter.is-scroll-scatter:not(.is-measuring)
    .process--scatter::before {
    opacity: calc(var(--scatter-p, 0));
    transition: opacity 0.4s ease;
}

.process-scatter--cols-1.is-scroll-scatter:not(.is-measuring)
    .process--scatter::before,
.process-scatter--cols-2.is-scroll-scatter:not(.is-measuring)
    .process--scatter::before {
    display: none;
}

.process-scatter.is-scroll-scatter:not(.is-measuring)
    .process--scatter
    .process__step {
    --scatter-x: 0px;
    --scatter-y: 0px;
    --stack-nudge: 0px;
    --card-w: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--card-w, 100%);
    max-width: 100%;
    margin: 0;
    z-index: calc(20 - var(--scatter-i, 0));
    transform: translate3d(
            calc(-50% + var(--scatter-x) * var(--scatter-p)),
            calc(
                -50% + var(--stack-nudge) * (1 - var(--scatter-p)) +
                    var(--scatter-y) * var(--scatter-p)
            ),
            0
        )
        scale(calc(1 - var(--scatter-i) * 0.028 * (1 - var(--scatter-p))));
    transform-origin: center center;
    will-change: transform;
    transition:
        border-color var(--t),
        box-shadow var(--t);
}

.process-scatter.is-scroll-scatter:not(.is-measuring)
    .process--scatter
    .process__step:hover {
    border-color: var(--maroon);
    box-shadow: var(--shadow);
}

.process-scatter.is-scroll-scatter:not(.is-scattered):not(.is-measuring)
    .process--scatter
    .process__step:hover {
    transform: translate3d(
            calc(-50% + var(--scatter-x) * var(--scatter-p)),
            calc(
                -50% + var(--stack-nudge) * (1 - var(--scatter-p)) +
                    var(--scatter-y) * var(--scatter-p)
            ),
            0
        )
        scale(calc(1 - var(--scatter-i) * 0.028 * (1 - var(--scatter-p))));
}

.process-scatter.is-scattered.is-scroll-scatter
    .process--scatter
    .process__step:hover {
    transform: translate3d(
            calc(-50% + var(--scatter-x)),
            calc(-50% + var(--scatter-y) - 4px),
            0
        )
        scale(1);
}

@media (max-width: 1024px) {
    .process-scatter.is-scroll-scatter .process-scatter__track {
        min-height: 100vh;
    }

    .process-scatter.is-scroll-scatter .process-scatter__stage {
        top: 92px;
        padding: 4px 0 32px;
    }
}

@media (max-width: 639px) {
    .process-scatter.is-scroll-scatter .process-scatter__track {
        min-height: 88vh;
    }

    .process-scatter.is-scroll-scatter .process-scatter__stage {
        top: 76px;
        padding: 0 0 24px;
    }

    .process-scatter.is-scroll-scatter:not(.is-measuring)
        .process--scatter
        .process__step {
        padding: 24px 20px;
    }
}

/* Mobile — static process grid, no scroll-scatter animation */
@media (max-width: 768px) {
    #process .section__head,
    #process .section__head .eyebrow,
    #process .section__title,
    #process .section__lede {
        opacity: 1;
        transform: none;
    }
    .process-scatter.process-scatter--static .process-scatter__track,
    .process-scatter:not(.is-scroll-scatter) .process-scatter__track {
        min-height: 0;
    }

    .process-scatter.process-scatter--static .process-scatter__stage,
    .process-scatter:not(.is-scroll-scatter) .process-scatter__stage {
        position: relative;
        top: auto;
        padding: 0;
    }

    .process-scatter.process-scatter--static .process--scatter,
    .process-scatter:not(.is-scroll-scatter) .process--scatter {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: 0;
    }

    .process-scatter.process-scatter--static .process--scatter::before,
    .process-scatter:not(.is-scroll-scatter) .process--scatter::before {
        display: none;
    }

    .process-scatter.process-scatter--static .process--scatter .process__step,
    .process-scatter:not(.is-scroll-scatter) .process--scatter .process__step {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        max-width: none;
        transform: none;
        will-change: auto;
        padding: 24px 20px;
    }

    .process-scatter.process-scatter--static .process__step:hover,
    .process-scatter:not(.is-scroll-scatter) .process__step:hover {
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-scatter .process-scatter__track {
        min-height: 0 !important;
    }

    .process-scatter .process-scatter__stage {
        position: relative !important;
        top: auto !important;
        padding: 0 !important;
    }

    .process-scatter .process--scatter {
        min-height: 0 !important;
    }

    .process-scatter .process--scatter .process__step {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
        transform: none !important;
        will-change: auto !important;
    }

    .process-scatter.is-scroll-scatter .process__step:hover {
        transform: translateY(-4px) !important;
    }
}

.process__num {
    font-family: var(--font-family);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: var(--maroon);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    letter-spacing: 0;
}

.process__step h3 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.process__step p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--maroon-soft);
    color: var(--maroon);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

/* ============================================================
   STACK
   ============================================================ */
.stack-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}
.stack-text .btn {
    margin-top: 12px;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stack-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all var(--t);
}
.stack-tile:hover {
    border-color: var(--maroon);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.stack-tile img {
    width: 28px;
    height: 28px;
    transition: transform var(--t);
}
.stack-tile:hover img {
    transform: scale(1.15);
}
.stack-tile span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.92),
            rgba(var(--maroon-rgb), 0.09)
        ),
        linear-gradient(
            to right,
            rgba(var(--maroon-rgb), 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(var(--maroon-rgb), 0.045) 1px,
            transparent 1px
        ),
        var(--bg);
    background-size: auto, 56px 56px, 56px 56px, auto;
    border: 1px solid rgba(var(--maroon-rgb), 0.14);
    border-radius: var(--radius);
    padding: 6px 24px;
    transition: all var(--t);
}
.faq-item[open] {
    border-color: var(--maroon);
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.96),
            rgba(var(--maroon-rgb), 0.1)
        ),
        linear-gradient(
            to right,
            rgba(var(--maroon-rgb), 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(var(--maroon-rgb), 0.04) 1px,
            transparent 1px
        ),
        var(--bg);
    background-size: auto, 56px 56px, 56px 56px, auto;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item .faq-icon {
    width: 20px;
    height: 20px;
    color: var(--maroon);
    flex-shrink: 0;
    transition: transform var(--t);
}
.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 0 18px;
    color: var(--ink-soft);
    font-size: 0.96rem;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
    padding: 32px 0 110px;
}

.cta__card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 80px 64px;
    background: var(--maroon);
}

.cta__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(217, 164, 74, 0.4),
            transparent 50%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(255, 255, 255, 0.1),
            transparent 60%
        ),
        linear-gradient(135deg, var(--maroon-deep), var(--maroon));
}

.cta__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
}

.cta__content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 720px;
    margin: 0 auto;
}

.cta h2 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 18px 0 18px;
}

.cta__content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.cta__list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}
.cta__list li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cta__list i {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 60px;
}

.footer .brand {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer .brand__logo,
.footer__logo {
    height: 88px;
    width: auto;
    min-width: 200px;
    max-width: 300px;
    object-fit: contain;
    object-position: left center;
    filter: none;
}

.footer__brand p {
    font-size: 0.95rem;
    margin-bottom: 22px;
    max-width: 320px;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 12px;
}
.footer__social a {
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;

    color: rgba(255, 255, 255, 0.7);
    transition: all var(--t);
}

.footer__social i {
    width: 16px;
    height: 16px;
}

.footer__col h4 {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #fff;
    margin-bottom: 22px;
    font-family: var(--font-family);
}
.footer__col a,
.footer__col span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--t);
}
.footer__col a:hover {
    color: #fff;
}
.footer__col i {
    width: 16px;
    height: 16px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer__bottom a {
    margin-left: 24px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--t);
}
.footer__bottom a:hover {
    color: #fff;
}

/* ============================================================
   ANIMATIONS — Fade in on scroll
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .hero__dissolve-shape,
    .hero__orb,
    .hero__shard,
    .hero__panel-ring,
    .hero__panel-dot {
        animation: none !important;
    }

    .hero__dissolve-svg,
    .hero__orb,
    .hero__shard {
        opacity: 0.4;
    }

    .hero[data-hero-dissolve] .hero__content > *,
    .hero[data-hero-dissolve] .hero__panel > .panel-card {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .hero__typewriter-cursor {
        animation: none;
        opacity: 1;
    }

    .hero__title-part,
    .hero__title-inner,
    .hero__title-accent {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .hero__title.is-animated .hero__title-accent.title-accent::after {
        transform: skewX(-8deg) scaleX(1);
        animation: none;
    }

    .hero.is-ready[data-hero-dissolve] .hero__content > *,
    .hero.is-ready[data-hero-dissolve] .panel-card--main,
    .hero.is-ready[data-hero-dissolve] .panel-card--float,
    .hero.is-ready[data-hero-dissolve] .panel-card--float-2 {
        animation: float 6s ease-in-out infinite !important;
    }

    .hero.is-ready[data-hero-dissolve] .panel-card--float-2 {
        animation-delay: 3s !important;
    }
}

.fade-in,
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--fade-delay, 0ms);
    will-change: opacity, transform;
}

.fade-in.is-visible,
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page .section {
    padding: 80px 0 110px;
}

.contact-hero {
    padding: 36px 0 72px;
    background:
        radial-gradient(
            ellipse 80% 60% at 100% 0%,
            var(--maroon-soft) 0%,
            transparent 55%
        ),
        var(--bg);
    border-bottom: 1px solid var(--line-soft);
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--ink-muted);
    margin-bottom: 32px;
}

.contact-breadcrumb a:hover {
    color: var(--maroon);
}
.contact-breadcrumb i {
    width: 16px;
    height: 16px;
}
.contact-breadcrumb span {
    color: var(--ink-soft);
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 32px;
}

.contact-hero__title {
    font-family: var(--font-family);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-top: 16px;
}

.contact-hero__title em {
    font-style: normal;
    font-weight: 700;
    color: var(--maroon);
}

.contact-hero__lede {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 520px;
}

.contact-hero__benefits {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.contact-hero__benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.contact-hero__benefits i {
    width: 18px;
    height: 18px;
    color: var(--maroon);
}

.contact-main__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 40px;
    align-items: start;
}

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-card__head {
    margin-bottom: 32px;
}

.contact-form-card__head .section__title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    margin-bottom: 10px;
}

.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.contact-alert i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-alert--success {
    background: #edf8f1;
    border: 1px solid #b8e6cb;
    color: var(--green);
}

.contact-alert--error {
    background: var(--maroon-soft);
    border: 1px solid var(--maroon-tint);
    color: var(--maroon-deep);
}

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-field label span {
    color: var(--maroon);
}
.contact-field__optional {
    font-weight: 500;
    color: var(--ink-muted);
}
.contact-field__hint {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    font: inherit;
    font-size: 0.975rem;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--ink);
    transition:
        border-color var(--t),
        box-shadow var(--t);
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px var(--maroon-soft);
}

.contact-field input.is-invalid,
.contact-field textarea.is-invalid {
    border-color: #c53030;
}

.contact-field__error {
    font-size: 0.8rem;
    color: #c53030;
}

.contact-field textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 110px;
}

.contact-sidebar__card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.contact-sidebar__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--maroon-soft);
    color: var(--maroon);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.contact-sidebar__icon i {
    width: 26px;
    height: 26px;
}

.contact-sidebar__card h2 {
    font-family: var(--font-family);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-sidebar__card > p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.contact-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-sidebar__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line-soft);
    background: var(--bg);
    transition:
        border-color var(--t),
        transform var(--t);
}

a.contact-sidebar__item:hover {
    border-color: var(--maroon-tint);
    transform: translateY(-2px);
}

.contact-sidebar__item i {
    width: 20px;
    height: 20px;
    color: var(--maroon);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-sidebar__item small {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
    margin-bottom: 2px;
}

.contact-sidebar__item strong {
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 600;
}

.contact-sidebar__cta {
    justify-content: center;
}

.contact-faq .section {
    padding-top: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    .header__cta {
        display: none;
    }
    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 70px 0 100px;
    }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero__panel {
        height: 420px;
        max-width: 460px;
        margin: 0 auto;
    }

    .about-wrap {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-side {
        position: static;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
        margin: 0 auto;
    }

    .services-stack {
        --stack-sticky-top: 88px;
        --stack-step: 12px;
        max-width: 100%;
        padding-bottom: 10vh;
    }

    .services-stack__slide {
        min-height: 48px;
    }
    .process-scatter:not(.is-scroll-scatter) .process--scatter {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-scatter:not(.is-scroll-scatter) .process--scatter::before {
        display: none;
    }
    .stack-wrap {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .stack-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .faq-wrap {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-hero__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .contact-main__grid {
        grid-template-columns: 1fr;
    }
    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 80px 0;
    }

    .topbar__inner {
        font-size: 0.74rem;
        gap: 10px;
    }
    .topbar__sep {
        display: none;
    }

    .header__inner {
        min-height: 72px;
        padding: 12px 16px;
    }

    .brand__logo {
        height: 56px;
        min-width: 140px;
        max-width: 200px;
    }

    .footer .brand__logo {
        height: 72px;
        min-width: 160px;
        max-width: 240px;
    }

    .hero {
        padding: 50px 0 70px;
    }
    .hero__typewriter {
        font-size: 1.05rem;
    }

    .hero__title {
        font-size: 2.4rem;
        margin-top: 12px;
        gap: 0.14em;
    }

    .hero__title.is-animated .hero__title-part,
    .hero__title.is-animated .hero__title-inner {
        animation-duration: 0.85s;
        animation-delay: calc(0.08s + var(--title-i, 0) * 0.12s);
    }

    .hero__title.is-animated .hero__title-accent {
        animation-duration: 0.9s, 4.5s;
        animation-delay:
            calc(0.28s + var(--accent-i, 0) * 0.14s),
            calc(0.95s + var(--accent-i, 0) * 0.18s);
    }

    .title-accent {
        white-space: normal;
    }
    .hero__lede {
        font-size: 1.05rem;
    }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero__actions .btn {
        justify-content: center;
    }
    .hero__panel {
        height: auto;
    }
    .hero__pillars {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }
    .panel-card--main {
        position: relative;
        max-width: 100%;
    }
    .hero__panel {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
    }

    .hero__panel-dissolve {
        inset: -12px -8px;
    }

    .hero__panel-ring {
        width: 280px;
        height: 280px;
    }

    .panel-card--float,
    .panel-card--float-2 {
        display: flex;
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        animation: float 6s ease-in-out infinite;
    }

    .panel-card--float-2 {
        animation-delay: 3s;
    }

    .hero.is-ready[data-hero-dissolve] .panel-card--float,
    .hero.is-ready[data-hero-dissolve] .panel-card--float-2 {
        animation:
            heroDissolveIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards,
            float 6s ease-in-out 1s infinite;
    }

    .hero.is-ready[data-hero-dissolve] .panel-card--float-2 {
        animation-delay: 0.55s, 3s;
    }

    .trust__logos {
        gap: 32px;
    }
    .trust__logos img {
        height: 26px;
    }

    .about-meta {
        padding: 18px 22px;
        gap: 20px;
        flex-wrap: wrap;
    }
    .about-content .about-lede {
        font-size: 1.15rem;
        padding-left: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .services-stack {
        --stack-sticky-top: 72px;
        --stack-step: 8px;
        margin-top: 32px;
        padding-bottom: 8vh;
    }

    .services-stack__slide {
        min-height: 44px;
        padding-bottom: 10px;
    }

    .service-stack-card {
        padding: 22px 20px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-stack-card__cta {
        grid-row: auto;
        margin-top: 4px;
    }

    .service-stack-card__body h3 {
        font-size: 1.15rem;
    }

    .service-stack-card__icon {
        width: 44px;
        height: 44px;
    }
    .process-scatter:not(.is-scroll-scatter) .process--scatter {
        grid-template-columns: 1fr;
    }
    .stack-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta__card {
        padding: 56px 28px;
    }
    .cta__actions {
        flex-direction: column;
    }
    .cta__actions .btn {
        justify-content: center;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer__bottom a {
        margin: 0 12px;
    }

    .contact-form-card {
        padding: 28px 22px;
    }
    .contact-form__row {
        grid-template-columns: 1fr;
    }
    .contact-hero {
        padding: 28px 0 48px;
    }
}
