@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
    /* Shared Viceroys colour roles. Keep legacy names below as aliases. */
    --color-canvas: #ffffff;
    --color-surface: #f6f8fb;
    --color-surface-tint: #eef5ff;
    --color-surface-raised: #ffffff;
    --color-text-primary: #111111;
    --color-text-secondary: #202020;
    --color-text-muted: #4b5563;
    --color-text-link: var(--color-accent);
    --color-text-link-hover: var(--color-accent-hover);
    --color-text-on-dark: #ffffff;
    --color-ink: var(--color-text-primary);
    --color-ink-muted: var(--color-text-secondary);
    --color-ink-subtle: var(--color-text-muted);
    --color-border: #deded9;
    --color-accent: #0b1f3a;
    --color-accent-hover: #173354;
    --color-accent-light: #76aaff;
    --color-accent-soft: #eff5fd;
    --color-accent-line: #d7e4f5;
    --color-accent-contrast: var(--color-text-on-dark);
    --color-focus: var(--color-accent-light);
    --color-header-background: #07152d;

    --font-display: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 600;

    /* Nine roles cover site text; feature headings retain their approved scale. */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: clamp(16px, 1.35vw, 18px);
    --text-xl: clamp(18px, 1.5vw, 20px);
    --text-2xl: clamp(24px, 2.5vw, 34px);
    --text-3xl: clamp(30px, 3.2vw, 42px);
    --text-4xl: clamp(38px, 5vw, 64px);
    --text-display: clamp(43px, 5vw, 64px);
    --text-lead: clamp(18px, 1.9vw, 27px);
    --line-height-tight: 1.1;
    --line-height-heading: 1.2;
    --line-height-body: 1.65;
    --line-height-relaxed: 1.75;

    --text-measure: 68ch;
    --text-measure-narrow: 54ch;

    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;

    --content-max: 1360px;
    --container-gutter: clamp(24px, 5vw, 80px);
    --section-space: clamp(72px, 8vw, 128px);
    --grid-columns: 12;
    --grid-gap: clamp(16px, 2vw, 32px);

    /* Reusable radius scale; circular markers and pills remain shape utilities. */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;
    --radius-pill: 999px;
    --radius-control: var(--radius-md);
    --radius-card: var(--radius-xl);
    --radius-panel: var(--radius-lg);
    --radius-media: var(--radius-lg);

    --button-height-compact: 40px;
    --button-height-standard: 48px;
    --button-padding-compact: 8px 16px;
    --button-padding-standard: 12px 20px;
    --transition-control: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    --shadow-subtle: 0 8px 28px rgba(23, 23, 21, 0.06);
    --shadow-card: 0 18px 48px rgba(11, 31, 58, 0.055), 0 3px 10px rgba(11, 31, 58, 0.025), inset 0 1px 0 rgba(255, 255, 255, 0.98);
    --shadow-card-hover: 0 24px 54px rgba(23, 23, 21, 0.075), 0 4px 12px rgba(23, 23, 21, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.98);
    --shadow-panel: 0 12px 34px rgba(23, 23, 21, 0.045);
    --shadow-button: 0 5px 16px rgba(11, 31, 58, 0.15), 0 0 17px rgba(118, 170, 255, 0.10);
    --shadow-button-hover: 0 7px 20px rgba(11, 31, 58, 0.19), 0 0 20px rgba(118, 170, 255, 0.16);

    /* Legacy names kept as neutral aliases so existing component rules remain compatible. */
    --vn-dark: var(--color-canvas);
    --vn-dark-2: var(--color-surface);
    --vn-dark-3: var(--color-surface);
    --vn-blue: var(--color-accent);
    --vn-blue-light: var(--color-accent-light);
    --vn-blue-soft: var(--color-surface);
    --vn-white: var(--color-canvas);
    --vn-light: var(--color-surface);
    --vn-light-2: var(--color-surface);
    --vn-text: var(--color-ink);
    --vn-muted: var(--color-ink-muted);
    --vn-border: var(--color-border);
    --vn-radius: var(--radius-control);
    --vn-shadow: var(--shadow-subtle);
}
/* =========================================================
   RESET
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    color: var(--vn-text);
    background: var(--vn-white);
    font-size: var(--text-base);
    line-height: var(--line-height-body);
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-body);
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-medium);
}

h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
}

em { font-style: normal; }
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
button,
input,
textarea {
    font: inherit;
}
section {
    position: relative;
}
/* =========================================================
   ACCESSIBILITY
   ========================================================= */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
}
/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: var(--color-header-background);
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.navbar {
    width: 100%;
    max-width: 1280px;
    min-height: 78px;
    margin: auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
/* BRAND */
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: var(--color-ink);
    text-decoration: none;
}
.brand-mark {
    width: 85px;
    height: 85px;
    object-fit: contain;
    display: block;
    transform: scale(1.5);
}
.brand strong {
    display: block;
    font-size: 15px;
    letter-spacing: 2px;
}
.brand small {
    display: block;
    margin-top: 2px;
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    letter-spacing: 3px;
}
/* NAV LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    position: relative;
    padding: 28px 0;
    color: var(--color-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    background: var(--vn-blue-light);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}
/* NAV BUTTON */
.nav-button {
    padding: 11px 19px;
    border: 1px solid rgba(96, 165, 250, 0.5);
    border-radius: var(--radius-control);
    background: var(--vn-blue);
    color: white;
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.18);
}
.nav-button:hover {
    background: var(--color-text-link-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}
/* MOBILE BUTTON */
.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-canvas);
    color: var(--color-ink);
    font-size: 22px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}
.mobile-menu-button:hover {
    background: var(--color-surface-tint);
}
/* =========================================================
   HERO
   ========================================================= */
.hero {
    min-height: 820px;
    padding: 150px 30px 100px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(37, 99, 235, 0.24),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--vn-dark) 0%,
            var(--vn-dark-2) 55%,
            var(--vn-dark-3) 100%
        );
    color: white;
    overflow: hidden;
}
/* GRID BACKGROUND */
.hero-background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
    mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );
}
/* HERO CONTENT */
.hero-content {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}
.hero-copy {
    max-width: 760px;
}
.eyebrow {
    margin-bottom: 20px;
    color: var(--vn-blue-light);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 3px;
}
.hero h1 {
    margin: 0 0 30px;
    max-width: 760px;
    color: white;
    font-size: clamp(52px, 6.2vw, 88px);
    line-height: 0.98;
    letter-spacing: -4px;
}
.hero h1 span {
    display: block;
    color: #7db2f7;
}
.hero-description {
    max-width: 650px;
    margin-bottom: 36px;
    color: #aab9cc;
    font-size: 18px;
    line-height: 1.8;
}

.booking-config-status {
    margin: 10px 0 0;
    color: var(--color-ink-muted);
    font-size: .82rem;
    line-height: 1.5;
}

[data-google-calendar-booking-link][hidden] { display: none; }
.contact-booking-cta { display: flex; grid-column: 1 / -1; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: -8px; }
.contact-booking-cta .booking-config-status { margin: 0; }
/* HERO BUTTONS */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: var(--button-height-standard);
    padding: var(--button-padding-standard);
    border-radius: var(--radius-control);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}
.button:hover {
    transform: translateY(-3px);
}
.button-primary {
    border: 1px solid var(--vn-blue);
    background: var(--vn-blue);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.22);
}
.button-primary:hover {
    background: var(--color-text-link-hover);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.34);
}
.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: white;
}
.button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}
/* HERO BENEFITS */
.hero-benefits {
    display: flex;
    gap: 38px;
    margin-top: 55px;
}
.hero-benefits div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hero-benefits strong {
    color: var(--vn-blue-light);
    font-size: var(--text-xs);
    letter-spacing: 2px;
}
.hero-benefits span {
    color: #94a3b8;
    font-size: 12px;
}
/* =========================================================
   PREMIUM HERO VISUAL
   ========================================================= */
.hero-visual {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
    isolation: isolate;
    perspective: 1200px;
}
/* MAIN GLOW */
.hero-orbital-glow {
    position: absolute;
    width: 430px;
    height: 430px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, 0.34) 0%,
            rgba(37, 99, 235, 0.15) 34%,
            rgba(37, 99, 235, 0.05) 56%,
            transparent 72%
        );
    filter: blur(18px);
    animation: vnHeroGlow 5s ease-in-out infinite;
    z-index: -2;
    pointer-events: none;
}
/* IMPORTANT:
   This is the single coordinate system for the entire visual.
   Every orbit and the V core are centered from this element.
*/
.ai-orbit-system {
    position: relative;
    width: 380px;
    height: 380px;
    display: block;
    transform-style: preserve-3d;
    transform-origin: 50% 50%;
    transition: transform 0.18s ease-out;
    z-index: 2;
}
/* =========================================================
   ORBIT RINGS
   ========================================================= */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.20);
    transform-style: preserve-3d;
    transform-origin: center center;
    pointer-events: none;
    box-sizing: border-box;
}
/* ALL THREE RINGS SHARE EXACT SAME CENTER */
.orbit-outer {
    width: 380px;
    height: 380px;
    margin: 0;
    transform: translate(-50%, -50%) rotateX(68deg);
    animation: orbitOuterSpin 16s linear infinite;
}
.orbit-middle {
    width: 285px;
    height: 285px;
    margin: 0;
    transform: translate(-50%, -50%) rotateY(67deg);
    animation: orbitMiddleSpin 12s linear infinite;
}
.orbit-inner {
    width: 190px;
    height: 190px;
    margin: 0;
    transform: translate(-50%, -50%) rotateX(62deg) rotateY(18deg);
    animation: orbitInnerSpin 9s linear infinite;
}
/* subtle secondary glow around rings */
.orbit::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(96, 165, 250, 0.045);
    filter: blur(1px);
}
/* =========================================================
   ORBIT PARTICLE PATHS
   ========================================================= */
.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform-origin: center center;
    pointer-events: none;
    border: 0;
}
/*
   The particle is attached to the path rather than floating
   independently. This creates the comet / asteroid effect.
*/
.orbit-path .orbit-particle {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: #dbeafe;
    box-shadow:
        0 0 7px rgba(147, 197, 253, 1),
        0 0 20px rgba(96, 165, 250, 0.95),
        0 0 38px rgba(37, 99, 235, 0.7);
}
/* COMET TAIL */
.orbit-path .orbit-particle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    width: 55px;
    height: 2px;
    transform: translateY(-50%);
    transform-origin: right center;
    background:
        linear-gradient(
            90deg,
            rgba(96, 165, 250, 0),
            rgba(96, 165, 250, 0.12),
            rgba(147, 197, 253, 0.8)
        );
    filter: blur(1px);
}
/* THREE PARTICLE PATHS */
.orbit-path-one {
    width: 380px;
    height: 380px;
    margin: 0;
    transform: translate(-50%, -50%) rotateX(68deg);
    animation: particleOrbitOne 8s linear infinite;
}
.orbit-path-two {
    width: 285px;
    height: 285px;
    margin: 0;
    transform: translate(-50%, -50%) rotateY(67deg);
    animation: particleOrbitTwo 6s linear infinite reverse;
}
.orbit-path-three {
    width: 190px;
    height: 190px;
    margin: 0;
    transform: translate(-50%, -50%) rotateX(62deg) rotateY(18deg);
    animation: particleOrbitThree 4.8s linear infinite;
}
.orbit-path-two .orbit-particle {
    width: 7px;
    height: 7px;
    margin-left: -3.5px;
}
.orbit-path-three .orbit-particle {
    width: 6px;
    height: 6px;
    margin-left: -3px;
}
.orbit-path-two .orbit-particle::after {
    width: 42px;
}
.orbit-path-three .orbit-particle::after {
    width: 32px;
}
/* =========================================================
   AI CORE
   ========================================================= */
.ai-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 92px;
    height: 92px;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    transform-origin: center center;
    z-index: 20;
    pointer-events: none;
}
/* CORE OUTER RING */
.core-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(147, 197, 253, 0.8);
    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, 0.15),
            rgba(7, 21, 37, 0.1) 60%,
            transparent 70%
        );
    box-shadow:
        0 0 30px rgba(37, 99, 235, 0.3),
        inset 0 0 25px rgba(96, 165, 250, 0.12);
    animation: coreRingPulse 3.5s ease-in-out infinite;
}
/* CORE INNER */
.core-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 68px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 35% 30%,
            #3b82f6 0%,
            #2563eb 35%,
            #102f67 72%,
            #071525 100%
        );
    border: 1px solid rgba(191, 219, 254, 0.7);
    box-shadow:
        0 0 28px rgba(37, 99, 235, 0.55),
        inset 0 0 18px rgba(255, 255, 255, 0.09);
    z-index: 3;
}

.core-inner span {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 29px;
    font-weight: 600;
    line-height: 1;
    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.5),
        0 0 25px rgba(96, 165, 250, 0.65);
}
/*
   Intentionally NO scanning bar.
   The previous vertical scan effect is removed.
*/
.core-scan {
    display: none;
}
/* =========================================================
   AI NODES
   ========================================================= */
.ai-node {
    position: absolute;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.38);
    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(59, 130, 246, 0.35),
            rgba(7, 21, 37, 0.88)
        );
    box-shadow:
        0 0 20px rgba(37, 99, 235, 0.2),
        inset 0 0 14px rgba(96, 165, 250, 0.08);
    color: #a9cdfa;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.8px;
    z-index: 10;
    animation: aiNodeFloat 4s ease-in-out infinite;
}
.ai-node::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.08);
}
.node-a {
    top: 10%;
    left: 18%;
}
.node-b {
    top: 18%;
    right: 8%;
    animation-delay: 0.8s;
}
.node-c {
    bottom: 12%;
    right: 14%;
    animation-delay: 1.6s;
}
.node-d {
    bottom: 15%;
    left: 9%;
    animation-delay: 2.4s;
}
/* =========================================================
   HERO STATUS
   ========================================================= */
.visual-status {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #aab9cc;
    font-size: 11px;
    white-space: nowrap;
    z-index: 30;
}
.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--vn-blue-light);
    box-shadow:
        0 0 8px var(--vn-blue-light),
        0 0 16px rgba(96, 165, 250, 0.7);
    animation: statusPulse 2s ease-in-out infinite;
}
/* =========================================================
   GENERAL SECTIONS
   ========================================================= */
.section {
    max-width: 1280px;
    margin: auto;
    padding: 125px 32px;
}
.section-intro {
    max-width: 760px;
    margin-bottom: 65px;
}
.section-intro h2,
.why-heading h2,
.about-grid h2,
.contact-copy h2 {
    margin: 0 0 24px;
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1.04;
    letter-spacing: -3px;
}
.section-intro h2 span,
.why-heading h2 span,
.about-grid h2 span,
.contact-copy h2 span {
    color: #6b8fbd;
}
.section-intro > p:last-child {
    max-width: 650px;
    color: var(--vn-muted);
    font-size: 17px;
    line-height: 1.8;
}
@keyframes heroContentReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

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

@keyframes heroEyebrowReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
        letter-spacing: 7px;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 3px;
    }
}

@keyframes heroTitleReveal {
    from {
        opacity: 0;
        transform: translateY(45px);
    }

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

@keyframes heroElementReveal {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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

@keyframes heroVisualReveal {
    from {
        opacity: 0;
        transform: scale(0.82);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}
/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
    transition-delay: var(--animation-delay, 0ms);
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================================
   SERVICES
   ========================================================= */
.services-section {
    background: white;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.service-card {
    position: relative;
    min-height: 310px;
    padding: 32px;
    background: white;
    border: 1px solid var(--vn-border);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
        --mouse-x: 50%;
    --mouse-y: 50%;
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at var(--mouse-x) var(--mouse-y),
            rgba(96, 165, 250, 0.16),
            transparent 42%
        );

    opacity: 0;
    transition: opacity 0.25s ease;

    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(--vn-blue),
            var(--vn-blue-light)
        );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: #a9c5ea;
    box-shadow: var(--vn-shadow);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-number {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}
.service-icon {
    margin-top: 32px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef5ff;
    color: var(--vn-blue);
    font-size: 14px;
    font-weight: 600;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
        .service-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}
}
.service-card:hover .service-icon {
    transform: scale(1.08) rotate(-4deg);
    background: #dbeafe;
}
.service-card h3 {
    margin: 25px 0 13px;
    font-size: 22px;
}
.service-card p {
    margin-bottom: 24px;
    color: var(--vn-muted);
    font-size: 14px;
    line-height: 1.7;
}
.service-card a {
    color: var(--vn-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.service-card a:hover {
    color: #1d4ed8;
    padding-left: 4px;
}
.service-card-dark {
    background: var(--vn-dark-3);
    border-color: var(--vn-dark-3);
    color: white;
}
.service-card-dark .service-number {
    color: #64748b;
}
.service-card-dark .service-icon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--vn-blue-light);
}
.service-card-dark p {
    color: #94a3b8;
}

/* CARD HOVER */

.service-card:hover .flow-node {
    border-color: rgba(37, 99, 235, 0.65);
    box-shadow:
        0 5px 18px rgba(37, 99, 235, 0.12);
}

.service-card:hover .node-process {
    transform: scale(1.08);
    box-shadow:
        0 0 24px rgba(37, 99, 235, 0.4);
}

/* DARK CARD COMPATIBILITY */

.service-card-dark .flow-node {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(96, 165, 250, 0.3);
    color: #a9cdfa;
}

.service-card-dark .node-process {
    background:
        radial-gradient(
            circle at 35% 30%,
            #3b82f6,
            #2563eb 45%,
            #102f67
        );

    color: white;
}
/* =========================================================
   WHY
   ========================================================= */
.dark-section {
    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(37, 99, 235, 0.12),
            transparent 35%
        ),
        var(--vn-dark);
    color: white;
}
.why-section {
    max-width: 1280px;
}
.why-heading {
    max-width: 800px;
    margin-bottom: 70px;
}
.why-heading h2 {
    color: white;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.why-item {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 25px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}
.why-item:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.55);
}
.why-item span {
    color: var(--vn-blue-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}
.why-item h3 {
    margin: 22px 0 12px;
    font-size: 22px;
}
.why-item p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 14px;
}

/* =========================================================
   WHY — STABLE THREE-COLUMN LAYOUT
   ========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.why-item {
    min-width: 0;
}

.why-visual {
    width: 100%;
    height: 120px;
    margin-bottom: 28px;
    position: relative;
    flex-shrink: 0;
}

/* =========================================================
   WHY — BUSINESS FIRST
   BUSINESS PROBLEM / SOLUTION GRAPHIC
   ========================================================= */

.why-business-visual {
    position: relative;
    width: 110px;
    height: 82px;
    margin-bottom: 28px;
}

/* MAIN HORIZONTAL SYSTEM */

.why-business-visual::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 50%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(96, 165, 250, 0.35) 12%,
        rgba(96, 165, 250, 0.7) 50%,
        rgba(96, 165, 250, 0.35) 88%,
        transparent
    );
}

/* LEFT INPUT BLOCKS */

.business-ring-outer,
.business-ring-inner {
    position: absolute;
    border-radius: 4px;
    transform: none;
}

.business-ring-outer {
    left: 8px;
    top: 25px;
    width: 20px;
    height: 14px;

    border: 1px solid rgba(96, 165, 250, 0.45);
    background: rgba(96, 165, 250, 0.06);
}

.business-ring-inner {
    left: 8px;
    top: 43px;
    width: 20px;
    height: 14px;

    border: 1px solid rgba(96, 165, 250, 0.25);
    background: rgba(96, 165, 250, 0.035);
}

/* SMALL INPUT CONNECTIONS */

.business-ring-outer::after,
.business-ring-inner::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    width: 18px;
    height: 1px;
    background: rgba(96, 165, 250, 0.45);
}

/* CENTRAL BUSINESS PROBLEM */

.business-core {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 30px;
    height: 30px;

    transform: translate(-50%, -50%);

    border-radius: 7px;

    background:
        linear-gradient(
            145deg,
            #3b82f6,
            #2563eb 55%,
            #102f67
        );

    border: 1px solid rgba(191, 219, 254, 0.75);

    box-shadow:
        0 0 18px rgba(37, 99, 235, 0.45),
        inset 0 0 10px rgba(255,255,255,0.1);

    z-index: 5;
}

/* CENTRAL STRUCTURE */

.business-core::before {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    top: 9px;

    height: 2px;

    background: rgba(255,255,255,0.8);

    box-shadow:
        0 5px 0 rgba(255,255,255,0.55),
        0 10px 0 rgba(255,255,255,0.35);
}

/* REMOVE OLD CORE DOT */

.business-core span {
    display: none;
}

/* RIGHT SOLUTION PATH */

.business-line {
    position: absolute;

    height: 1px;
    width: 22px;

    background:
        linear-gradient(
            90deg,
            rgba(96,165,250,0.65),
            rgba(96,165,250,0)
        );

    transform-origin: left center;

    z-index: 2;
}

.line-one {
    left: calc(50% + 15px);
    top: calc(50% - 7px);
    transform: rotate(-22deg);
}

.line-two {
    left: calc(50% + 15px);
    top: 50%;
    transform: none;
}

.line-three {
    left: calc(50% + 15px);
    top: calc(50% + 7px);
    transform: rotate(22deg);
}

/* SOLUTION NODES */

.business-node {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 2px;

    background: #93c5fd;

    border: 1px solid rgba(191,219,254,0.8);

    box-shadow:
        0 0 8px rgba(96,165,250,0.8),
        0 0 18px rgba(37,99,235,0.35);

    z-index: 4;
}

.node-top {
    top: 20px;
    right: 8px;
}

.node-left {
    top: 37px;
    right: 2px;
}

.node-right {
    bottom: 20px;
    right: 8px;
}

/* HOVER */

.why-item:hover .business-core {
    box-shadow:
        0 0 22px rgba(37,99,235,0.65),
        inset 0 0 12px rgba(255,255,255,0.14);
}

.why-item:hover .business-node {
    box-shadow:
        0 0 11px rgba(147,197,253,1),
        0 0 22px rgba(37,99,235,0.45);
}

/* =========================================================
   WHY — PRACTICAL AUTOMATION
   ========================================================= */

.why-automation-visual {
    position: relative;
    width: 110px;
    height: 82px;
    margin-bottom: 28px;
}

/* MAIN FLOW LINE */

.automation-track {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 41px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(96,165,250,0.35),
            rgba(96,165,250,0.75),
            rgba(96,165,250,0.35),
            transparent
        );
}

/* NODES */

.automation-node {
    position: absolute;

    width: 18px;
    height: 18px;

    top: 32px;

    border-radius: 5px;

    background: #071525;

    border: 1px solid rgba(96,165,250,0.55);

    box-shadow:
        0 0 10px rgba(37,99,235,0.18);

    z-index: 4;
}

.automation-node span {
    position: absolute;

    width: 5px;
    height: 5px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #93c5fd;

    box-shadow:
        0 0 8px rgba(96,165,250,0.9);
}

.automation-trigger {
    left: 8px;
}

.automation-process {
    left: 46px;

    width: 28px;
    height: 28px;

    top: 27px;

    border-radius: 7px;

    background:
        linear-gradient(
            145deg,
            #3b82f6,
            #2563eb 55%,
            #102f67
        );

    border-color: rgba(191,219,254,0.75);

    box-shadow:
        0 0 18px rgba(37,99,235,0.45);
}

.automation-process span {
    width: 7px;
    height: 7px;

    background: white;

    box-shadow:
        0 0 12px rgba(255,255,255,0.8);
}

.automation-action {
    right: 8px;
}

/* DIRECTION ARROW */

.automation-arrow {
    position: absolute;

    left: 76px;
    top: 37px;

    width: 18px;
    height: 1px;

    background: rgba(147,197,253,0.8);

    z-index: 3;
}

.automation-arrow::after {
    content: "";

    position: absolute;

    right: 0;
    top: -3px;

    width: 6px;
    height: 6px;

    border-top: 1px solid #93c5fd;
    border-right: 1px solid #93c5fd;

    transform: rotate(45deg);
}

/* AUTOMATION PULSE */

.automation-pulse {
    position: absolute;

    left: 49px;
    top: 30px;

    width: 22px;
    height: 22px;

    border-radius: 8px;

    border: 1px solid rgba(96,165,250,0.12);

    animation:
        automationPulse 2.4s ease-in-out infinite;

    pointer-events: none;
}

@keyframes automationPulse {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.25;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.7;
    }
}

/* HOVER */

.why-item:hover .automation-process {
    box-shadow:
        0 0 22px rgba(37,99,235,0.65);
}

.why-item:hover .automation-node {
    border-color: rgba(96,165,250,0.8);
}

/* =========================================================
   BUILT TO EVOLVE — CLEAN UPWARD GRAPH
   ========================================================= */

.evolve-visual {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 8px;

    background: linear-gradient(
        145deg,
        #3b82f6,
        #2563eb
    );

    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.20);

    overflow: hidden;
}

.evolve-visual svg {
    width: 36px;
    height: 30px;
    display: block;
}

.evolve-line {
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.evolve-arrow {
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* =========================================================
   WHY GRID — FORCE THREE EQUAL COLUMNS
   ========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.why-item {
    min-width: 0;
    width: 100%;
}
/* =========================================================
   PROCESS
   ========================================================= */

.process-section {
    background: var(--vn-light);
}

.process-line {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.process-step {
    position: relative;
    padding-top: 20px;
    min-width: 0;
}

.process-circle {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 50%;
    background: white;
    border: 1px solid #cdd8e7;
    color: var(--vn-blue);
    font-size: 12px;
    font-weight: 600;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.process-step:hover .process-circle {
    transform: scale(1.08);
    background: var(--vn-blue);
    color: white;
    border-color: var(--vn-blue);
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.process-step p {
    color: var(--vn-muted);
    font-size: 14px;
    line-height: 1.7;
}
/* =========================================================
   CASE STUDIES
   ========================================================= */
.case-section {
    background: white;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.case-card {
    min-height: 360px;
    padding: 34px;
    border: 1px solid var(--vn-border);
    background: white;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.case-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--vn-shadow);
}
.case-card-featured {
    background: var(--vn-dark-3);
    color: white;
    border-color: var(--vn-dark-3);
}
.case-top {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}
.case-card h3 {
    margin: 65px 0 18px;
    font-size: 25px;
    line-height: 1.2;
}
.case-card p {
    color: var(--vn-muted);
    font-size: 14px;
    line-height: 1.7;
}
.case-card-featured p {
    color: #94a3b8;
}
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 30px;
}
.case-tags span {
    padding: 7px 9px;
    background: #f1f5f9;
    border-radius: 4px;
    color: #475569;
    font-size: 10px;
    font-weight: 600;
}
.case-card-featured .case-tags span {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.case-result {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--vn-border);
}

.case-result span {
    display: block;
    margin-bottom: 7px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.case-result strong {
    display: block;
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

/* =========================================================
   FEATURED CASE STUDY — INTELLIGENT BUSINESS OPERATIONS
   ========================================================= */

.case-card-featured {
    background: var(--vn-dark-3);
    color: white;
    border-color: var(--vn-dark-3);
}

.case-card-featured .case-top {
    color: #64748b;
}

.case-card-featured p {
    color: #94a3b8;
}

.case-card-featured .case-result {
    border-color: rgba(255, 255, 255, 0.12);
}

.case-card-featured .case-result span {
    color: #64748b;
}

.case-card-featured .case-result strong {
    color: white;
}

.case-card-featured .case-tags span {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}
/* =========================================================
   ABOUT
   ========================================================= */
.about-section {
    background: var(--vn-light);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}
.about-copy {
    max-width: 600px;
}
.about-copy p {
    margin-bottom: 22px;
    color: var(--vn-muted);
    font-size: 17px;
    line-height: 1.85;
}
/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
    background: #0d0e4d;
    color: white;
}
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: start;
}
.contact-copy h2 {
    color: white;
}
.contact-copy p:last-child {
    max-width: 520px;
    color: #94a3b8;
    font-size: 17px;
    line-height: 1.8;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 38px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--vn-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-field label {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #64748b;
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--vn-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-field textarea {
    resize: vertical;
}
.form-button {
    align-self: flex-start;
    min-width: 175px;
}
.form-button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}
.form-note {
    color: #64748b;
    font-size: 11px;
}
.form-message {
    margin-top: 2px;
    padding: 12px 14px;
    border-radius: 5px;
    font-size: 13px;
}
.form-message.success {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.form-message.error {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: #ffffff !important;
    color: #111827;
    border-top: 1px solid #e5e7eb;
    padding: clamp(60px, 7vw, 90px) 0 clamp(24px, 3.5vw, 40px);
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    box-sizing: border-box;
    text-align: center;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 4vw, 48px);
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: clamp(40px, 5vw, 60px);
    border-bottom: 1px solid #e5e7eb;
    justify-items: center;
    text-align: center;
}
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.footer-column h4 {
    margin: 0 0 8px;
    color: #000000 !important;
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
}
.footer-column a {
    color: #4b5563 !important;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    width: fit-content;
    text-align: center;
    margin: 0 auto;
}
.footer-column a:hover {
    color: #000000 !important;
    opacity: 1;
    transform: translateY(-2px);
}
.footer-large-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3.5vw, 50px);
    padding: clamp(48px, 6.5vw, 84px) 0 clamp(36px, 5vw, 64px);
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none !important;
    cursor: pointer;
    width: 100%;
    margin: 0 auto;
}
.footer-large-logo {
    height: clamp(120px, 16vw, 210px);
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    filter: none;
    transition: transform 0.25s ease;
}
.footer-large-name {
    font-family: 'Garnett', 'Founders Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(48px, 7.5vw, 110px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #000000 !important;
    line-height: 0.95;
    text-transform: uppercase;
    user-select: none;
    display: inline-block;
}
.footer-large-brand:hover .footer-large-logo {
    transform: scale(1.03);
}
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 36px;
    padding-top: clamp(20px, 2.5vw, 32px);
    color: #6b7280 !important;
    font-size: 13px;
    text-align: center;
    margin: 0 auto;
}
.footer-bottom p {
    color: #6b7280 !important;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}
.footer-bottom a {
    color: #4b5563 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-bottom a:hover {
    color: #000000 !important;
    text-decoration: underline;
}
/* =========================================================
   GENERAL ANIMATIONS
   ========================================================= */
@keyframes vnFadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes vnFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes vnHeroGlow {
    0%,
    100% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(0.94);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.06);
    }
}
@keyframes coreRingPulse {
    0%,
    100% {
        box-shadow:
            0 0 25px rgba(37, 99, 235, 0.28),
            inset 0 0 20px rgba(96, 165, 250, 0.08);
    }
    50% {
        box-shadow:
            0 0 45px rgba(37, 99, 235, 0.55),
            inset 0 0 25px rgba(96, 165, 250, 0.14);
    }
}
@keyframes orbitOuterSpin {
    from {
        transform:
            translate(-50%, -50%)
            rotateX(68deg)
            rotateZ(0deg);
    }
    to {
        transform:
            translate(-50%, -50%)
            rotateX(68deg)
            rotateZ(360deg);
    }
}
@keyframes orbitMiddleSpin {
    from {
        transform:
            translate(-50%, -50%)
            rotateY(67deg)
            rotateZ(0deg);
    }
    to {
        transform:
            translate(-50%, -50%)
            rotateY(67deg)
            rotateZ(360deg);
    }
}
@keyframes orbitInnerSpin {
    from {
        transform:
            translate(-50%, -50%)
            rotateX(62deg)
            rotateY(18deg)
            rotateZ(0deg);
    }
    to {
        transform:
            translate(-50%, -50%)
            rotateX(62deg)
            rotateY(18deg)
            rotateZ(360deg);
    }
}
@keyframes particleOrbitOne {
    from {
        transform:
            translate(-50%, -50%)
            rotateX(68deg)
            rotateZ(0deg);
    }
    to {
        transform:
            translate(-50%, -50%)
            rotateX(68deg)
            rotateZ(360deg);
    }
}
@keyframes particleOrbitTwo {
    from {
        transform:
            translate(-50%, -50%)
            rotateY(67deg)
            rotateZ(0deg);
    }
    to {
        transform:
            translate(-50%, -50%)
            rotateY(67deg)
            rotateZ(360deg);
    }
}
@keyframes particleOrbitThree {
    from {
        transform:
            translate(-50%, -50%)
            rotateX(62deg)
            rotateY(18deg)
            rotateZ(0deg);
    }
    to {
        transform:
            translate(-50%, -50%)
            rotateX(62deg)
            rotateY(18deg)
            rotateZ(360deg);
    }
}
@keyframes aiNodeFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
@keyframes statusPulse {
    0%,
    100% {
        opacity: 0.65;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}
/* =========================================================
   PREMIUM HERO ENTRANCE
   ========================================================= */

.hero-copy {
    animation: heroContentReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .eyebrow {
    animation: heroEyebrowReveal 0.7s ease-out 0.05s both;
}

.hero h1 {
    animation: heroTitleReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-description {
    animation: heroElementReveal 0.8s ease-out 0.35s both;
}

.hero-actions {
    animation: heroElementReveal 0.8s ease-out 0.5s both;
}

.hero-benefits {
    animation: heroElementReveal 0.8s ease-out 0.65s both;
}

.hero-visual {
    animation: heroVisualReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
/* =========================================================
   CARD INTERACTION
   ========================================================= */
.service-card,
.case-card,
.why-item,
.process-step {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}
.service-card:hover {
    transform: translateY(-9px);
}
.case-card:hover {
    transform: translateY(-8px);
}
/* =========================================================
   BUTTON INTERACTION
   ========================================================= */
.button,
.nav-button {
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}
.button:hover,
.nav-button:hover {
    transform: translateY(-3px);
}
/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1050px) {
    .nav-links {
        display: none;
    }
    .nav-button {
        display: none;
    }
    .mobile-menu-button {
        display: block;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual {
        min-height: 450px;
    }
    .services-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-line {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* MOBILE NAVIGATION */
    .nav-links.mobile-open {
        display: flex;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(249, 252, 255, 0.99);
        border-bottom: 1px solid rgba(17, 24, 39, 0.1);
        box-shadow: 0 12px 28px rgba(8, 24, 48, 0.1);
    }
    .nav-links.mobile-open a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    }
    .nav-links.mobile-open a::after {
        display: none;
    }
    .ai-orbit-system {
        width: 360px;
        height: 360px;
    }
    .orbit-outer,
    .orbit-path-one {
        width: 360px;
        height: 360px;
    }
    .orbit-middle,
    .orbit-path-two {
        width: 270px;
        height: 270px;
    }
    .orbit-inner,
    .orbit-path-three {
        width: 180px;
        height: 180px;
    }
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 650px) {
    .navbar {
        min-height: 68px;
        padding: 0 20px;
    }
    .hero {
        min-height: auto;
        padding: 120px 20px 75px;
    }
    .hero h1 {
        font-size: 52px;
        letter-spacing: -2.5px;
    }
    .hero-description {
        font-size: 16px;
    }
    .hero-benefits {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }
    .hero-visual {
        min-height: 390px;
    }
    /*
       Mobile uses one smaller coordinate system.
       The V and every ring remain centered on the exact
       same 50% / 50% point.
    */
    .ai-orbit-system {
        width: 320px;
        height: 320px;
    }
    .hero-orbital-glow {
        width: 330px;
        height: 330px;
    }
    .orbit-outer,
    .orbit-path-one {
        width: 315px;
        height: 315px;
    }
    .orbit-middle,
    .orbit-path-two {
        width: 250px;
        height: 250px;
    }
    .orbit-inner,
    .orbit-path-three {
        width: 185px;
        height: 185px;
    }
    .ai-core {
        width: 100px;
        height: 100px;
    }
    .core-inner {
        width: 70px;
        height: 70px;
    }
    .core-inner span {
        font-size: 27px;
    }
    .ai-node {
        width: 50px;
        height: 50px;
        font-size: 7px;
    }
    .visual-status {
        bottom: 0;
    }
    .section {
        padding: 85px 20px;
    }
    .section-intro h2,
    .why-heading h2,
    .about-grid h2,
    .contact-copy h2 {
        letter-spacing: -2px;
    }
    .services-grid,
    .case-grid,
    .process-line {
        grid-template-columns: 1fr;
    }
    .service-card,
    .case-card {
        min-height: auto;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 25px;
    }
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
        justify-items: center;
        text-align: center;
    }
    .footer-large-brand {
        gap: 16px;
        padding: 36px 0 28px;
        justify-content: center;
    }
    .footer-large-logo {
        height: clamp(80px, 20vw, 130px);
    }
    .footer-large-name {
        font-size: clamp(32px, 8.5vw, 56px);
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}
/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .orbit,
    .orbit-path,
    .ai-node,
    .hero-orbital-glow,
    .core-ring,
    .status-dot {
        animation: none !important;
    }
}

/* =========================================================
   VANTARIS NEXUS — SAFE HERO ANIMATION
   Does NOT modify positioning or transforms
   ========================================================= */

/* AI CORE — subtle breathing glow */
.ai-core {
    animation: coreGlow 3.5s ease-in-out infinite;
}

@keyframes coreGlow {
    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.18);
    }
}


/* CORE RING — subtle pulse */
.core-ring {
    animation: ringGlow 2.8s ease-in-out infinite
}


/
@keyframes ringGlow {
    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}


/* SCAN — opacity only */
.core-scan {
    animation: scanGlow 2.5s ease-in-out infinite;
}

@keyframes scanGlow {
    0%,
    100% {
        opacity: 0.25;
    }

    50% {
        opacity: 0.8;
    }
}


/* ORBIT PARTICLES — safe pulse */
.orbit-particle {
    animation: particleGlow 1.8s ease-in-out infinite;
}

@keyframes particleGlow {
    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}


/* HERO GLOW */
.hero-orbital-glow {
    animation: backgroundGlow 5s ease-in-out infinite;
}

@keyframes backgroundGlow {
    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}


/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {

    .ai-core,
    .core-ring,
    .core-scan,
    .orbit-particle,
    .ai-node,
    .hero-orbital-glow {
        animation: none;
    }

}

/* =========================================================
   HERO — MOUSE FOLLOWING GLOW
   ========================================================= */

.hero-visual {
    --mouse-x: 50%;
    --mouse-y: 50%;
    position: relative;
    overflow: hidden;
}

/* =========================================================
   SERVICE CARDS — PREMIUM HOVER
   ========================================================= */

.service-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px rgba(0, 90, 255, 0.14);

    border-color: rgba(60, 130, 255, 0.45);
}


/* =========================================================
   SERVICE CARDS — CONTENT INTERACTION
   ========================================================= */

.service-card h3,
.service-card p,
.service-card a {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.service-card:hover h3 {
    transform: translateX(3px);
}

.service-card:hover p {
    transform: translateX(2px);
}

.service-card:hover a {
    transform: translateX(5px);
}

/* =========================================================
   PROCESS — STEP HOVER INTERACTION
   ========================================================= */

.process-step {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.process-circle {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.process-step:hover {
    transform: translateY(-6px);
}

.process-step:hover .process-circle {
    transform: scale(1.08);
    box-shadow:
        0 0 0 8px rgba(60, 130, 255, 0.08),
        0 0 25px rgba(60, 130, 255, 0.22);
}


/* =========================================================
   WHY SECTION — WHITE CURSOR GLOW
   ========================================================= */

.dark-section {
    position: relative;
    overflow: hidden;
}

.dark-section::before {
    content: "";
    position: absolute;

    width: 220px;
    height: 220px;

    left: var(--glow-x, 50%);
    top: var(--glow-y, 50%);

    transform: translate(-50%, -50%);

    background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.02) 55%,
    transparent 72%
);

    filter: blur(18px);

    pointer-events: none;

    opacity: 0;

    transition:
        opacity 0.35s ease,
        left 0.08s linear,
        top 0.08s linear;

    z-index: 0;
}

.dark-section.glow-active::before {
    opacity: 1;
}

.dark-section .section {
    position: relative;
    z-index: 1;
}


/* =========================================================
   PROCESS STEPS — PREMIUM HOVER INTERACTION
   ========================================================= */

.process-step {
    position: relative;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.process-step::after {
    content: "";
    position: absolute;

    width: 120px;
    height: 120px;

    left: 50%;
    top: 45%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        circle,
        rgba(40, 140, 255, 0.14),
        transparent 70%
    );

    filter: blur(18px);

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.process-step:hover {
    transform: translateY(-8px);
}

.process-step:hover::after {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1.15);
}


/* =========================================================
   CASE STUDIES — PREMIUM HOVER
   ========================================================= */

.case-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.case-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: var(--case-glow-x, 50%);
    top: var(--case-glow-y, 50%);

    transform: translate(-50%, -50%);

    background: radial-gradient(
        circle,
        rgba(60, 150, 255, 0.14) 0%,
        rgba(60, 150, 255, 0.05) 40%,
        transparent 72%
    );

    filter: blur(18px);

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        left 0.08s linear,
        top 0.08s linear;
}

.case-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.case-card:hover::before {
    opacity: 1;
}


/* =========================================================
   ABOUT — PREMIUM HOVER DETAIL
   ========================================================= */

.about-section {
    position: relative;
    overflow: hidden;
}

.about-grid {
    position: relative;
    z-index: 1;
}

.about-section::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    left: 8%;
    top: 50%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        circle,
        rgba(40, 140, 255, 0.08) 0%,
        rgba(40, 140, 255, 0.03) 40%,
        transparent 72%
    );

    filter: blur(22px);

    pointer-events: none;

    opacity: 0.7;
}


.about-copy p {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.about-copy p:hover {
    transform: translateX(6px);
}


.about-copy p {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.about-copy p:hover {
    transform: translateX(6px);
}


/* =========================================================
   CONTACT FORM — PREMIUM FIELD INTERACTION
   ========================================================= */

.form-field {
    position: relative;
}

.form-field input,
.form-field textarea {
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.25s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;

    border-color: rgba(50, 140, 255, 0.75);

    box-shadow:
        0 0 0 3px rgba(50, 140, 255, 0.08),
        0 8px 25px rgba(30, 100, 200, 0.08);

    transform: translateY(-1px);
}

.form-field label {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.form-field:focus-within label {
    color: #2f8cff;
    transform: translateX(3px);
}

.form-button {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.form-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(30, 100, 200, 0.20);
}

.form-button:active {
    transform: translateY(0);
}


/* =========================================================
   FOOTER — PREMIUM INTERACTION
   ========================================================= */

.footer-column a {
    position: relative;
    display: inline-block;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-column a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width 0.3s ease;
}

.footer-column a:hover {
    transform: translateX(4px);
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-brand .brand {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.footer-brand .brand:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}


/* =========================================================
   GLOBAL — SMOOTH SCROLLING
   ========================================================= */

html {
    scroll-behavior: smooth;
}
/* =========================================================
   PAGE LOAD
   ========================================================= */

body {
    opacity: 1;
    transition: opacity 0.5s ease;
}

body:has(#home):not(.page-loaded) {
    opacity: 0;
}

body.page-loaded {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body {
        opacity: 1;
        transition: none;
    }
}


/* =========================================================
   MOBILE — INTERACTION & LAYOUT SAFETY
   ========================================================= */

@media (max-width: 768px) {

    /* Disable cursor-following visual effects on touch devices */
    .dark-section::before,
    .case-card::before {
        display: none;
    }

    /* Prevent hover transforms from causing awkward movement */
    .process-step:hover {
        transform: none;
    }

    .case-card:hover {
        transform: none;
    }

    .about-copy p:hover {
        transform: none;
    }

    .footer-column a:hover {
        transform: none;
    }

    .form-button:hover {
        transform: none;
    }

}


/* =========================================================
   CONTACT FORM — RESPONSE MESSAGE
   ========================================================= */

.form-message {
    margin-top: 18px;
    padding: 14px 16px;

    border-radius: 8px;

    font-size: 14px;
    line-height: 1.5;

    opacity: 1;
    transform: translateY(0);

    animation: formMessageIn 0.3s ease;
}

.form-message.success {
    color: #0f5132;
    background: rgba(25, 135, 84, 0.10);
    border: 1px solid rgba(25, 135, 84, 0.25);
}

.form-message.success {
    color: #ffffff;
    background: #168a52;
    border: 1px solid #168a52;

    font-weight: 500;

    box-shadow:
        0 8px 24px rgba(22, 138, 82, 0.18);
}

@keyframes formMessageIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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


/* =========================================================
   HERO — TEXT REVEAL
   ========================================================= */

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-description,
.hero-copy .hero-actions,
.hero-copy .hero-benefits {
    opacity: 0;
    transform: translateY(18px);
    animation: heroTextReveal 0.7s ease forwards;
}

.hero-copy .eyebrow {
    animation-delay: 0.1s;
}

.hero-copy h1 {
    animation-delay: 0.2s;
}

.hero-copy .hero-description {
    animation-delay: 0.3s;
}

.hero-copy .hero-actions {
    animation-delay: 0.4s;
}

.hero-copy .hero-benefits {
    animation-delay: 0.5s;
}

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

@media (prefers-reduced-motion: reduce) {
    .hero-copy .eyebrow,
    .hero-copy h1,
    .hero-copy .hero-description,
    .hero-copy .hero-actions,
    .hero-copy .hero-benefits {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* =========================================================
   HERO BUTTONS — PREMIUM HOVER
   ========================================================= */

.hero-actions .button {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-actions .button::before {
    content: "";

    position: absolute;

    width: 80px;
    height: 80px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) scale(0);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    transition:
        transform 0.45s ease;
}

.hero-actions .button:hover {
    transform: translateY(-3px);
}

.hero-actions .button:hover::before {
    transform: translate(-50%, -50%) scale(3);
}

.hero-actions .button:active {
    transform: translateY(0);
}

.hero-actions .button span {
    display: inline-block;

    transition:
        transform 0.3s ease;
}

.hero-actions .button-primary:hover span {
    transform: translateX(5px);
}


/* =========================================================
   HERO BENEFITS — HOVER INTERACTION
   ========================================================= */

.hero-benefits > div {
    position: relative;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.hero-benefits > div::before {
    content: "";

    position: absolute;

    left: -10px;
    top: 50%;

    width: 3px;
    height: 0;

    background: #2f8cff;

    transform: translateY(-50%);

    transition:
        height 0.3s ease;
}

.hero-benefits > div:hover {
    transform: translateX(6px);
}

.hero-benefits > div:hover::before {
    height: 70%;
}

.hero-benefits > div strong {
    transition:
        color 0.3s ease;
}

.hero-benefits > div:hover strong {
    color: #2f8cff;
}


/* =========================================================
   SERVICES HEADING — SUBTLE INTERACTION
   ========================================================= */

.services-section .section-intro h2 span {
    display: inline-block;

    transition:
        transform 0.35s ease,
        letter-spacing 0.35s ease;
}

.services-section .section-intro:hover h2 span {
    transform: translateX(4px);
    letter-spacing: 0.01em;
}

.services-section .section-intro p:last-child {
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.services-section .section-intro:hover p:last-child {
    transform: translateY(-2px);
}


/* =========================================================
   WHY SECTION — HEADING INTERACTION
   ========================================================= */

.why-heading h2 span {
    display: inline-block;

    transition:
        transform 0.35s ease,
        letter-spacing 0.35s ease;
}

.why-heading:hover h2 span {
    transform: translateX(5px);
    letter-spacing: 0.01em;
}

.why-heading .eyebrow {
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.why-heading:hover .eyebrow {
    opacity: 0.8;
    transform: translateX(4px);
}


/* =========================================================
   PROCESS HEADING — SUBTLE INTERACTION
   ========================================================= */

.process-section .section-intro h2 span {
    display: inline-block;

    transition:
        transform 0.35s ease,
        letter-spacing 0.35s ease;
}

.process-section .section-intro:hover h2 span {
    transform: translateX(5px);
    letter-spacing: 0.01em;
}

.process-section .section-intro .eyebrow {
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.process-section .section-intro:hover .eyebrow {
    opacity: 0.8;
    transform: translateX(4px);
}


/* =========================================================
   WHY US — FIX THREE CARD POSITIONS
   ========================================================= */

.why-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px;
    width: 100%;
    align-items: start;
}

.why-item {
    width: 100%;
    min-width: 0;
}

.why-item:nth-child(1),
.why-item:nth-child(2),
.why-item:nth-child(3) {
    grid-column: auto !important;
    grid-row: auto !important;
}


/* =========================================================
   PHASE 1 — LIGHT EDITORIAL FOUNDATION
   Neutral semantic tokens are intentional until the brand accent
   is reviewed and approved. Keep this layer last to supersede legacy
   presentation rules without removing their underlying structure.
   ========================================================= */

html {
    scroll-padding-top: 88px;
    scroll-behavior: smooth;
}

body {
    color: var(--color-ink);
    background: var(--color-canvas);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--line-height-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: var(--color-ink);
    background: #e8e8e3;
}

a {
    color: inherit;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 4px;
}

.site-header {
    background: var(--color-header-background);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar,
.hero-content,
.section {
    width: min(100%, var(--content-max));
    padding-inline: var(--container-gutter);
}

.navbar {
    min-height: clamp(72px, 7vw, 88px);
    gap: var(--grid-gap);
}

.brand,
.brand strong,
.nav-links a,
.mobile-menu-button {
    color: var(--color-ink);
}

.brand-mark {
    width: 52px;
    height: 52px;
    transform: none;
    filter: brightness(0);
}

.brand small,
.nav-links a:hover,
.nav-links a.active {
    color: var(--color-ink-muted);
}

.nav-links {
    gap: clamp(16px, 2.2vw, 32px);
}

.nav-links a {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
}

.nav-links a::after {
    height: 1px;
    background: var(--color-accent);
}

.nav-button,
.navbar > a[href="#contact"],
.button-primary {
    color: var(--color-accent-contrast);
    background: var(--color-accent);
    border-color: var(--color-accent);
    border-radius: var(--radius-control);
    box-shadow: none;
}

.nav-button:hover,
.navbar > a[href="#contact"]:hover,
.button-primary:hover {
    color: var(--color-accent-contrast);
    background: #41413d;
    border-color: #41413d;
    box-shadow: none;
}

.mobile-menu-button {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-control);
    background: var(--color-canvas);
}

.mobile-menu-button:hover {
    background: var(--color-surface);
}

.hero {
    min-height: 0;
    padding: clamp(152px, 18vw, 224px) 0 clamp(88px, 11vw, 144px);
    color: var(--color-ink);
    background: var(--color-canvas);
}

.hero-background {
    display: none;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--grid-gap);
}

.hero-copy {
    grid-column: 1 / -1;
    max-width: 900px;
}

.eyebrow {
    margin-bottom: var(--space-3);
    color: var(--color-ink-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.hero h1 {
    max-width: 12ch;
    margin-bottom: var(--space-4);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(48px, 7.2vw, 92px);
    font-weight: 500;
    line-height: 0.99;
    letter-spacing: clamp(-0.06em, -0.045em, -0.025em);
}

.hero h1 span,
.section-intro h2 span,
.why-heading h2 span,
.about-grid h2 span,
.contact-copy h2 span {
    color: inherit;
}

.hero-description {
    max-width: var(--text-measure-narrow);
    margin-bottom: var(--space-4);
    color: var(--color-ink-muted);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.65;
}

.hero-actions {
    gap: var(--space-2);
}

.button {
    min-height: 48px;
    padding-inline: var(--space-3);
    border-radius: var(--radius-control);
    font-size: 14px;
}

.button:hover {
    transform: translateY(-1px);
}

.button-secondary {
    color: var(--color-ink);
    border: 1px solid var(--color-border);
    background: transparent;
}

.button-secondary:hover {
    color: var(--color-ink);
    border-color: var(--color-ink-muted);
    background: var(--color-surface);
}

.hero-benefits {
    gap: clamp(20px, 3vw, 48px);
    margin-top: var(--space-6);
}

.hero-benefits strong,
.hero-benefits span {
    color: var(--color-ink-muted);
    letter-spacing: 0;
}

.section {
    padding-block: var(--section-space);
}

.section-intro {
    max-width: 780px;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.section-intro h2,
.why-heading h2,
.about-grid h2,
.contact-copy h2 {
    max-width: 15ch;
    margin-bottom: var(--space-3);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.section-intro > p:last-child,
.about-copy p,
.contact-copy > p:not(.eyebrow) {
    max-width: var(--text-measure);
    color: var(--color-ink-muted);
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.7;
}

.services-section,
.process-section,
.case-section,
.about-section,
.contact-section {
    color: var(--color-ink);
    background: var(--color-canvas);
}

.services-grid,
.why-grid,
.case-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    gap: var(--grid-gap);
}

.service-card,
.case-card {
    grid-column: span 4;
    min-width: 0;
    color: var(--color-ink);
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: 0;
    box-shadow: none;
}

.service-card::before,
.service-card::after,
.case-card::before,
.case-card::after {
    display: none;
}

.service-card:hover,
.case-card:hover {
    color: var(--color-ink);
    background: var(--color-surface-raised);
    border-color: var(--color-border);
    box-shadow: var(--shadow-subtle);
    transform: none;
}

.case-card-featured,
.case-card-featured:hover {
    color: var(--color-ink);
    background: var(--color-surface);
    border-color: var(--color-border);
}

.case-card-featured .case-top,
.case-card-featured p,
.case-card-featured .case-result span {
    color: var(--color-ink-muted);
}

.case-card-featured .case-result {
    border-color: var(--color-border);
}

.case-card-featured .case-result strong {
    color: var(--color-ink);
}

.case-tags span,
.case-card-featured .case-tags span {
    color: var(--color-ink-muted);
    background: var(--color-canvas);
    border: 1px solid var(--color-border);
    border-radius: 0;
}

.service-icon {
    color: var(--color-ink);
    background: var(--color-surface);
    border-radius: 0;
}

.service-card:hover .service-icon {
    color: var(--color-ink);
    background: var(--color-surface);
    transform: none;
}

.service-card h3,
.why-item h3,
.process-step h3,
.case-card h3 {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.service-card p,
.why-item p,
.process-step p,
.case-card p {
    color: var(--color-ink-muted);
}

.service-card a,
.service-card a:hover {
    color: var(--color-ink);
}

.service-card-dark {
    color: var(--color-ink);
    background: var(--color-surface);
    border-color: var(--color-border);
}

.service-card-dark .service-number,
.service-card-dark p {
    color: var(--color-ink-muted);
}

.service-card-dark .service-icon {
    color: var(--color-ink);
    background: var(--color-canvas);
}

.dark-section {
    color: var(--color-ink);
    background: var(--color-surface);
}

.dark-section::before {
    display: none;
}

.why-visual,
.about-section::before {
    display: none;
}

.why-heading h2,
.why-item span {
    color: var(--color-ink);
}

.why-item {
    grid-column: span 4;
    min-width: 0;
    border-color: var(--color-border);
}

.why-item:hover {
    border-color: var(--color-ink-muted);
    transform: none;
}

.why-item span,
.process-circle {
    color: var(--color-ink-muted);
}

.process-circle {
    background: var(--color-canvas);
    border-color: var(--color-border);
}

.process-step:hover .process-circle {
    color: var(--color-accent-contrast);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.process-line {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    gap: var(--grid-gap);
}

.process-step {
    grid-column: span 2;
    min-width: 0;
}

.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    gap: var(--grid-gap);
    align-items: start;
}

.about-grid > :first-child,
.contact-copy {
    grid-column: 1 / span 5;
}

.about-copy,
.contact-form {
    grid-column: 7 / span 6;
    min-width: 0;
}

.about-copy p + p {
    margin-top: var(--space-2);
}

.contact-form {
    background: var(--color-surface);
    border-color: var(--color-border);
    box-shadow: none;
}

.form-field label {
    color: var(--color-ink);
}

.form-field input,
.form-field textarea {
    color: var(--color-ink);
    background: var(--color-canvas);
    border-color: var(--color-border);
}

.form-field input:focus,
.form-field textarea:focus {
    color: var(--color-ink);
    background: var(--color-canvas);
    border-color: var(--color-ink-muted);
    box-shadow: none;
    transform: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--color-ink-subtle);
}

.footer {
    padding: var(--space-6) 0 var(--space-3);
    color: var(--color-ink);
    background: #0d0e4d;
}

.footer-grid,
.footer-bottom {
    width: min(100%, var(--content-max));
    max-width: var(--content-max);
    box-sizing: border-box;
    padding-inline: var(--container-gutter);
    margin-inline: auto;
}

.footer-grid {
    border-color: var(--color-border);
}

.footer-brand p,
.footer-column a,
.footer-bottom {
    color: var(--color-ink-muted);
}

.footer-column h4 {
    color: var(--color-ink);
}

.footer-column a:hover {
    color: var(--color-ink);
}

.reveal,
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-description,
.hero-copy .hero-actions,
.hero-copy .hero-benefits {
    animation-duration: 0.6s;
}

@media (max-width: 1024px) {
    :root {
        --container-gutter: clamp(24px, 4vw, 48px);
    }

    .hero-copy {
        grid-column: 1 / span 10;
    }

    .service-card,
    .case-card,
    .why-item {
        grid-column: span 6;
    }

    .about-grid > :first-child,
    .contact-copy {
        grid-column: 1 / span 5;
    }

    .about-copy,
    .contact-form {
        grid-column: 7 / span 6;
    }
}

@media (max-width: 768px) {
    :root {
        --grid-columns: 4;
        --container-gutter: 24px;
        --section-space: clamp(64px, 14vw, 96px);
    }

    .nav-links.mobile-open {
        background: var(--color-canvas);
        border: 1px solid var(--color-border);
        box-shadow: var(--shadow-subtle);
    }

    .nav-links.mobile-open a {
        color: var(--color-ink);
    }

    .hero {
        padding-top: 144px;
    }

    .hero-content,
    .services-grid,
    .why-grid,
    .case-grid,
    .process-line,
    .about-grid,
    .contact-grid {
        grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    }

    .hero-copy,
    .section-intro,
    .about-grid > :first-child,
    .about-copy,
    .contact-copy,
    .contact-form {
        grid-column: 1 / -1;
    }

    .service-card,
    .case-card,
    .why-item {
        grid-column: span 2;
    }

    .process-step {
        grid-column: span 2;
    }

    .hero-benefits {
        flex-wrap: wrap;
        gap: var(--space-3);
    }
}

@media (max-width: 520px) {
    :root {
        --container-gutter: 20px;
    }

    .hero {
        padding-top: 128px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 58px);
        letter-spacing: -0.05em;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .service-card,
    .case-card,
    .why-item,
    .process-step {
        grid-column: 1 / -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   PHASE 2C — CENTERED VICEROYS HERO
   ========================================================= */

.site-header {
    background: var(--color-header-background);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar,
.hero-content,
.section {
    width: min(100%, var(--content-max));
    padding-inline: var(--container-gutter);
}

.navbar {
    min-height: clamp(76px, 6.5vw, 88px);
    gap: var(--grid-gap);
}

.brand,
.brand strong,
.nav-links a,
.mobile-menu-button {
    color: var(--color-ink);
}

.brand-mark {
    width: 82px;
    height: 82px;
    object-fit: contain;
    transform: none;
    filter: brightness(0);
}

.brand strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.nav-links {
    gap: clamp(16px, 2.2vw, 32px);
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
}

.nav-links a::after {
    height: 2px;
    background: var(--color-accent-light);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
}

.nav-button,
.navbar > a[href="#contact"],
.button-primary {
    color: var(--color-accent-contrast);
    background: var(--color-accent);
    border-color: var(--color-accent);
    border-radius: var(--radius-control);
    box-shadow: var(--shadow-button);
    transition: var(--transition-control);
}

.nav-button:hover,
.navbar > a[href="#contact"]:hover,
.button-primary:hover {
    color: var(--color-accent-contrast);
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    box-shadow: var(--shadow-button-hover);
}

.hero {
    --hero-header-height: clamp(76px, 6.5vw, 88px);
    display: flex;
    min-height: calc(100vh - var(--hero-header-height) + clamp(96px, 11vh, 112px));
    min-height: calc(100svh - var(--hero-header-height) + clamp(96px, 11vh, 112px));
    flex-direction: column;
    justify-content: center;
    padding-block:
        calc(var(--hero-header-height) + clamp(152px, 18vh, 176px))
        clamp(24px, 3vh, 40px);
    color: var(--color-ink);
    background: var(--color-canvas);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-items: center;
    row-gap: clamp(40px, 5vh, 50px);
    margin-inline: auto;
}

.hero-copy {
    display: flex;
    width: 100%;
    max-width: 940px;
    flex-direction: column;
    align-items: center;
    grid-column: 1 / -1;
    text-align: center;
}

.hero-copy .eyebrow {
    margin-bottom: clamp(20px, 1.6vw, 24px);
    color: var(--color-text-link);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.15em;
    line-height: 1.4;
}

.hero h1 {
    max-width: 100%;
    margin: 0 auto 24px;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-display);
    font-weight: var(--font-weight-medium);
    line-height: 1.06;
    letter-spacing: -0.05em;
    text-align: center;
}

.hero-headline-lead {
    display: block;
    max-width: 100%;
    margin-inline: auto;
}

.hero-rotating-window {
    display: grid;
    width: min(100%, 30ch);
    min-height: 1.38em;
    place-items: center;
    margin-inline: auto;
    overflow: hidden;
    text-align: center;
}

.hero-rotating-phrase {
    display: block;
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 0.91em;
    font-weight: 500;
    line-height: 1.24;
    letter-spacing: -0.035em;
    text-decoration: none;
    white-space: nowrap;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 140ms ease-out, transform 140ms ease-out;
}

.hero-rotating-phrase.is-changing {
    opacity: 0;
    transform: translateY(2px);
}

.hero-description {
    max-width: 62ch;
    margin: 0 auto 30px;
    color: var(--color-ink-muted);
    font-size: var(--text-lg);
    line-height: 1.58;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero .button-primary,
.hero .button-secondary {
    min-height: var(--button-height-standard);
    align-items: center;
    padding: var(--button-padding-standard);
    border-radius: var(--radius-control);
}

.hero .button-secondary {
    color: var(--color-ink);
    border-color: #d5deea;
    background: rgba(255, 255, 255, 0.86);
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero .button-secondary:hover {
    color: var(--color-accent);
    border-color: #b6cce9;
    background: #f2f7ff;
}

.hero .button-primary span {
    margin-left: 8px;
    transition: transform 180ms ease;
}

.hero .button-primary:hover span {
    transform: translateX(3px);
}

.hero-visual {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    width: min(100%, 780px);
    max-width: 820px;
    min-width: 0;
    min-height: 320px;
    flex-direction: column;
    grid-column: 1 / -1;
    justify-self: center;
    margin: 0;
    padding: 20px clamp(20px, 2.6vw, 29px) 17px;
    color: var(--color-ink);
    border: 1px solid var(--color-accent-line);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 75% 0%, rgba(118, 170, 255, 0.075), transparent 45%),
        linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 17px 48px rgba(11, 31, 58, 0.07), 0 0 26px rgba(118, 170, 255, 0.055);
}

.assistant-empty-title {
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 27px);
    font-weight: 550;
    letter-spacing: -0.035em;
    line-height: 1.2;
    text-align: center;
}

.assistant-composer {
    display: flex;
    width: 100%;
    min-height: 112px;
    flex: 0 0 112px;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 6px;
    padding: 13px 13px 9px;
    border: 1px solid #d1ddeb;
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 19px rgba(11, 31, 58, 0.055), 0 0 18px rgba(118, 170, 255, 0.045);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.assistant-composer:focus-within {
    border-color: #92b9ed;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(118, 170, 255, 0.12), 0 6px 19px rgba(11, 31, 58, 0.08);
}

.assistant-composer input {
    width: 100%;
    min-width: 0;
    height: 34px;
    flex: 0 0 34px;
    padding: 0;
    color: var(--color-ink);
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
}

.assistant-composer input::placeholder {
    color: #78879a;
    opacity: 1;
}

.assistant-composer-tools {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 10px;
}

.assistant-composer-spacer {
    flex: 1 1 auto;
}

.assistant-utility-button,
.assistant-microphone {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    color: #465a72;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.assistant-utility-button {
    border: 1px solid #dce5ef;
    background: #ffffff;
}

.assistant-utility-button:hover,
.assistant-microphone:hover {
    color: var(--color-accent);
    background: var(--color-accent-soft);
}

.assistant-utility-button:disabled,
.assistant-microphone:disabled {
    opacity: 1;
    cursor: default;
}

.assistant-utility-button svg,
.assistant-microphone svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.assistant-send {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    color: #ffffff;
    border: 0;
    border-radius: 13px;
    background: var(--color-accent);
    box-shadow: 0 4px 12px rgba(11, 31, 58, 0.17), 0 0 15px rgba(118, 170, 255, 0.14);
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.assistant-send:disabled {
    opacity: 1;
}

.assistant-send:hover:not(:disabled) {
    background: var(--color-accent-hover);
    box-shadow: 0 5px 15px rgba(11, 31, 58, 0.2), 0 0 18px rgba(118, 170, 255, 0.20);
    transform: translateY(-1px);
}

.assistant-send svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.assistant-suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.assistant-suggestion {
    display: inline-flex;
    min-height: 36px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 11px;
    color: #46566a;
    border: 1px solid #dce4ee;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.assistant-suggestion:hover {
    color: var(--color-accent);
    border-color: #b9cde7;
    background: #f7faff;
    box-shadow: 0 3px 10px rgba(11, 31, 58, 0.05);
}

.assistant-suggestion:disabled {
    opacity: 1;
    cursor: default;
}

.assistant-suggestion svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

@media (max-width: 1024px) {
    .hero-copy {
        max-width: 850px;
    }

    .hero h1 {
        font-size: clamp(40px, 5.4vw, 56px);
    }

    .hero-visual {
        width: min(100%, 760px);
        min-height: 310px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        row-gap: clamp(32px, 4vh, 40px);
    }

    .hero h1 {
        max-width: 20ch;
        font-size: clamp(39px, 7.4vw, 52px);
    }

    .hero-rotating-window {
        width: min(100%, 29ch);
        min-height: 1.42em;
    }

    .hero-visual {
        width: min(100%, 700px);
        min-height: 300px;
        padding: 18px 20px 15px;
    }

}

@media (max-width: 520px) {
    .navbar {
        min-height: 72px;
        gap: 12px;
    }

    .brand {
        gap: 7px;
    }

    .brand-mark {
        width: 65px;
        height: 65px;
    }

    .brand strong {
        font-size: 16px;
    }

    .hero {
        --hero-header-height: 72px;
        min-height: auto;
        justify-content: flex-start;
        padding-block:
            calc(var(--hero-header-height) + clamp(52px, 7vh, 60px))
            clamp(32px, 4vh, 40px);
    }

    .hero-content {
        row-gap: clamp(30px, 4vh, 36px);
    }

    .hero-copy .eyebrow {
        margin-bottom: 18px;
        font-size: var(--text-xs);
    }

    .hero h1 {
        max-width: 19ch;
        margin-bottom: 18px;
        font-size: clamp(35px, 9vw, 45px);
    }

    .hero-headline-lead {
        max-width: 18ch;
    }

    .hero-rotating-window {
        width: min(100%, 28ch);
        min-height: 1.45em;
    }

    .hero-rotating-phrase {
        font-size: clamp(28px, 7.4vw, 36px);
    }

    .hero-description {
        max-width: 44ch;
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.55;
    }

    .hero-actions {
        width: min(100%, 340px);
        flex-direction: column;
        gap: 9px;
    }

    .hero .button-primary,
    .hero .button-secondary {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        min-height: 292px;
        padding: 16px;
        border-radius: 18px;
    }

    .assistant-composer {
        min-height: 106px;
        flex-basis: 106px;
        padding: 11px 11px 7px;
    }

    .assistant-composer input {
        height: 32px;
        flex-basis: 32px;
        font-size: 13px;
    }

    .assistant-composer-tools {
        min-height: 38px;
    }

    .assistant-utility-button,
    .assistant-microphone {
        width: 36px;
        height: 36px;
    }

    .assistant-send {
        width: 40px;
        height: 40px;
    }

    .assistant-suggestions {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .assistant-suggestions::-webkit-scrollbar {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-rotating-phrase,
    .assistant-composer,
    .assistant-send,
    .hero .button-primary,
    .hero .button-secondary,
    .nav-button,
    .navbar > a[href="#contact"],
    .button-primary {
        transition: none;
        animation: none;
    }
}

/* =========================================================
   SERVICES OVERVIEW — EDITORIAL PRESENTATION
   Uses the homepage's existing tokens, grid, and controls.
   ========================================================= */
.services-section {
    padding-inline: var(--container-gutter);
    color: var(--color-ink);
    background: var(--color-canvas);
    scroll-margin-top: 88px;
}

.services-page {
    width: min(100%, var(--content-max));
    margin-inline: auto;
}

.services-intro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
    margin: 0 0 clamp(56px, 7vw, 96px);
    text-align: center;
}

.services-intro .eyebrow,
.services-intro h2,
.services-intro > p:last-child {
    grid-column: 3 / span 8;
}

.services-intro .eyebrow {
    margin-bottom: var(--space-2);
    color: var(--color-text-link);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.15em;
}

.services-intro h2 {
    max-width: 18ch;
    margin: 0 auto var(--space-3);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.services-intro h2 span {
    color: var(--color-accent);
}

.services-intro > p:last-child {
    max-width: 68ch;
    margin-inline: auto;
    color: var(--color-ink-muted);
    font-size: var(--text-lg);
    line-height: 1.7;
}

.service-features {
    display: grid;
    gap: clamp(72px, 8vw, 120px);
}

.service-feature {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    column-gap: var(--grid-gap);
    row-gap: var(--space-4);
    min-width: 0;
}

.service-feature-copy {
    grid-column: 1 / span 4;
    min-width: 0;
    padding-block: var(--space-3);
}

.service-feature-name {
    margin-bottom: var(--space-2);
    color: var(--color-ink-muted);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.015em;
}

.service-feature-copy h3,
.service-secondary h3 {
    margin-bottom: var(--space-2);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.service-feature-copy h3 em {
    color: var(--color-accent);
    font-weight: 500;
}

.service-feature-description,
.service-secondary > p:not(.service-feature-name) {
    max-width: 43ch;
    margin-bottom: var(--space-3);
    color: var(--color-ink-muted);
    font-size: 16px;
    line-height: 1.72;
}

.service-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-block: 6px;
    color: var(--color-accent);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-decoration-color: transparent;
    text-underline-offset: 5px;
}

.service-feature-link span {
    color: var(--color-accent-light);
    transition: transform 180ms ease;
}

.service-feature-link:hover {
    color: var(--color-accent-hover);
    text-decoration-color: var(--color-accent-light);
}

.service-feature-link:hover span {
    transform: translateX(4px);
}

.services-reveal-frame {
    margin-top: clamp(72px, 9vw, 128px);
    border-block: 1px solid var(--color-border);
}

.services-reveal {
    display: flex;
    width: 100%;
    min-height: 156px;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-2);
    border: 0;
    color: var(--color-accent);
    background: transparent;
    cursor: pointer;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.14em;
    transition: var(--transition-control);
}

.services-reveal svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--color-accent-light);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    transition: transform 240ms ease, stroke 180ms ease;
}

.services-reveal:hover {
    color: var(--color-accent-hover);
    background: rgba(239, 245, 253, 0.54);
}

.services-reveal:hover svg {
    stroke: var(--color-accent);
    transform: translateY(3px);
}

.services-reveal[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.services-more[hidden] {
    display: none;
}

.services-more {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    transition: grid-template-rows 520ms cubic-bezier(0.2, 0.75, 0.25, 1), opacity 360ms ease, margin-top 520ms ease;
}

.services-more.is-expanded {
    grid-template-rows: 1fr;
    margin-top: clamp(48px, 6vw, 80px);
    opacity: 1;
}

.services-more-inner {
    min-height: 0;
    overflow: hidden;
}

.services-more-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.service-secondary {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    column-gap: var(--grid-gap);
    grid-column: 1;
    min-width: 0;
    padding: clamp(32px, 4.5vw, 60px) 0;
    border-top: 1px solid var(--color-accent-line);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 360ms ease, transform 420ms ease;
}

.service-secondary-heading,
.service-secondary-detail {
    min-width: 0;
}

.service-secondary-detail > p {
    max-width: 54ch;
}

.services-more.is-expanded .service-secondary {
    opacity: 1;
    transform: translateY(0);
}

.services-more.is-expanded .service-secondary:nth-child(2) { transition-delay: 70ms; }
.services-more.is-expanded .service-secondary:nth-child(3) { transition-delay: 140ms; }
.services-more.is-expanded .service-secondary:nth-child(4) { transition-delay: 210ms; }

.service-secondary h3 {
    max-width: 18ch;
    font-size: var(--text-2xl);
}

.service-secondary > p:not(.service-feature-name) {
    max-width: 48ch;
}

.services-closing-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(72px, 10vw, 136px);
    padding: clamp(40px, 6vw, 80px) var(--space-3);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.services-closing-cta .eyebrow {
    margin-bottom: var(--space-2);
    color: var(--color-text-link);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.14em;
}

.services-closing-cta h2 {
    max-width: 22ch;
    margin-bottom: var(--space-3);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.services-closing-cta .button-primary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .services-intro .eyebrow,
    .services-intro h2,
    .services-intro > p:last-child {
        grid-column: 2 / span 10;
    }

    .service-feature-copy {
        grid-column: 1 / span 5;
    }

}

@media (max-width: 768px) {
    .services-section {
        padding-inline: var(--container-gutter);
    }

    .services-intro {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-bottom: clamp(48px, 12vw, 72px);
    }

    .services-intro .eyebrow,
    .services-intro h2,
    .services-intro > p:last-child {
        grid-column: 1 / -1;
    }

    .services-intro h2 {
        max-width: 16ch;
        font-size: clamp(36px, 8vw, 52px);
    }

    .service-features {
        gap: clamp(64px, 14vw, 96px);
    }

    .service-feature {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: var(--space-3);
    }

    .service-feature-copy,
    .service-feature--reverse .service-feature-copy {
        grid-row: 2;
    }

    .service-feature-copy h3 {
        max-width: 20ch;
        font-size: clamp(29px, 7vw, 38px);
    }

    .services-reveal-frame {
        margin-top: 64px;
    }

    .services-reveal {
        min-height: 100px;
    }

    .services-more-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-secondary {
        grid-template-columns: minmax(0, 1fr);
        row-gap: var(--space-2);
        grid-column: 1;
    }

    .services-closing-cta {
        margin-top: 72px;
    }
}

@media (max-width: 520px) {
    .services-intro h2 {
        font-size: clamp(34px, 9vw, 44px);
    }

    .services-intro > p:last-child,
    .service-feature-description,
    .service-secondary > p:not(.service-feature-name) {
        font-size: 15px;
    }

    .service-secondary {
        padding-block: var(--space-3);
    }

    .services-reveal {
        min-height: 88px;
        font-size: var(--text-xs);
    }

    .services-closing-cta {
        padding-inline: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-feature-link span,
    .services-reveal,
    .services-reveal svg,
    .services-more,
    .service-secondary {
        transition: none;
    }

    .service-secondary {
        transform: none;
    }
}

/* =========================================================
   WHY VICEROYS — EDITORIAL FEATURE STORY
   ========================================================= */
.why-editorial-section {
    padding-inline: var(--container-gutter);
    color: var(--color-ink);
    background:
        radial-gradient(ellipse at 12% 14%, rgba(118, 170, 255, 0.045), transparent 34%),
        var(--color-canvas);
}

.why-editorial-container {
    width: min(100%, var(--content-max));
    margin-inline: auto;
}

.why-editorial-heading {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    column-gap: var(--grid-gap);
    row-gap: var(--space-2);
    margin-bottom: clamp(44px, 6vw, 72px);
}

.why-editorial-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: var(--space-2);
    color: var(--color-text-link);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.15em;
}

.why-editorial-heading h2 {
    grid-column: 1 / span 8;
    max-width: 18ch;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.why-editorial-heading h2 em {
    color: var(--color-text-link);
    font-weight: 500;
}

.why-editorial-description {
    grid-column: 1 / span 7;
    max-width: 62ch;
    color: var(--color-ink-muted);
    font-size: var(--text-lg);
    line-height: 1.7;
}

.why-feature-list {
    display: flex;
    flex-direction: column;
}

.why-feature-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: stretch;
    column-gap: clamp(42px, 7vw, 100px);
    min-height: 0;
    padding-block: clamp(56px, 7vw, 88px);
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.why-feature-card + .why-feature-card {
    border-top: 1px solid rgba(168, 222, 255, 0.14);
}

.why-feature-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    position: relative;
    z-index: 2;
    max-width: 42ch;
    min-width: 0;
}

.why-feature-copy h3 {
    max-width: 16ch;
    margin-bottom: var(--space-2);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(30px, 3.3vw, 46px);
    font-weight: var(--font-weight-medium);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.why-feature-copy h3 span {
    display: block;
    color: #173354;
    font-size: 1.04em;
    font-weight: var(--font-weight-semibold);
    font-style: normal;
    letter-spacing: -0.035em;
}

.why-feature-copy > p {
    max-width: 40ch;
    color: var(--color-text-secondary);
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.75;
}

.why-feature-visual {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
}

.why-feature-card--challenges .why-feature-visual {
    grid-column: 1;
}

.why-feature-card--challenges {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.why-feature-card--challenges .why-feature-copy {
    grid-column: 2;
}

.why-visual-stage {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.visual-kicker {
    display: block;
    color: #29486f;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.4;
}

/* Card 01 — digital presence across browser and phone */
.why-feature-card--reach .why-visual-stage {
    display: grid;
    place-items: center;
}

.reach-browser {
    position: absolute;
    top: 7%;
    left: 3%;
    width: 88%;
    height: 76%;
    overflow: hidden;
    border: 1px solid rgba(11, 31, 58, 0.11);
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.11);
}

.reach-browser-bar,
.efficiency-toolbar {
    display: flex;
    height: 34px;
    align-items: center;
    gap: 10px;
    padding-inline: 12px;
    border-bottom: 1px solid rgba(11, 31, 58, 0.075);
    background: rgba(255, 255, 255, 0.96);
}

.browser-dots {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 4px;
}

.browser-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d3dbe5;
}

.browser-dots i:first-child {
    background: var(--color-accent-light);
}

.browser-address {
    width: 52%;
    padding: 4px 10px;
    border: 1px solid rgba(11, 31, 58, 0.055);
    border-radius: 5px;
    background: #f6f8fb;
    color: #667387;
    font-size: 8px;
    text-align: center;
}

.reach-browser-page {
    display: grid;
    height: calc(100% - 34px);
    grid-template-columns: 1fr 0.88fr;
    align-items: center;
    gap: 14px;
    padding: 18px;
}

.reach-page-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.reach-page-copy strong {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-lead);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.reach-page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    color: var(--color-accent);
    font-size: 9px;
    font-weight: 600;
}

.reach-page-link b {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 9px;
}

.reach-page-art {
    position: relative;
    height: 100%;
    min-height: 128px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(155deg, #eaf2fb 0%, #dbe8f7 100%);
}

.reach-art-sun {
    position: absolute;
    top: 16%;
    right: 16%;
    width: 24%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(118, 170, 255, 0.72);
}

.reach-art-arch {
    position: absolute;
    right: 5%;
    bottom: -17%;
    left: 12%;
    height: 74%;
    border: 1px solid rgba(11, 31, 58, 0.11);
    border-radius: 50% 50% 0 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(199, 218, 241, 0.88));
}

.reach-art-line {
    position: absolute;
    right: 10%;
    bottom: 26%;
    left: 8%;
    height: 2px;
    transform: rotate(-13deg);
    background: rgba(11, 31, 58, 0.2);
}

.reach-phone {
    position: absolute;
    z-index: 3;
    right: 3%;
    bottom: 3%;
    display: flex;
    width: clamp(112px, 13vw, 146px);
    height: clamp(208px, 20vw, 244px);
    flex-direction: column;
    gap: 9px;
    padding: 23px 11px 12px;
    overflow: hidden;
    border: 4px solid #ffffff;
    border-radius: 23px;
    background: linear-gradient(160deg, #ffffff 0%, #f2f6fb 100%);
    box-shadow: 0 18px 38px rgba(11, 31, 58, 0.18);
}

.phone-speaker {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 28px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 4px;
    background: #d8dee7;
}

.phone-brand {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-accent);
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.11em;
}

.phone-brand i,
.notice-mark i,
.efficiency-status i,
.plan-footer i {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent-light);
    box-shadow: 0 0 0 3px rgba(118, 170, 255, 0.16);
}

.phone-title {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.phone-image {
    position: relative;
    display: block;
    height: 66px;
    overflow: hidden;
    border-radius: 7px;
    background: linear-gradient(140deg, #eef4fb, #dce8f6);
}

.phone-image i {
    position: absolute;
    right: 14%;
    bottom: -18%;
    left: 12%;
    height: 76%;
    border-radius: 50% 50% 0 0;
    background: rgba(255, 255, 255, 0.92);
}

.phone-image b {
    position: absolute;
    top: 18%;
    right: 22%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(118, 170, 255, 0.8);
}

.phone-action {
    display: flex;
    min-height: 24px;
    align-items: center;
    justify-content: space-between;
    padding-inline: 8px;
    border-radius: 5px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 7px;
    font-weight: 600;
}

.reach-notice {
    position: absolute;
    z-index: 4;
    top: 13%;
    right: 0;
    display: flex;
    width: clamp(136px, 15vw, 174px);
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.12);
}

.notice-mark {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 8px;
    background: var(--color-accent-soft);
}

.reach-notice b,
.reach-notice small {
    display: block;
}

.reach-notice b {
    color: var(--color-ink);
    font-size: 9px;
    font-weight: 600;
}

.reach-notice small {
    margin-top: 2px;
    color: var(--color-ink-muted);
    font-size: 7px;
}

/* Card 02 — requests arranged into shared, actionable work */
.challenge-request {
    position: absolute;
    z-index: 2;
    top: 27%;
    left: 4%;
    display: flex;
    width: 37%;
    min-height: 120px;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    padding: clamp(13px, 1.7vw, 20px);
    transform: rotate(-2deg);
    border: 1px solid rgba(11, 31, 58, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.13);
}

.challenge-request strong {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(13px, 1.35vw, 18px);
    font-weight: 550;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.request-sender {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-ink-muted);
    font-size: 8px;
}

.request-sender i {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(145deg, #dce8f6, #8db5e7);
}

.challenge-plan {
    position: absolute;
    z-index: 3;
    top: 8%;
    right: 4%;
    display: flex;
    width: 63%;
    height: 84%;
    flex-direction: column;
    padding: clamp(14px, 1.8vw, 22px);
    border: 1px solid rgba(11, 31, 58, 0.085);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 17px 34px rgba(11, 31, 58, 0.12);
}

.plan-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.plan-heading strong {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(16px, 1.7vw, 22px);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.plan-row {
    display: flex;
    min-height: 47px;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(11, 31, 58, 0.075);
}

.plan-row > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.plan-row b {
    overflow: hidden;
    color: var(--color-ink);
    font-size: clamp(8px, 0.75vw, 10px);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plan-row small {
    color: var(--color-ink-muted);
    font-size: 7px;
}

.plan-check {
    display: grid;
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
}

.plan-check--active {
    border: 1px solid var(--color-accent-line);
    background: #ffffff;
}

.plan-check--active i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent-light);
}

.plan-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(11, 31, 58, 0.06);
    color: #29486f;
    font-size: 8px;
    font-weight: 600;
}

/* Card 03 — one calm workspace for daily operations */
.efficiency-window {
    position: absolute;
    inset: 6%;
    display: flex;
    flex-direction: column;
    padding: 0 18px 14px;
    overflow: hidden;
    border: 1px solid rgba(11, 31, 58, 0.09);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 15px 34px rgba(11, 31, 58, 0.11);
}

.efficiency-toolbar {
    height: 34px;
    flex: 0 0 auto;
    margin-inline: -18px;
    padding-inline: 14px;
}

.efficiency-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    color: #29486f;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.efficiency-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-block: 14px 12px;
}

.efficiency-heading strong {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(16px, 1.9vw, 24px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.efficiency-row {
    display: grid;
    min-height: 49px;
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(11, 31, 58, 0.075);
}

.efficiency-icon {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid var(--color-accent-line);
    border-radius: 8px;
    background: #f5f8fc;
    color: var(--color-accent);
    font-size: 10px;
    font-weight: 600;
}

.efficiency-icon--team {
    background: #edf3fa;
}

.efficiency-icon--schedule {
    background: #e8f1fb;
}

.efficiency-row > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.efficiency-row b {
    color: var(--color-ink);
    font-size: 9px;
    font-weight: 600;
}

.efficiency-row small {
    color: var(--color-ink-muted);
    font-size: 7px;
}

.efficiency-row-check {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    font-size: 9px;
    font-style: normal;
}

@media (max-width: 1024px) {
    .why-feature-card {
        column-gap: clamp(28px, 5vw, 56px);
        padding-block: 50px;
    }
}

@media (max-width: 768px) {
    .why-editorial-heading {
        margin-bottom: clamp(28px, 6vw, 42px);
    }

    .why-editorial-heading h2 {
        grid-column: 1 / -1;
        max-width: 18ch;
        font-size: clamp(38px, 8vw, 52px);
    }

    .why-editorial-description {
        grid-column: 1 / -1;
        max-width: 52ch;
    }

    .why-feature-card {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 28px;
        min-height: 0;
        padding-block: 44px;
    }

    .why-feature-visual,
    .why-feature-card--challenges .why-feature-visual {
        grid-column: 1;
        grid-row: 1;
    }

    .why-feature-copy,
    .why-feature-card--challenges .why-feature-copy {
        grid-column: 1;
        grid-row: 2;
        max-width: 52ch;
    }

    .why-feature-copy h3 {
        max-width: 17ch;
        font-size: clamp(28px, 6.5vw, 36px);
    }

    .why-feature-copy > p {
        max-width: 48ch;
        font-size: 16px;
    }

    .reach-browser {
        top: 7%;
        left: 2%;
        width: 95%;
        height: 75%;
    }

    .reach-browser-page {
        gap: 8px;
        padding: 13px;
    }

    .reach-page-copy {
        gap: 8px;
    }

    .reach-page-copy strong {
        font-size: clamp(17px, 4vw, 22px);
    }

    .reach-page-art {
        min-height: 120px;
    }

    .reach-phone {
        right: 2%;
        width: 112px;
        height: 198px;
        padding: 22px 8px 10px;
    }

    .reach-notice {
        top: 9%;
        right: 0;
        width: 142px;
        padding: 8px;
    }

    .reach-notice small {
        font-size: 6px;
    }

    .challenge-request {
        top: 27%;
        left: 4%;
        width: 37%;
        min-height: 156px;
        padding: clamp(13px, 1.7vw, 20px);
    }

    .challenge-plan {
        top: 8%;
        right: 4%;
        width: 63%;
        height: 84%;
        padding: clamp(14px, 1.8vw, 22px);
    }

    .plan-heading strong {
        font-size: clamp(16px, 1.7vw, 22px);
    }

    .plan-row {
        min-height: 47px;
    }

    .plan-row b {
        font-size: clamp(8px, 0.75vw, 10px);
    }

    .plan-row small,
    .plan-footer {
        font-size: 7px;
    }

    .efficiency-window {
        inset: 6%;
        padding-inline: 18px;
    }

    .efficiency-toolbar {
        margin-inline: -18px;
        padding-inline: 14px;
    }

    .efficiency-heading strong {
        font-size: clamp(16px, 1.9vw, 24px);
    }

    .efficiency-row {
        min-height: 49px;
    }
}

@media (max-width: 520px) {
    .why-feature-card {
        padding-block: 36px;
    }

    .why-feature-copy h3 {
        font-size: clamp(27px, 7vw, 33px);
    }

    .why-feature-copy > p {
        font-size: 16px;
        line-height: 1.65;
    }

    .why-feature-visual,
    .why-feature-card--challenges .why-feature-visual {
        min-height: 0;
        padding: 0;
    }

    .why-visual-stage {
        min-height: 0;
        aspect-ratio: 5 / 4;
        border-radius: 15px;
    }

    .reach-browser-bar,
    .efficiency-toolbar {
        height: 30px;
    }

    .reach-browser-page {
        grid-template-columns: 1fr 0.72fr;
        padding: 10px;
    }

    .reach-page-copy strong {
        font-size: 16px;
    }

    .reach-page-art {
        min-height: 100px;
    }

    .reach-phone {
        width: 104px;
        height: 184px;
        padding-top: 21px;
    }

    .phone-title {
        font-size: 13px;
    }

    .phone-image {
        height: 54px;
    }

    .reach-notice {
        width: 132px;
    }

    .challenge-request {
        top: 30%;
        width: 38%;
        min-height: 132px;
        gap: 8px;
        padding: 10px;
    }

    .challenge-request strong {
        font-size: 12px;
    }

    .challenge-plan {
        right: 2%;
        width: 64%;
        padding: 11px;
    }

    .plan-heading {
        margin-bottom: 8px;
    }

    .plan-row {
        min-height: 42px;
        gap: 6px;
    }

    .plan-row b {
        font-size: 8px;
    }

    .plan-row small {
        font-size: 6px;
    }

    .plan-footer {
        font-size: 6px;
    }

    .efficiency-window {
        inset: 4%;
        padding-inline: 11px;
    }

    .efficiency-toolbar {
        margin-inline: -11px;
    }

    .efficiency-heading {
        padding-block: 12px 10px;
    }

    .efficiency-heading strong {
        font-size: 18px;
    }

    .efficiency-row {
        min-height: 44px;
        grid-template-columns: 26px minmax(0, 1fr) 18px;
        gap: 7px;
    }

    .efficiency-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 640px) {
    .why-feature-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-feature-card,
    .why-visual-stage {
        transition: none;
    }

    .why-feature-card:hover {
        transform: none;
    }

    .why-feature-card:hover .why-visual-stage {
        transform: none;
    }
}

/* =========================================================
   PHASE 5 — PROCESS SECTION DESIGN ALIGNMENT
   ========================================================= */

.process-section .section-intro {
    margin-bottom: clamp(48px, 6vw, 72px);
}

.process-section .section-intro h2 span {
    color: var(--color-accent);
    font-style: normal;
}

.process-section .section-intro:hover h2 span {
    transform: none;
    letter-spacing: inherit;
}

.process-line {
    --process-column-gap: clamp(16px, 2vw, 28px);

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    column-gap: var(--process-column-gap);
    row-gap: 32px;
    margin-top: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    grid-column: auto;
    min-width: 0;
    padding-top: 0;
    transition: transform 220ms ease;
}

.process-step::after {
    content: none;
}

.process-step:not(:last-child)::before {
    position: absolute;
    top: 26px;
    left: 54px;
    width: calc(100% + var(--process-column-gap) - 27px);
    height: 1px;
    background: linear-gradient(90deg, var(--color-accent-line), rgba(118, 170, 255, 0.3));
    content: "";
    pointer-events: none;
}

.process-circle {
    position: relative;
    z-index: 1;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin: 0 0 22px;
    border: 1px solid var(--color-accent-line);
    border-radius: 50%;
    color: var(--color-accent);
    background: var(--color-canvas);
    box-shadow: 0 4px 12px rgba(11, 31, 58, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    transition: transform 220ms ease, color 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.process-step h3 {
    margin: 0 0 10px;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 550;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.process-step p {
    max-width: 31ch;
    margin: 0;
    color: var(--color-ink-muted);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
}

.process-step:hover {
    transform: translateY(-3px);
}

.process-step:hover .process-circle {
    transform: translateY(-1px);
    color: var(--color-accent);
    background: var(--color-accent-soft);
    border-color: var(--color-accent-light);
    box-shadow: 0 0 0 4px rgba(118, 170, 255, 0.12), 0 7px 16px rgba(11, 31, 58, 0.09);
}

@media (max-width: 768px) {
    .process-line {
        --process-stack-gap: clamp(24px, 6vw, 32px);

        grid-template-columns: minmax(0, 1fr);
        row-gap: var(--process-stack-gap);
    }

    .process-step,
    .process-step:nth-child(n) {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: 54px minmax(0, 1fr);
        align-items: start;
        column-gap: 16px;
        row-gap: 4px;
    }

    .process-step:not(:last-child)::before {
        top: 54px;
        left: 26px;
        width: 1px;
        height: calc(100% + var(--process-stack-gap) - 27px);
        background: linear-gradient(180deg, var(--color-accent-line), rgba(118, 170, 255, 0.3));
    }

    .process-circle {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .process-step h3 {
        grid-column: 2;
        grid-row: 1;
        margin: 1px 0 0;
        font-size: clamp(19px, 4vw, 22px);
    }

    .process-step p {
        grid-column: 2;
        grid-row: 2;
        max-width: 58ch;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-step,
    .process-circle {
        transition: none;
    }

    .process-step:hover,
    .process-step:hover .process-circle {
        transform: none;
    }
}

/* =========================================================
   CONTACT — CONVERSION PAGE
   Scoped overrides keep the approved shared site system intact.
   ========================================================= */
.contact-section {
    overflow: clip;
    background: var(--color-canvas);
}

.contact-page-shell.section {
    width: min(100%, var(--content-max));
    margin-inline: auto;
    padding: var(--section-space) var(--container-gutter);
}

.contact-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin: 0 0 clamp(40px, 5vw, 64px);
}

.contact-intro .eyebrow {
    margin: 0;
    color: var(--color-accent);
}

.contact-intro h2 {
    max-width: 16ch;
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.contact-intro h2 span {
    color: var(--color-accent);
    font-style: normal;
    font-weight: 500;
}

.contact-intro > p {
    max-width: 42ch;
    margin: 0;
    color: var(--color-ink-muted);
    font-size: var(--text-base);
    line-height: 1.75;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}

.contact-copy {
    grid-column: 1 / 2;
    min-width: 0;
}

.contact-details {
    padding-top: clamp(28px, 3vw, 40px);
}

.contact-details > .eyebrow {
    margin: 0 0 28px;
    color: var(--color-accent);
}

.contact-detail {
    margin-bottom: 32px;
}

.contact-detail > span {
    display: block;
    margin-bottom: 6px;
    color: var(--color-ink-subtle);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
}

.contact-detail a,
.contact-detail p {
    color: var(--color-ink);
    font-size: var(--text-xl);
    line-height: 1.5;
    text-decoration: none;
}

.contact-detail p {
    margin: 0;
}

.contact-detail a:hover {
    color: var(--color-accent-hover);
}

.contact-support-line {
    max-width: 32ch;
    margin: 28px 0 0;
    color: var(--color-ink-muted);
    font-size: var(--text-base);
    line-height: 1.7;
}

.contact-form-column {
    grid-column: 2 / 3;
    min-width: 0;
}

.contact-grid > .contact-copy,
.contact-grid > .contact-form-column {
    grid-row: 1;
}

.contact-grid .contact-form {
    grid-column: auto;
    width: 100%;
}

.contact-form,
.contact-success {
    min-width: 0;
    padding: clamp(32px, 3.7vw, 52px);
    color: var(--color-ink);
    background: var(--color-surface-raised);
    border: 1px solid rgba(23, 23, 21, 0.09);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-panel);
}

.contact-form[hidden],
.contact-success[hidden] {
    display: none !important;
}

.contact-form-heading {
    margin-bottom: 28px;
}

.contact-form-heading h3,
.contact-success h3 {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.contact-form .form-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.contact-form .form-field label {
    color: var(--color-ink);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
}

.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 14px 16px;
    color: var(--color-ink);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-control);
    box-shadow: none;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.5;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form .form-field select {
    cursor: pointer;
}

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

.contact-form .form-field input::placeholder,
.contact-form .form-field textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 1;
}

.contact-form .form-field input:focus,
.contact-form .form-field select:focus,
.contact-form .form-field textarea:focus {
    outline: none;
    border-color: var(--color-accent-light);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(118, 170, 255, 0.18), 0 3px 12px rgba(11, 31, 58, 0.045);
    transform: none;
}

.contact-form .form-field:focus-within label {
    color: var(--color-accent);
}

.contact-form .form-button {
    display: inline-flex;
    width: auto;
    min-height: var(--button-height-standard);
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    padding: var(--button-padding-standard);
    color: var(--color-accent-contrast);
    background: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-control);
    box-shadow: var(--shadow-button);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-control);
}

.contact-form .form-button span,
.contact-success-link span {
    transition: transform 180ms ease;
}

.contact-form .form-button:hover:not(:disabled) {
    background: var(--color-accent-hover);
    box-shadow: 0 6px 16px rgba(11, 31, 58, 0.14);
    transform: translateY(-1px);
}

.contact-form .form-button:hover:not(:disabled) span,
.contact-success-link:hover span {
    transform: translateX(3px);
}

.contact-form .form-button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.contact-form .contact-turnstile {
    display: flex;
    justify-content: flex-start;
    max-width: 100%;
    margin-top: 14px;
    margin-bottom: 6px;
    overflow: hidden;
}

.contact-form .form-note {
    margin-top: 14px;
    color: var(--color-ink-subtle);
    font-size: var(--text-xs);
    line-height: 1.6;
}

.contact-form #form-message {
    margin-top: 14px;
    padding: 12px 14px;
    color: var(--color-ink);
    background: var(--color-accent-soft);
    border: 1px solid var(--color-accent-line);
    border-radius: var(--radius-control);
    font-size: var(--text-sm);
}

.contact-success {
    min-height: 100%;
    padding-block: clamp(42px, 6vw, 76px);
}

.contact-success-mark {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 25px;
    place-items: center;
    color: #fff;
    background: var(--color-accent);
    border: 4px solid var(--color-accent-soft);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--color-accent-line), 0 5px 14px rgba(11, 31, 58, 0.12);
    font-size: 18px;
}

.contact-success > .eyebrow {
    margin-bottom: 12px;
    color: var(--color-accent);
}

.contact-success > p:not(.eyebrow) {
    max-width: 42ch;
    margin-top: 14px;
    color: var(--color-ink-muted);
    font-size: var(--text-base);
    line-height: 1.7;
}

.contact-success-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: var(--color-accent);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.contact-success-link:hover {
    color: var(--color-accent-hover);
}

@media (max-width: 1024px) {
    .contact-grid {
        gap: clamp(28px, 4vw, 48px);
    }
}

@media (max-width: 768px) {
    .contact-intro {
        gap: 18px;
        margin-bottom: 36px;
    }

    .contact-intro h2 {
        max-width: 15ch;
        font-size: clamp(40px, 7vw, 56px);
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .contact-grid > .contact-copy,
    .contact-grid > .contact-form-column {
        grid-column: 1;
        grid-row: auto;
    }

    .contact-details {
        padding-top: 0;
    }

    .contact-details > .eyebrow {
        margin-bottom: 18px;
    }

    .contact-form .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 520px) {
    .contact-intro {
        margin-bottom: 42px;
    }

    .contact-intro h2 {
        max-width: 13ch;
        font-size: clamp(38px, 10.5vw, 50px);
        line-height: 1.08;
    }

    .contact-intro > p {
        font-size: var(--text-base);
    }

    .contact-grid {
        gap: 30px;
    }

    .contact-detail {
        margin-bottom: 26px;
    }

    .contact-form,
    .contact-success {
        padding: 28px 24px;
        border-radius: var(--radius-panel);
    }

    .contact-form .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin-bottom: 22px;
    }

    .contact-form .form-field input,
    .contact-form .form-field select {
        min-height: 54px;
    }

    .contact-form .form-field textarea {
        min-height: 132px;
    }

    .contact-form .form-button {
        width: 100%;
        margin-top: 18px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .contact-form .form-field input,
    .contact-form .form-field select,
    .contact-form .form-field textarea,
    .contact-form .form-button,
    .contact-form .form-button span,
    .contact-success-link span {
        transition: none !important;
    }

    .contact-form .form-button:hover:not(:disabled) {
        transform: none;
    }
}

/* =========================================================
   SHARED CONTROL SYSTEM
   Three visual variants share the same type, radius and state rules.
   Component colors and layout remain defined by their existing context.
   ========================================================= */
.button,
.nav-button,
.navbar > a[href="#contact"],
.button-primary,
.button-secondary,
.services-reveal,
.service-feature-link,
.services-closing-cta .button-primary,
.contact-form .form-button,
.contact-success-link {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-control);
    transition: var(--transition-control);
}

.button,
.nav-button,
.navbar > a[href="#contact"],
.button-primary,
.button-secondary,
.services-closing-cta .button-primary,
.contact-form .form-button {
    font-size: var(--text-sm);
}

.nav-button {
    min-height: var(--button-height-compact);
}

.contact-form .form-button:disabled,
.button:disabled,
.button-primary:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.button:active:not(:disabled),
.nav-button:active,
.navbar > a[href="#contact"]:active,
.button-primary:active:not(:disabled),
.button-secondary:active,
.services-reveal:active,
.service-feature-link:active,
.services-closing-cta .button-primary:active,
.contact-form .form-button:active:not(:disabled),
.contact-success-link:active {
    transform: translateY(0);
}

/* Shared tokens within the assistant; its layout and scale stay intact. */
.hero-visual {
    border-radius: var(--radius-card);
}

.assistant-composer {
    border-color: var(--color-accent-line);
    border-radius: var(--radius-xl);
}

.assistant-composer input {
    font-size: var(--text-sm);
}

.assistant-composer input::placeholder {
    color: var(--color-text-muted);
}

.assistant-utility-button,
.assistant-microphone,
.assistant-suggestion {
    color: var(--color-text-secondary);
}

.assistant-utility-button {
    border-color: var(--color-accent-line);
}

.assistant-send {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-button);
}

.assistant-suggestion {
    border-color: var(--color-accent-line);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
}

.assistant-suggestion:hover {
    border-color: var(--color-accent-light);
}

/* =========================================================
   PASS 2 — COMPACT HOMEPAGE ASSISTANT
   Preserve the approved hero layout while restoring H1/CTA priority.
   ========================================================= */
.hero .assistant-panel {
    width: min(100%, 700px);
    max-width: 700px;
    min-height: 0;
    align-self: center;
    gap: 12px;
    padding: 18px clamp(18px, 2vw, 26px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-surface-raised);
    box-shadow: var(--shadow-panel);
}

.assistant-empty-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-heading);
}

.assistant-composer {
    min-height: 64px;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
}

.assistant-composer input {
    width: auto;
    height: 44px;
    min-height: 44px;
    flex: 1 1 auto;
    padding-inline: 4px;
}

.assistant-composer-tools {
    min-height: 44px;
    flex: 0 0 auto;
    gap: 6px;
}

.assistant-composer-spacer {
    display: none;
}

.assistant-utility-button,
.assistant-microphone,
.assistant-send {
    width: 44px;
    height: 44px;
}

.assistant-send {
    color: var(--color-accent);
    border: 1px solid var(--color-accent-line);
    border-radius: var(--radius-control);
    background: var(--color-surface-raised);
    box-shadow: none;
}

.assistant-send:hover:not(:disabled) {
    color: var(--color-accent);
    border-color: var(--color-accent-light);
    background: var(--color-accent-soft);
    box-shadow: none;
    transform: none;
}

.assistant-suggestions {
    flex-wrap: wrap;
    overflow: visible;
}

.assistant-suggestion {
    min-height: 40px;
}

.assistant-suggestion[hidden] {
    display: none !important;
}

.assistant-more {
    min-height: 44px;
    color: var(--color-text-link);
    border-color: var(--color-accent-line);
    background: var(--color-surface-raised);
    cursor: pointer;
}

.assistant-more:hover {
    color: var(--color-accent-hover);
    border-color: var(--color-accent-light);
    background: var(--color-accent-soft);
}

@media (max-width: 768px) {
    .hero .assistant-panel {
        width: 100%;
        padding: 16px;
        gap: 10px;
    }

    .assistant-suggestions {
        justify-content: flex-start;
        gap: 7px;
    }
}


/* =========================================================
   SERVICE DETAILS — homepage-aligned midnight blue theme
   ========================================================= */
body.service-detail {
    --color-canvas: #07152D;
    --color-text-primary: #F3F7FF;
    --color-text-secondary: rgba(243, 247, 255, .76);
    --color-text-muted: rgba(243, 247, 255, .58);
    --color-accent: #245CFF;
    --color-accent-hover: #3971FF;
    --color-accent-light: #48A8FF;
    --color-accent-soft: rgba(36, 92, 255, .12);
    --color-accent-line: rgba(168, 222, 255, .24);
    --color-ink: var(--color-text-primary);
    --color-ink-muted: var(--color-text-secondary);
    --service-navy: #07152D;
    --service-cobalt: #245CFF;
    --service-blue: #48A8FF;
    --service-ice: #A8DEFF;
    --service-cloud: #F3F7FF;
    color: var(--service-cloud);
    background: var(--service-navy);
}

body.service-detail .site-header {
    color: var(--service-navy);
    background: var(--color-header-background);
    border-bottom: 1px solid rgba(17, 24, 39, .1);
    box-shadow: 0 4px 18px rgba(8, 24, 48, .08);
}
body.service-detail .navbar,
body.service-detail .nav-links a,
body.service-detail .brand,
body.service-detail .brand strong,
body.service-detail .mobile-menu-button { color: var(--service-navy); }
body.service-detail .brand { gap: 12px; }
body.service-detail .brand-mark { width: 82px; height: 82px; object-fit: contain; filter: brightness(0); }
body.service-detail .nav-links a:hover,
body.service-detail .nav-links a:hover,
body.service-detail .nav-links a:focus-visible,
body.service-detail .nav-links a.active { color: var(--service-cobalt); }
body.service-detail .nav-links.mobile-open { background: rgba(249, 252, 255, .99); border-color: rgba(17, 24, 39, .1); }
body.service-detail .nav-links.mobile-open a { color: var(--service-navy); border-color: rgba(17, 24, 39, .08); }
body.service-detail .nav-button,
body.service-detail .button-primary {
    color: white;
    border: 1px solid rgba(168, 222, 255, .42);
    background: linear-gradient(125deg, var(--service-cobalt), #1679ff);
    box-shadow: 0 8px 24px rgba(36, 92, 255, .27);
}
body.service-detail .nav-button:hover,
body.service-detail .button-primary:hover { box-shadow: 0 10px 30px rgba(36, 130, 255, .46); transform: translateY(-2px); }
body.service-detail .button-secondary { color: var(--service-cloud); border-color: rgba(168, 222, 255, .42); background: rgba(10, 31, 65, .7); }
body.service-detail .button-secondary:hover { border-color: var(--service-blue); color: white; }
body.service-detail .mobile-menu-button { border-color: var(--color-border); background: var(--color-canvas); }

body.service-detail .hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: min(700px, 88svh);
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(140px, 17vh, 190px) 0 clamp(88px, 11vh, 128px);
    color: var(--service-cloud);
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 48%, rgba(36, 92, 255, .32), transparent 46%),
        radial-gradient(ellipse at 50% 0%, rgba(72, 168, 255, .18), transparent 52%),
        linear-gradient(180deg, #07152D, #091c3b 70%, #07152D);
}
body.service-detail .hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    width: min(100%, 1000px);
    margin-inline: auto;
}
body.service-detail .hero-copy {
    display: flex;
    width: 100%;
    max-width: 900px;
    flex-direction: column;
    align-items: center;
    grid-column: auto;
    margin-inline: auto;
    text-align: center;
}
body.service-detail .hero-copy .eyebrow,
body.service-detail .eyebrow { color: var(--service-ice); letter-spacing: .18em; text-align: center; }
body.service-detail .hero h1 {
    max-width: 16ch;
    margin: 0 auto 24px;
    color: white;
    font-family: var(--font-display);
    font-size: clamp(48px, 7.2vw, 88px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.05em;
    text-align: center;
    text-shadow: 0 4px 32px rgba(72, 168, 255, .18);
}
body.service-detail .hero h1 span { color: var(--service-blue); }
body.service-detail .hero-description {
    max-width: 66ch;
    margin: 0 auto 30px;
    color: rgba(243, 247, 255, .82);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.65;
    text-align: center;
}
body.service-detail .hero-actions { justify-content: center; gap: 12px; }
body.service-detail .hero-benefits { justify-content: center; gap: clamp(24px, 5vw, 58px); margin-top: 42px; }
body.service-detail .hero-benefits strong { color: var(--service-ice); }
body.service-detail .hero-benefits span { color: rgba(243, 247, 255, .78); }

body.service-detail main > section:not(.hero) { color: var(--service-cloud); background: #081a37; }
body.service-detail main > section:nth-of-type(odd):not(.hero) { background: #0a2042; }
body.service-detail .dark-section { color: var(--service-cloud); background: radial-gradient(ellipse at 50% 0, rgba(36, 92, 255, .22), transparent 58%), #06132b; }
body.service-detail .section-intro { max-width: 780px; margin: 0 auto 48px; }
body.service-detail .section-intro h2,
body.service-detail .section-intro h2 span,
body.service-detail .why-heading h2,
body.service-detail .contact-copy h2 { color: white; }
body.service-detail .section-intro > p:last-child,
body.service-detail .why-heading > p,
body.service-detail .contact-copy > p { color: rgba(243, 247, 255, .76); }
body.service-detail .services-grid,
body.service-detail .why-grid,
body.service-detail .case-grid { gap: 20px; }
body.service-detail .service-card,
body.service-detail .why-item,
body.service-detail .process-step,
body.service-detail .case-card {
    color: var(--service-cloud);
    border: 1px solid rgba(120, 180, 255, .22);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(18, 46, 89, .96), rgba(9, 27, 58, .98));
    box-shadow: 0 16px 40px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .035);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.service-detail .service-card:hover,
body.service-detail .why-item:hover,
body.service-detail .process-step:hover,
body.service-detail .case-card:hover { border-color: rgba(72, 168, 255, .65); box-shadow: 0 20px 48px rgba(0, 0, 0, .28), 0 0 28px rgba(36, 92, 255, .16); transform: translateY(-3px); }
body.service-detail .service-card h3,
body.service-detail .why-item h3,
body.service-detail .process-step h3,
body.service-detail .case-card h3 { color: white; }
body.service-detail .service-card p,
body.service-detail .why-item p,
body.service-detail .process-step p,
body.service-detail .case-card p { color: rgba(243, 247, 255, .74); }
body.service-detail .service-number,
body.service-detail .service-icon,
body.service-detail .process-circle { color: var(--service-ice); }
body.service-detail .service-icon { border: 1px solid rgba(168, 222, 255, .25); border-radius: 12px; background: rgba(36, 92, 255, .14); }
body.service-detail .process-section { background: linear-gradient(180deg, #0a2042, #07152D); }
body.service-detail .process-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; background: none; }
body.service-detail .process-circle { border-color: rgba(72, 168, 255, .55); background: #102b59; box-shadow: 0 0 24px rgba(36, 92, 255, .25); }
body.service-detail .case-section { background: #0a2042; }
body.service-detail .case-tags span { color: var(--service-ice); border-color: rgba(168, 222, 255, .25); background: rgba(36, 92, 255, .12); }
body.service-detail .contact-section { color: var(--service-cloud); background: #0d0e4d !important; }
body.service-detail .contact-form { color: var(--service-cloud); border: 1px solid rgba(120, 180, 255, .24); background: rgba(14, 37, 76, .72); }
body.service-detail .contact-form p,
body.service-detail .contact-form h3 { color: var(--service-cloud); }
body.service-detail footer { color: rgba(243, 247, 255, .76); background: #0d0e4d !important; }
body.service-detail footer a { color: var(--service-ice); }
body.service-detail .footer-brand .brand { color: var(--service-cloud); }

@media (max-width: 768px) {
    body.service-detail .hero { min-height: 0; padding-block: 132px 76px; }
    body.service-detail .hero-content { width: 100%; }
    body.service-detail .hero h1 { font-size: clamp(42px, 11vw, 58px); }
    body.service-detail .hero-benefits { flex-wrap: wrap; gap: 18px 28px; margin-top: 32px; }
    body.service-detail .hero-benefits div { min-width: 110px; }
    body.service-detail .process-line { grid-template-columns: minmax(0, 1fr); }
    body.service-detail .brand-mark { width: 64px; height: 64px; }
    body.service-detail .service-card:hover,
    body.service-detail .why-item:hover,
    body.service-detail .process-step:hover,
    body.service-detail .case-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    body.service-detail *, body.service-detail *::before, body.service-detail *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   HOMEPAGE — VICEROYS BLUE VISUAL LAYER
   Scoped to the homepage so service pages retain their styles.
   ========================================================= */

body:has(#home) {
    --home-midnight: #07152d;
    --home-cobalt: #245cff;
    --home-electric: #48a8ff;
    --home-ice: #a8deff;
    --home-cloud: #f3f7ff;
    --home-night-surface: #0c2041;
}

body:has(#home) .site-header {
    border-bottom-color: rgba(168, 222, 255, .13);
    background: var(--color-header-background);
    box-shadow: 0 8px 28px rgba(3, 12, 29, .18);
}

body:has(#home) .brand,
body:has(#home) .brand strong,
body:has(#home) .nav-links a,
body:has(#home) .mobile-menu-button {
    color: var(--home-midnight);
}

body:has(#home) .brand-mark {
    filter: brightness(0);
}

body:has(#home) .nav-links a::after {
    background: var(--home-cobalt);
}

body:has(#home) .nav-links a:hover,
body:has(#home) .nav-links a.active {
    color: var(--home-cobalt);
}

body:has(#home) .nav-account-menu {
    position: relative;
    flex: 0 0 auto;
}

body:has(#home) .nav-account-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    cursor: pointer;
}

body:has(#home) .nav-account-dropdown {
    position: absolute;
    z-index: 10001;
    top: calc(100% + 12px);
    right: 0;
    width: max-content;
    min-width: 220px;
    padding: 7px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 12px;
    background: rgba(249, 252, 255, 0.99);
    box-shadow: 0 14px 32px rgba(8, 24, 48, 0.14);
    backdrop-filter: blur(16px);
}

body:has(#home) .nav-account-dropdown[hidden] { display: none; }

body:has(#home) .nav-account-dropdown a {
    display: block;
    padding: 11px 13px;
    border-radius: 7px;
    color: var(--home-midnight);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
}

body:has(#home) .nav-account-dropdown a:hover,
body:has(#home) .nav-account-dropdown a:focus-visible {
    color: var(--home-cobalt);
    outline: none;
    background: #eef5ff;
}

body:has(#home) .nav-account-trigger:focus-visible,
body:has(#home) .nav-account-dropdown a:focus-visible {
    outline: 2px solid var(--home-cobalt);
    outline-offset: 3px;
}

body:has(#home) .site-header .nav-button {
    color: #fff;
    border-color: var(--home-cobalt);
    background: var(--home-cobalt);
    box-shadow: 0 6px 22px rgba(36, 92, 255, 0.26);
}

body:has(#home) .site-header .nav-button:hover {
    border-color: var(--home-electric);
    background: #1748df;
    box-shadow: 0 8px 28px rgba(36, 92, 255, 0.36);
}

body:has(#home) .mobile-menu-button {
    border-color: rgba(17, 24, 39, 0.14);
    background: rgba(255, 255, 255, 0.96);
    color: var(--home-midnight);
}

body:has(#home) .mobile-menu-button:hover {
    border-color: rgba(36, 92, 255, 0.34);
    background: #eef5ff;
}

@media (max-width: 1050px) {
    body:has(#home) .nav-account-trigger { display: inline-flex; }
}

@media (max-width: 1250px) {
    body:has(#home) .nav-links { display: none; }
    body:has(#home) .mobile-menu-button { display: block; }
    body:has(#home) .nav-account-menu { margin-left: auto; }
    body:has(#home) .nav-account-trigger { display: inline-flex; }
    body:has(#home) .nav-links.mobile-open {
        display: flex;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        padding: 18px 22px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-bottom: 1px solid rgba(17, 24, 39, 0.1);
        background: rgba(249, 252, 255, 0.99);
        box-shadow: 0 12px 28px rgba(8, 24, 48, 0.1);
    }
    body:has(#home) .nav-links.mobile-open > a {
        width: 100%;
        padding: 13px 0;
        border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    }
    body:has(#home) .nav-links.mobile-open > a::after { display: none; }
}

@media (max-width: 520px) {
    body:has(#home) .nav-links.mobile-open { top: 72px; }
}

body:has(#home) #home.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: min(940px, 100svh);
    padding-block: clamp(132px, 15vh, 176px) clamp(76px, 9vh, 104px);
    color: var(--home-cloud);
    background:
        linear-gradient(115deg, rgba(7, 21, 45, 0.97) 8%, rgba(8, 27, 59, 0.94) 55%, rgba(7, 21, 45, 0.98) 100%);
}

body:has(#home) #home.hero::before,
body:has(#home) #home.hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
}

body:has(#home) #home.hero::before {
    background:
        radial-gradient(ellipse at 50% 21%, rgba(36, 92, 255, 0.32), transparent 38%),
        radial-gradient(ellipse at 78% 53%, rgba(72, 168, 255, 0.17), transparent 32%),
        radial-gradient(ellipse at 15% 85%, rgba(36, 92, 255, 0.16), transparent 34%);
    animation: home-blue-atmosphere 18s ease-in-out infinite alternate;
}

body:has(#home) #home.hero::after {
    background-image: radial-gradient(rgba(168, 222, 255, 0.36) 0.7px, transparent 0.7px);
    background-size: 28px 28px;
    opacity: 0.12;
    mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}

body:has(#home) #home .hero-content {
    position: relative;
    z-index: 1;
    row-gap: clamp(30px, 4vh, 44px);
}

body:has(#home) #home .hero-copy .eyebrow {
    color: var(--home-ice);
}

body:has(#home) #home h1 {
    color: #fff;
    text-shadow: 0 7px 36px rgba(3, 12, 29, 0.28);
}

body:has(#home) #home .hero-rotating-phrase {
    color: var(--home-electric);
    text-shadow: 0 0 28px rgba(72, 168, 255, 0.24);
}

body:has(#home) #home .hero-description {
    color: #FFFFFF;
}

body:has(#home) #home .button-primary {
    border-color: var(--home-cobalt);
    background: var(--home-cobalt);
    box-shadow: 0 10px 30px rgba(36, 92, 255, 0.28), 0 0 28px rgba(72, 168, 255, 0.12);
}

body:has(#home) #home .button-primary:hover {
    border-color: var(--home-electric);
    background: #1748df;
    box-shadow: 0 12px 34px rgba(36, 92, 255, 0.38), 0 0 32px rgba(72, 168, 255, 0.2);
}

body:has(#home) #home .button-secondary {
    color: var(--home-cloud);
    border-color: rgba(168, 222, 255, 0.34);
    background: rgba(7, 21, 45, 0.38);
}

body:has(#home) #home .button-secondary:hover {
    color: #fff;
    border-color: var(--home-electric);
    background: rgba(36, 92, 255, 0.18);
}

body:has(#home) #home .assistant-panel {
    border-color: rgba(168, 222, 255, 0.24);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(36, 92, 255, 0.17), transparent 62%),
        linear-gradient(145deg, rgba(12, 32, 65, 0.97), rgba(7, 21, 45, 0.96));
    box-shadow: 0 24px 72px rgba(1, 8, 22, 0.34), 0 0 38px rgba(36, 92, 255, 0.12), inset 0 1px 0 rgba(168, 222, 255, 0.1);
}

body:has(#home) #home .assistant-conversation {
    display: flex;
    width: 100%;
    max-height: 260px;
    min-height: 38px;
    flex-direction: column;
    gap: 9px;
    overflow-y: auto;
    padding: 2px 1px;
    scrollbar-color: rgba(168, 222, 255, .38) transparent;
}

body:has(#home) #home .assistant-conversation:empty {
    display: none;
    min-height: 0;
    padding: 0;
}

body:has(#home) #home .assistant-chat-hint,
body:has(#home) #home .assistant-message,
body:has(#home) #home .assistant-chat-status { margin: 0; }

body:has(#home) #home .assistant-chat-hint,
body:has(#home) #home .assistant-chat-status {
    color: rgba(230, 239, 255, .7);
    font-size: .78rem;
    line-height: 1.55;
}

body:has(#home) #home .assistant-message {
    width: fit-content;
    max-width: min(92%, 620px);
    padding: 10px 13px;
    border: 1px solid rgba(168, 222, 255, .16);
    border-radius: 13px 13px 13px 4px;
    color: #edf5ff;
    background: rgba(12, 34, 69, .9);
    font-size: .86rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

body:has(#home) #home .assistant-message-user {
    align-self: flex-end;
    border-color: rgba(72, 168, 255, .35);
    border-radius: 13px 13px 4px 13px;
    background: rgba(36, 92, 255, .23);
}

body:has(#home) #home .assistant-message.pending { color: rgba(230, 239, 255, .65); }
body:has(#home) #home .assistant-access-links { color: #a8deff; white-space: normal; }
body:has(#home) #home .assistant-access-links a { color: #a8deff; text-decoration: underline; text-underline-offset: 2px; }
body:has(#home) #home .assistant-chat-status { min-height: 1.2em; }
body:has(#home) #home .assistant-composer[aria-busy="true"] { opacity: .76; }
body:has(#home) #home .assistant-send:disabled { cursor: wait; opacity: .55; }

body:has(#home) #home .assistant-empty-title {
    color: #fff;
}

body:has(#home) #home .assistant-panel .assistant-composer {
    border-color: rgba(168, 222, 255, 0.2);
    background: rgba(4, 16, 36, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body:has(#home) #home .assistant-panel .assistant-composer:focus-within {
    border-color: var(--home-electric);
    background: rgba(4, 16, 36, 0.94);
    box-shadow: 0 0 0 3px rgba(72, 168, 255, 0.14), 0 0 22px rgba(36, 92, 255, 0.16);
}

body:has(#home) #home .assistant-composer input {
    color: var(--home-cloud);
}

body:has(#home) #home .assistant-panel .assistant-composer input::placeholder {
    color: rgba(209, 226, 249, 0.58);
}

body:has(#home) #home .assistant-utility-button,
body:has(#home) #home .assistant-microphone,
body:has(#home) #home .assistant-send {
    color: var(--home-ice);
    border-color: rgba(168, 222, 255, 0.2);
    background: rgba(16, 42, 81, 0.82);
}

body:has(#home) #home .assistant-suggestion {
    color: rgba(243, 247, 255, 0.78);
    border-color: rgba(168, 222, 255, 0.2);
    background: rgba(8, 27, 57, 0.78);
}

body:has(#home) #home .assistant-suggestion:hover,
body:has(#home) #home .assistant-more:hover {
    color: #fff;
    border-color: var(--home-electric);
    background: rgba(36, 92, 255, 0.24);
    box-shadow: 0 0 18px rgba(36, 92, 255, 0.18);
}

body:has(#home) #home .assistant-suggestion-unavailable:disabled {
    opacity: .55;
    cursor: not-allowed;
}

body:has(#home) #services.services-section {
    width: 100%;
    max-width: none;
    padding-inline: 0 !important;
    padding-block: clamp(88px, 10vw, 136px);
    color: var(--home-midnight);
    background: #ffffff !important;
}

body:has(#home) #services .services-intro .eyebrow,
body:has(#home) #services .services-intro h2 span {
    color: var(--home-cobalt);
}

body:has(#home) #services .services-intro h2 {
    color: var(--home-midnight);
}

body:has(#home) #services .services-intro > p:last-child {
    color: #526580;
}

body:has(#home) #services .service-feature {
    padding: clamp(24px, 3.5vw, 48px) 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

body:has(#home) #services .service-feature:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

body:has(#home) #services .service-feature-copy h3 em,
body:has(#home) #services .service-feature-link {
    color: var(--home-cobalt);
}

body:has(#home) #services .service-feature-name {
    color: #526580;
}

body:has(#home) #services .service-feature-copy h3,
body:has(#home) #services .service-secondary h3 {
    color: var(--home-midnight);
}

body:has(#home) #services .service-feature-description,
body:has(#home) #services .service-secondary > p:not(.service-feature-name) {
    color: #526580;
}

body:has(#home) #services .service-secondary {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding: clamp(32px, 4.5vw, 60px) 0;
    border: 0;
    border-top: 1px solid rgba(36, 92, 255, 0.16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body:has(#home) #services .service-secondary-heading .service-feature-name {
    margin-bottom: var(--space-2);
}

body:has(#home) #services .service-secondary-heading h3 {
    max-width: 22ch;
    margin-bottom: 0;
}

body:has(#home) #services .service-secondary-detail > p {
    max-width: 54ch;
    margin-bottom: var(--space-3);
}

body:has(#home) #services .service-feature-link span {
    color: var(--home-electric);
}

body:has(#home) #services .services-reveal-frame {
    border-color: rgba(36, 92, 255, 0.18);
}

body:has(#home) #services .services-reveal {
    color: var(--home-cobalt);
}

body:has(#home) #services .services-reveal:hover {
    color: var(--home-midnight);
    background: rgba(168, 222, 255, 0.24);
}

body:has(#home) #services .services-closing-cta {
    border-color: rgba(36, 92, 255, 0.17);
}

body:has(#home) .why-editorial-section {
    width: 100%;
    max-width: none;
    padding-block: clamp(64px, 7vw, 96px);
    color: var(--home-midnight);
    background:
        radial-gradient(ellipse at 94% 6%, rgba(72, 168, 255, 0.13), transparent 30%),
        var(--home-cloud);
}

body:has(#home) .why-editorial-heading .eyebrow {
    color: var(--home-cobalt);
}

body:has(#home) .why-editorial-heading h2 {
    color: var(--home-midnight);
}

body:has(#home) .why-editorial-heading h2 em {
    color: var(--home-cobalt);
}

body:has(#home) .why-editorial-description {
    color: #526580;
}

body:has(#home) .why-feature-card {
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body:has(#home) .why-feature-card + .why-feature-card {
    border-top-color: rgba(36, 92, 255, 0.16);
}

body:has(#home) .why-feature-copy h3 {
    color: var(--home-midnight);
}

body:has(#home) .why-feature-copy h3 span {
    color: var(--home-cobalt);
}

body:has(#home) .why-feature-copy > p {
    color: #526580;
}

body:has(#home) .why-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--home-ice);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease, gap 180ms ease;
}

body:has(#home) .why-feature-link:hover {
    gap: 14px;
    color: #173fc4;
}

body:has(#home) .why-feature-link:focus-visible {
    outline: 2px solid var(--home-cobalt);
    outline-offset: 4px;
}

body:has(#home) .process-section.section {
    width: 100%;
    max-width: none;
    padding-block: clamp(84px, 9vw, 124px);
    color: var(--home-cloud);
    background:
        radial-gradient(ellipse at 90% 4%, rgba(36, 92, 255, 0.24), transparent 31%),
        radial-gradient(ellipse at 10% 80%, rgba(72, 168, 255, 0.1), transparent 30%),
        var(--home-midnight);
}

body:has(#home) #process .section-intro .eyebrow {
    color: var(--home-ice);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
}

body:has(#home) #process .section-intro h2,
body:has(#home) #process .section-intro h2 span {
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(36px, 4.3vw, 54px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.04em;
}

body:has(#home) #process .section-intro h2 span {
    color: var(--home-electric);
}

body:has(#home) #process .process-step:not(:last-child)::before {
    background: linear-gradient(90deg, rgba(168, 222, 255, .3), rgba(168, 222, 255, .16));
}

body:has(#home) #process .process-circle {
    width: 54px;
    height: 54px;
    color: #fff;
    border-color: rgba(168, 222, 255, .3);
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 6px 18px rgba(1, 8, 22, .2);
}

body:has(#home) #process .process-step {
    cursor: pointer;
    border-radius: 10px;
    transition: transform 180ms ease;
}

body:has(#home) #process .process-step h3 {
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(19px, 2vw, 22px);
    font-weight: 600;
    line-height: 1.25;
}

body:has(#home) #process .process-step p {
    max-width: 30ch;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
}

body:has(#home) #process .process-step:hover,
body:has(#home) #process .process-step.is-selected {
    transform: translateY(-2px);
}

body:has(#home) #process .process-step:hover .process-circle,
body:has(#home) #process .process-step.is-selected .process-circle {
    color: #fff;
    border-color: var(--home-electric);
    background: var(--home-cobalt);
    box-shadow: 0 0 0 4px rgba(72, 168, 255, .15), 0 8px 20px rgba(36, 92, 255, .2);
}

body:has(#home) #process .process-step:hover h3,
body:has(#home) #process .process-step.is-selected h3 {
    color: var(--home-electric);
}

body:has(#home) #process .process-step:focus-visible {
    outline: 2px solid var(--home-electric);
    outline-offset: 8px;
}

body:has(#home) #process .process-step:focus-visible .process-circle {
    border-color: var(--home-electric);
}

body:has(#home) #process .section-intro {
    max-width: 820px;
    margin: 0 0 clamp(48px, 6vw, 70px);
    text-align: left;
}

@media (prefers-reduced-motion: reduce) {
    body:has(#home) #process .process-step,
    body:has(#home) #process .process-circle {
        transition: none;
    }

    body:has(#home) #process .process-step:hover,
    body:has(#home) #process .process-step.is-selected {
        transform: none;
    }
}

body:has(#home) #about.about-section {
    width: 100%;
    padding-block: clamp(88px, 10vw, 136px);
    color: #000000;
    background: #ffffff;
}

body:has(#home) #about .eyebrow {
    color: #1d4ed8;
    font-weight: 600;
    letter-spacing: 0.08em;
}

body:has(#home) #about h2 {
    color: #000000;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

body:has(#home) #about h2 span {
    color: #2563eb;
}

body:has(#home) #about .eyebrow,
#about .eyebrow {
    display: inline-block !important;
    color: #2563eb !important;
    font-family: 'Founders Grotesk', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
}

body:has(#home) #about .about-copy p,
#about .about-copy p {
    color: #111827 !important;
    font-family: 'Founders Grotesk', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(17px, 1.4vw, 19.5px) !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    letter-spacing: -0.015em !important;
}

body:has(#home) #about .about-copy strong {
    color: #000000 !important;
    font-weight: 600 !important;
    font-family: inherit !important;
}

body:has(#home) #about .founder-signature {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    display: block;
}

body:has(#home) #about .founder-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body:has(#home) #about .founder-name {
    display: block;
    font-family: 'Garnett', 'Founders Grotesk', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    letter-spacing: -0.015em !important;
}

body:has(#home) #about .founder-title {
    display: block;
    font-family: 'Founders Grotesk', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #2563eb !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

body:has(#home) #contact.contact-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--home-cloud);
    background: #0d0e4d !important;
}

body:has(#home) #contact.contact-section::before {
    display: none !important;
}

body:has(#home) #contact .contact-intro .eyebrow,
body:has(#home) #contact .contact-details > .eyebrow {
    color: var(--home-ice);
}

body:has(#home) #contact .contact-intro h2,
body:has(#home) #contact .contact-intro h2 span,
body:has(#home) #contact .contact-copy h2 {
    color: #fff;
}

body:has(#home) #contact .contact-intro h2 span {
    color: var(--home-electric);
}

body:has(#home) #contact .contact-intro > p,
body:has(#home) #contact .contact-support-line {
    color: rgba(222, 235, 255, 0.74);
}

body:has(#home) #contact .booking-config-status { color: rgba(222, 235, 255, 0.82); }

body:has(#home) #contact .contact-booking-cta .button-primary {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 22px;
    color: #fff;
    background: var(--home-cobalt);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-control);
    box-shadow: 0 10px 24px rgba(36, 92, 255, 0.24);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body:has(#home) #contact .contact-booking-cta .button-primary:hover {
    background: #3470ff;
    box-shadow: 0 12px 28px rgba(36, 92, 255, 0.32);
    transform: translateY(-1px);
}

body:has(#home) #contact .contact-booking-cta .button-primary:active {
    transform: translateY(0);
}

body:has(#home) #contact .contact-booking-cta .button-primary:focus-visible {
    outline: 3px solid var(--home-electric);
    outline-offset: 3px;
}

body:has(#home) #contact .contact-detail > span {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
}

body:has(#home) #contact .contact-detail a,
body:has(#home) #contact .contact-detail p {
    color: #ffffff !important;
}

body:has(#home) #contact .contact-detail a:hover {
    color: var(--home-electric) !important;
    text-decoration: underline;
}

body:has(#home) #contact .contact-form,
body:has(#home) #contact .contact-success {
    border-radius: 0 !important;
    border-color: rgba(168, 222, 255, 0.25);
    background: #fff;
    box-shadow: 0 28px 72px rgba(1, 8, 22, 0.3), 0 0 32px rgba(36, 92, 255, 0.12);
}

body:has(#home) #contact .contact-form .form-field input:focus,
body:has(#home) #contact .contact-form .form-field select:focus,
body:has(#home) #contact .contact-form .form-field textarea:focus {
    border-color: var(--home-electric);
    box-shadow: 0 0 0 3px rgba(72, 168, 255, 0.16), 0 4px 14px rgba(7, 21, 45, 0.06);
}

/* --- Contact Consent Checkbox (matching visa/compliance style) --- */
body:has(#home) #contact .form-consent-row {
    margin-top: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

body:has(#home) #contact .consent-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
    user-select: none;
    color: #0f172a;
}

body:has(#home) #contact .consent-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    transition: all 0.15s ease-in-out;
    margin: 0;
    vertical-align: middle;
}

body:has(#home) #contact .consent-checkbox-label input[type="checkbox"]:checked {
    background-color: #00a843;
    border-color: #00a843;
}

body:has(#home) #contact .consent-checkbox-label input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

body:has(#home) #contact .consent-checkbox-label input[type="checkbox"]:checked::before {
    opacity: 1;
}

body:has(#home) #contact .consent-checkbox-label input[type="checkbox"]:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

body:has(#home) #contact .consent-checkbox-label .consent-text {
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
}

body:has(#home) #contact .consent-checkbox-label .consent-text a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

body:has(#home) #contact .consent-checkbox-label .consent-text a:hover {
    color: #1d4ed8;
}

body:has(#home) .footer,
.footer {
    background: #ffffff !important;
    color: #111827 !important;
}

body:has(#home) .footer-grid {
    border-color: #e5e7eb;
}

body:has(#home) .footer-column a {
    color: #4b5563 !important;
}

body:has(#home) .footer-bottom,
body:has(#home) .footer-bottom p,
body:has(#home) .footer-bottom a {
    color: #6b7280 !important;
}

body:has(#home) .footer-column h4 {
    color: #000000 !important;
}

body:has(#home) .footer-column a:hover {
    color: #000000 !important;
    opacity: 1;
}

@keyframes home-blue-atmosphere {
    from {
        transform: scale(1);
        opacity: 0.85;
    }

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

@media (max-width: 768px) {
    body:has(#home) #home.hero {
        min-height: 0;
        padding-block: 118px 64px;
    }

    body:has(#home) #home .hero-content {
        row-gap: 30px;
    }

    body:has(#home) #services.services-section,
    body:has(#home) .why-editorial-section,
    body:has(#home) .process-section.section,
    body:has(#home) #about.about-section,
    body:has(#home) #contact.contact-section {
        padding-block: 76px;
    }

    body:has(#home) #services .service-feature {
        padding: 0;
    }

    body:has(#home) #services .service-secondary {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 16px;
        padding-block: 36px;
    }

    body:has(#home) .why-feature-card {
        background: transparent;
    }
}

@media (max-width: 520px) {
    body:has(#home) #home.hero {
        padding-block: 106px 54px;
    }

    body:has(#home) #home .hero-copy .eyebrow {
        margin-bottom: 14px;
    }

    body:has(#home) #home .assistant-panel {
        padding: 16px 14px;
        border-radius: 18px;
    }

    body:has(#home) #services .service-feature {
        padding: 0;
    }

    body:has(#home) #services .service-secondary {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 16px;
        padding-block: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(#home) #home.hero::before {
        animation: none;
    }

    body:has(#home) #services .service-feature,
    body:has(#home) .why-feature-card,
    body:has(#home) .why-feature-link {
        transition: none;
    }

    body:has(#home) #services .service-feature:hover,
    body:has(#home) .why-feature-card:hover {
        transform: none;
    }
}

/* Assistant answer typography and optional fullscreen workspace. */
body:has(#home) #home .assistant-message-assistant {
    width: min(100%, 760px);
    max-width: min(100%, 760px);
    color: #f1f6ff;
    white-space: normal;
}

body:has(#home) #home .assistant-message-assistant:not(.pending) { animation: assistant-response-in 180ms ease-out both; }

body:has(#home) #home .assistant-message-assistant.pending,
body:has(#home) #home .assistant-message-assistant.error { white-space: pre-wrap; }

body:has(#home) #home .assistant-message-content {
    color: inherit;
    font-family: var(--font-body, inherit);
    font-size: 0.94rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

body:has(#home) #home .assistant-message-content > :first-child { margin-top: 0; }
body:has(#home) #home .assistant-message-content > :last-child { margin-bottom: 0; }
body:has(#home) #home .assistant-message-content p { margin: 0 0 0.85em; }
body:has(#home) #home .assistant-message-content h3,
body:has(#home) #home .assistant-message-content h4,
body:has(#home) #home .assistant-message-content h5 {
    margin: 1.05em 0 0.45em;
    color: #fff;
    font-family: var(--font-display, var(--font-body, inherit));
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.35;
}
body:has(#home) #home .assistant-message-content h4 { font-size: 1rem; }
body:has(#home) #home .assistant-message-content h5 { font-size: 0.94rem; }
body:has(#home) #home .assistant-message-content ul,
body:has(#home) #home .assistant-message-content ol {
    display: grid;
    gap: 0.32em;
    margin: 0.25em 0 0.9em;
    padding-left: 1.4em;
}
body:has(#home) #home .assistant-message-content li { padding-left: 0.18em; }
body:has(#home) #home .assistant-message-content li::marker { color: #91caff; }
body:has(#home) #home .assistant-message-content a {
    color: #a8deff;
    text-decoration-color: rgba(168, 222, 255, 0.55);
    text-underline-offset: 3px;
}
body:has(#home) #home .assistant-message-content a:hover { color: #d7eeff; }
body:has(#home) #home .assistant-message-content :not(pre) > code {
    padding: 0.12em 0.38em;
    color: #d7eaff;
    border: 1px solid rgba(168, 222, 255, 0.13);
    border-radius: 5px;
    background: rgba(2, 12, 29, 0.65);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.88em;
}
body:has(#home) #home .assistant-message-content blockquote {
    margin: 0.2em 0 0.9em;
    padding: 0.1em 0 0.1em 0.9em;
    color: #d8e7fb;
    border-left: 2px solid rgba(91, 173, 255, 0.7);
}
body:has(#home) #home .assistant-message-content blockquote p { margin: 0.35em 0; }
body:has(#home) #home .assistant-message-content hr {
    margin: 0.9em 0;
    border: 0;
    border-top: 1px solid rgba(168, 222, 255, 0.18);
}
body:has(#home) #home .assistant-code-block {
    position: relative;
    margin: 0.4em 0 0.95em;
    border: 1px solid rgba(168, 222, 255, 0.15);
    border-radius: 10px;
    background: rgba(2, 11, 27, 0.78);
    overflow: hidden;
}
body:has(#home) #home .assistant-code-block pre {
    max-width: 100%;
    margin: 0;
    padding: 36px 14px 14px;
    overflow: auto;
    color: #dbeafe;
    font: 0.84rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
    tab-size: 4;
}
body:has(#home) #home .assistant-code-block pre code { white-space: pre; }
body:has(#home) #home .assistant-copy-code {
    position: absolute;
    z-index: 1;
    top: 7px;
    right: 8px;
    min-height: 26px;
    padding: 3px 9px;
    color: #cfe4ff;
    border: 1px solid rgba(168, 222, 255, 0.18);
    border-radius: 6px;
    background: rgba(17, 39, 72, 0.9);
    font: inherit;
    font-size: 0.72rem;
    cursor: pointer;
}
body:has(#home) #home .assistant-copy-code:hover { border-color: #5baeff; color: #fff; }
body:has(#home) #home .assistant-table-wrap {
    max-width: 100%;
    margin: 0.35em 0 0.95em;
    overflow-x: auto;
    border: 1px solid rgba(168, 222, 255, 0.15);
    border-radius: 9px;
    overscroll-behavior-x: contain;
}
body:has(#home) #home .assistant-message-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88em;
}
body:has(#home) #home .assistant-message-content th,
body:has(#home) #home .assistant-message-content td {
    min-width: 100px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(168, 222, 255, 0.12);
    text-align: left;
    vertical-align: top;
}
body:has(#home) #home .assistant-message-content th {
    color: #fff;
    background: rgba(24, 55, 96, 0.64);
    font-weight: 600;
}
body:has(#home) #home .assistant-message-content tr:last-child td { border-bottom: 0; }

body:has(#home) #home .assistant-expand {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--home-ice);
    border: 1px solid rgba(168, 222, 255, 0.2);
    border-radius: var(--radius-control);
    background: rgba(16, 42, 81, 0.82);
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
body:has(#home) #home .assistant-expand:hover {
    color: #fff;
    border-color: var(--home-electric);
    background: rgba(36, 92, 255, 0.24);
}
body:has(#home) #home .assistant-expand:focus-visible,
body:has(#home) #home .assistant-copy-code:focus-visible { outline: 2px solid #9bd5ff; outline-offset: 2px; }
body:has(#home) #home .assistant-expand svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body:has(#home) #home .assistant-restore-icon { display: none; }
body:has(#home) #home .assistant-panel-fullscreen .assistant-expand-icon { display: none; }
body:has(#home) #home .assistant-panel-fullscreen .assistant-restore-icon { display: block; }

body.assistant-fullscreen-open { overflow: hidden; }
body:has(#home).assistant-fullscreen-open .site-header { z-index: 0; }
body:has(#home).assistant-fullscreen-open #home { z-index: 10000; overflow: visible; }
body:has(#home).assistant-fullscreen-open #home .hero-content { z-index: 10000; }
body:has(#home) #home .assistant-panel-fullscreen {
    position: fixed !important;
    z-index: 10000;
    inset: 0;
    display: flex;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    padding: clamp(18px, 3.2vh, 34px) clamp(18px, 4vw, 60px);
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #0b2042, #07152d);
    border-radius: 0;
    overflow: hidden;
    animation: none;
}
body:has(#home) #home .assistant-panel-fullscreen .assistant-empty-title { flex: 0 0 auto; }
body:has(#home) #home .assistant-panel-fullscreen .assistant-conversation {
    display: flex;
    width: min(100%, 960px);
    max-width: 960px;
    max-height: none;
    min-height: 0;
    flex: 1 1 auto;
    align-self: center;
    padding: 8px 10px 16px;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}
body:has(#home) #home .assistant-panel-fullscreen .assistant-message-assistant {
    width: 100%;
    max-width: 900px;
    align-self: center;
    padding: 18px 20px;
    font-size: 0.98rem;
}
body:has(#home) #home .assistant-panel-fullscreen .assistant-message-user { max-width: min(88%, 760px); }
body:has(#home) #home .assistant-panel-fullscreen .assistant-composer,
body:has(#home) #home .assistant-panel-fullscreen .assistant-suggestions,
body:has(#home) #home .assistant-panel-fullscreen .assistant-chat-status {
    width: min(100%, 1040px);
    align-self: center;
}
body:has(#home) #home .assistant-panel-fullscreen .assistant-composer { flex: 0 0 auto; }

@keyframes assistant-response-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    body:has(#home) #home .assistant-composer-tools { gap: 3px; }
    body:has(#home) #home .assistant-expand,
    body:has(#home) #home .assistant-utility-button,
    body:has(#home) #home .assistant-microphone,
    body:has(#home) #home .assistant-send { width: 38px; height: 38px; }
    body:has(#home) #home .assistant-panel-fullscreen {
        padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
        gap: 10px;
    }
    body:has(#home) #home .assistant-panel-fullscreen .assistant-conversation { padding: 4px 2px 12px; }
    body:has(#home) #home .assistant-panel-fullscreen .assistant-message-assistant { padding: 13px; }
    body:has(#home) #home .assistant-panel-fullscreen .assistant-message-user { max-width: 92%; }
}

@media (prefers-reduced-motion: reduce) {
    body:has(#home) #home .assistant-message-assistant { animation: none; }
}

/* Homepage integrations showcase */
.integrations-showcase {
    overflow: hidden;
    padding: clamp(68px, 8vw, 112px) 0;
    color: #FFFFFF !important;
    background: #0D0E4D !important;
}
.integrations-showcase__inner {
    width: calc(100% - var(--container-gutter) - var(--container-gutter));
    max-width: var(--content-max);
    margin-inline: auto;
}
.integrations-showcase__intro {
    max-width: 760px;
    margin: 0 auto clamp(34px, 5vw, 56px);
    text-align: center;
}
.integrations-showcase__intro .eyebrow {
    display: none !important;
}
.integrations-showcase__intro h2 {
    margin-bottom: var(--space-3);
    color: #FFFFFF !important;
    font-family: 'Garnett', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(40px, 4.8vw, 60px) !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
}
.integrations-showcase__intro > p:last-child {
    max-width: 64ch;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: var(--text-lg);
    line-height: var(--line-height-relaxed);
}
.integrations-showcase__rows {
    display: grid;
    gap: 20px;
    width: 100%;
}
.integration-marquee {
    width: 100%;
    overflow: hidden;
    padding-block: 10px;
}
.integration-marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
}
.integration-marquee__track--left { animation: integrations-marquee-left 46s linear infinite; }
.integration-marquee__track--right { animation: integrations-marquee-right 50s linear infinite; }
.integration-marquee:hover .integration-marquee__track,
.integration-marquee:focus-within .integration-marquee__track { animation-play-state: paused; }
.integration-marquee:focus-within {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}
.integration-marquee__items {
    display: flex;
    flex: 0 0 auto;
    gap: 18px;
    width: max-content;
    padding: 0 18px 0 0;
    list-style: none;
}
.integration-tile {
    display: flex;
    width: 142px;
    height: 100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg) !important;
    background: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.integration-tile:hover,
.integration-tile:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}
.integration-tile:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
}
.integration-tile__logo {
    display: block;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    object-fit: contain;
}
.integration-tile__logo[hidden] { display: none; }
.integration-tile__name {
    max-width: 100%;
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--text-xs);
    line-height: 16px;
    opacity: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 180ms ease, opacity 180ms ease;
}
.integration-tile:hover .integration-tile__name,
.integration-tile:focus-visible .integration-tile__name,
.integration-tile--logo-unavailable .integration-tile__name {
    color: var(--color-accent);
    opacity: 1;
}
.integrations-showcase__note {
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: var(--text-xs);
    line-height: 1.6;
    text-align: center;
}
.integration-detail {
    position: fixed;
    width: min(460px, calc(100vw - 32px));
    max-width: none;
    padding: clamp(26px, 5vw, 38px);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-surface-raised);
    box-shadow: 0 24px 72px rgba(11, 31, 58, 0.18);
}
.integration-detail::backdrop { background: rgba(8, 18, 34, 0.5); }
.integration-detail__close {
    position: absolute;
    top: 12px;
    right: 14px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-surface);
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}
.integration-detail__close:hover,
.integration-detail__close:focus-visible { color: var(--color-accent); border-color: var(--color-accent-light); }
.integration-detail__close:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.integration-detail__category {
    margin-bottom: 10px;
    color: var(--color-text-link);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.integration-detail h3 {
    margin: 0 36px 12px 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.2;
}
.integration-detail__description {
    margin-bottom: 24px;
    color: #172033;
    font-size: var(--text-base);
    line-height: var(--line-height-relaxed);
}
.integration-detail__request { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }

@keyframes integrations-marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes integrations-marquee-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (max-width: 600px) {
    .integrations-showcase { padding-block: 64px; }
    .integrations-showcase__rows { gap: 12px; }
    .integration-marquee__items { gap: 10px; padding-right: 10px; }
    .integration-tile {
        width: 122px !important;
        height: 92px !important;
        border-radius: var(--radius-lg) !important;
        aspect-ratio: auto !important;
        padding: 10px !important;
    }
    .integration-tile__logo {
        width: 28px !important;
        height: 28px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .integration-marquee { overflow-x: auto; scrollbar-width: thin; }
    .integration-marquee__track,
    .integration-marquee__track--left,
    .integration-marquee__track--right { animation: none; transform: none; will-change: auto; }
    .integration-marquee__items[aria-hidden="true"] { display: none; }
    .integration-tile,
    .integration-tile__name { transition: none; }
}

/* Homepage assistant visual refinement: keep the existing structure and behavior. */
body:has(#home) #home .assistant-panel {
    --assistant-ink: #f4f7ff;
    --assistant-secondary: #b8c9e2;
    --assistant-placeholder: #9fb1ca;
    --assistant-accent: #72b7ff;
    color: var(--assistant-ink);
    position: relative;
    border-color: rgba(135, 171, 219, .24);
    border-radius: 26px;
    background:
        radial-gradient(ellipse 86% 44% at 50% 0%, rgba(51, 103, 221, .2), transparent 76%),
        radial-gradient(ellipse 48% 70% at 100% 100%, rgba(31, 74, 152, .15), transparent 78%),
        linear-gradient(155deg, #102644 0%, #0b1e3a 54%, #08172e 100%);
    box-shadow: 0 28px 72px rgba(1, 7, 21, .46), 0 12px 30px rgba(11, 35, 81, .2), inset 0 1px 0 rgba(228, 240, 255, .09);
}

body:has(#home) #home .assistant-panel .assistant-empty-title {
    color: var(--assistant-ink);
    font-size: clamp(23px, 2vw, 28px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.2;
}

body:has(#home) #home .assistant-panel .assistant-conversation {
    gap: 14px;
    padding: 5px 3px 7px;
    scrollbar-color: rgba(134, 174, 225, .42) transparent;
}

body:has(#home) #home .assistant-panel .assistant-chat-hint,
body:has(#home) #home .assistant-panel .assistant-chat-status {
    color: var(--assistant-secondary);
    font-size: .8rem;
    line-height: 1.55;
}

body:has(#home) #home .assistant-panel .assistant-chat-status {
    min-height: 1.25em;
    padding-inline: 2px;
}

body:has(#home) #home .assistant-panel .assistant-message {
    max-width: min(94%, 680px);
    padding: 13px 17px;
    border-color: transparent;
    border-radius: 0 16px 16px 0;
    color: var(--assistant-ink);
    background: linear-gradient(90deg, rgba(18, 44, 78, .72), rgba(15, 36, 65, .38) 72%, rgba(15, 36, 65, .12));
    font-size: .92rem;
    line-height: 1.72;
}

body:has(#home) #home .assistant-panel .assistant-message-user {
    margin-left: auto;
    border: 1px solid rgba(114, 183, 255, .4);
    border-radius: 17px 17px 5px 17px;
    color: #f4f8ff;
    background: linear-gradient(135deg, rgba(47, 93, 218, .96), rgba(28, 111, 186, .88));
    box-shadow: 0 8px 22px rgba(4, 17, 48, .22), inset 0 1px 0 rgba(255, 255, 255, .12);
}

body:has(#home) #home .assistant-panel .assistant-message-assistant {
    border-left: 2px solid rgba(114, 183, 255, .4);
    color: var(--assistant-ink);
}

body:has(#home) #home .assistant-panel .assistant-message-assistant.pending {
    color: var(--assistant-secondary);
    border-left: 2px solid rgba(114, 183, 255, .45);
    background: linear-gradient(90deg, rgba(10, 29, 56, .55), transparent 85%);
}

body:has(#home) #home .assistant-panel .assistant-message-assistant.error {
    color: #ffe1e3;
    border-color: rgba(255, 145, 157, .3);
    border-left-color: rgba(255, 145, 157, .72);
    background: rgba(92, 31, 48, .42);
}

body:has(#home) #home .assistant-panel .assistant-message-content {
    color: var(--assistant-ink);
    font-size: .96rem;
    line-height: 1.72;
}

body:has(#home) #home .assistant-panel .assistant-message-content p {
    margin-bottom: .9em;
}

body:has(#home) #home .assistant-panel .assistant-message-content h3,
body:has(#home) #home .assistant-panel .assistant-message-content h4,
body:has(#home) #home .assistant-panel .assistant-message-content h5 {
    color: #f4f7ff;
    line-height: 1.32;
}

body:has(#home) #home .assistant-panel .assistant-message-content strong {
    color: #fff;
    font-weight: 600;
}

body:has(#home) #home .assistant-panel .assistant-message-content li::marker {
    color: var(--assistant-accent);
}

body:has(#home) #home .assistant-panel .assistant-message-content a,
body:has(#home) #home .assistant-panel .assistant-access-links a {
    color: var(--assistant-accent);
    text-decoration-color: rgba(114, 183, 255, .55);
    text-underline-offset: 3px;
}

body:has(#home) #home .assistant-panel .assistant-message-content a:hover,
body:has(#home) #home .assistant-panel .assistant-access-links a:hover {
    color: #c7e5ff;
    text-decoration-color: currentColor;
}

body:has(#home) #home .assistant-panel .assistant-message-content :not(pre) > code {
    color: #dcecff;
    border-color: rgba(159, 195, 231, .2);
    background: rgba(3, 15, 32, .72);
}

body:has(#home) #home .assistant-panel .assistant-code-block {
    border-color: rgba(159, 195, 231, .2);
    background: rgba(4, 17, 35, .88);
}

body:has(#home) #home .assistant-panel .assistant-code-block pre {
    color: #e0edff;
}

body:has(#home) #home .assistant-panel .assistant-copy-code {
    color: #d7e8ff;
    border-color: rgba(159, 195, 231, .25);
    background: #132d50;
}

body:has(#home) #home .assistant-panel .assistant-copy-code:hover {
    color: #fff;
    border-color: var(--assistant-accent);
    background: #1a3d6b;
}

body:has(#home) #home .assistant-panel .assistant-message-content th {
    color: #f4f7ff;
    background: rgba(31, 63, 103, .72);
}

body:has(#home) #home .assistant-panel .assistant-composer {
    display: grid;
    min-height: 94px;
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 34px 44px;
    align-items: center;
    gap: 4px;
    padding: 8px 10px 7px;
    border-color: rgba(130, 167, 217, .28);
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(12, 31, 58, .98), rgba(8, 23, 44, .99));
    box-shadow: 0 10px 24px rgba(1, 8, 22, .22), inset 0 1px 0 rgba(230, 241, 255, .065);
}

body:has(#home) #home .assistant-panel .assistant-composer:focus-within {
    border-color: rgba(114, 183, 255, .78);
    background: #071a34;
    box-shadow: 0 10px 24px rgba(1, 8, 22, .22), inset 0 1px 0 rgba(230, 241, 255, .065);
}

body:has(#home) #home .assistant-panel .assistant-composer[aria-busy="true"] {
    opacity: 1;
    border-color: rgba(114, 183, 255, .42);
}

body:has(#home) #home .assistant-panel .assistant-composer input {
    width: 100%;
    height: 34px;
    min-height: 34px;
    grid-row: 1;
    padding: 0 13px;
    color: var(--assistant-ink);
    font-size: .94rem;
    font-weight: 450;
    border: 1px solid rgba(113, 151, 203, .2);
    border-radius: 12px;
    background: rgba(3, 14, 30, .68);
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

body:has(#home) #home .assistant-panel .assistant-composer input::placeholder {
    color: var(--assistant-placeholder);
    opacity: 1;
}

body:has(#home) #home .assistant-panel .assistant-composer input:focus {
    border-color: rgba(114, 183, 255, .66);
    outline: 0;
    background: rgba(4, 18, 37, .96);
    box-shadow: 0 0 0 2px rgba(76, 151, 231, .13);
}

body:has(#home) #home .assistant-panel .assistant-composer-tools {
    width: 100%;
    min-height: 44px;
    grid-row: 2;
    justify-content: flex-end;
    gap: 8px;
}

body:has(#home) #home .assistant-panel .assistant-utility-button,
body:has(#home) #home .assistant-panel .assistant-microphone,
body:has(#home) #home .assistant-panel .assistant-send,
body:has(#home) #home .assistant-panel .assistant-expand {
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex: 0 0 44px;
    border: 1px solid rgba(159, 195, 231, .25);
    color: #c4d8f0;
    box-shadow: none;
}

body:has(#home) #home .assistant-panel .assistant-utility-button,
body:has(#home) #home .assistant-panel .assistant-microphone {
    background: #142e50;
}

body:has(#home) #home .assistant-panel .assistant-expand {
    background: #142e50;
}

body:has(#home) #home .assistant-panel .assistant-utility-button svg,
body:has(#home) #home .assistant-panel .assistant-microphone svg,
body:has(#home) #home .assistant-panel .assistant-send svg,
body:has(#home) #home .assistant-panel .assistant-expand svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.1;
}

body:has(#home) #home .assistant-panel .assistant-utility-button:hover:not(:disabled),
body:has(#home) #home .assistant-panel .assistant-microphone:hover:not(:disabled),
body:has(#home) #home .assistant-panel .assistant-expand:hover {
    color: #fff;
    border-color: rgba(114, 183, 255, .7);
    background: #1c416c;
    box-shadow: 0 3px 9px rgba(2, 10, 24, .2);
}

body:has(#home) #home .assistant-panel .assistant-send {
    border-color: #3b78ff;
    color: #fff;
    background: #245cff;
    box-shadow: 0 3px 9px rgba(3, 14, 37, .28);
}

body:has(#home) #home .assistant-panel .assistant-send:hover:not(:disabled) {
    border-color: #7cb1ff;
    background: #3470ff;
    box-shadow: 0 4px 12px rgba(3, 14, 37, .34);
}

body:has(#home) #home .assistant-panel .assistant-utility-button:disabled,
body:has(#home) #home .assistant-panel .assistant-microphone:disabled {
    color: #8fa5c0;
    border-color: rgba(159, 195, 231, .16);
    background: #102542;
    cursor: not-allowed;
}

body:has(#home) #home .assistant-panel .assistant-send:disabled {
    opacity: 1;
    color: #e3edff;
    border-color: rgba(124, 177, 255, .45);
    background: #315fc9;
    box-shadow: none;
    cursor: progress;
}

body:has(#home) #home .assistant-panel .assistant-utility-button:focus-visible,
body:has(#home) #home .assistant-panel .assistant-microphone:focus-visible,
body:has(#home) #home .assistant-panel .assistant-send:focus-visible,
body:has(#home) #home .assistant-panel .assistant-expand:focus-visible,
body:has(#home) #home .assistant-panel .assistant-suggestion:focus-visible,
body:has(#home) #home .assistant-panel .assistant-copy-code:focus-visible {
    outline: 2px solid #9ed0ff;
    outline-offset: 2px;
}

body:has(#home) #home .assistant-panel .assistant-suggestion {
    min-height: 40px;
    padding: 8px 14px;
    color: #d1def0;
    border-color: rgba(131, 167, 213, .22);
    border-radius: 13px;
    background: linear-gradient(180deg, rgba(29, 54, 88, .9), rgba(18, 39, 68, .96));
    font-size: .78rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(236, 245, 255, .07), 0 4px 10px rgba(1, 8, 22, .12);
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

body:has(#home) #home .assistant-panel .assistant-suggestion svg {
    width: 16px;
    height: 16px;
    color: #9bcfff;
    stroke-width: 1.9;
}

body:has(#home) #home .assistant-panel .assistant-suggestion:hover:not(:disabled),
body:has(#home) #home .assistant-panel .assistant-more[aria-expanded="true"] {
    color: #f4f7ff;
    border-color: rgba(114, 183, 255, .68);
    background: linear-gradient(180deg, rgba(39, 77, 127, .98), rgba(26, 55, 95, .98));
    box-shadow: 0 5px 13px rgba(1, 8, 22, .2), inset 0 1px 0 rgba(236, 245, 255, .1);
}

body:has(#home) #home .assistant-panel .assistant-suggestion:active:not(:disabled) {
    transform: translateY(1px);
}

body:has(#home) #home .assistant-panel .assistant-suggestion:disabled,
body:has(#home) #home .assistant-panel .assistant-suggestion-unavailable:disabled {
    color: #899bb4;
    border-color: rgba(159, 195, 231, .14);
    background: rgba(15, 34, 59, .7);
    cursor: not-allowed;
}

body:has(#home) #home .assistant-panel .assistant-suggestion:disabled svg {
    color: #859ab5;
}

@media (max-width: 600px) {
    body:has(#home) #home .assistant-panel { border-radius: 20px; }
    body:has(#home) #home .assistant-panel .assistant-composer {
        grid-template-rows: 34px 44px;
        gap: 4px;
        padding-inline: 8px;
    }
    body:has(#home) #home .assistant-panel .assistant-composer-tools { gap: 6px; }
    body:has(#home) #home .assistant-panel .assistant-suggestion { min-height: 40px; }
    body:has(#home) #home .assistant-panel .assistant-message { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    body:has(#home) #home .assistant-panel .assistant-composer,
    body:has(#home) #home .assistant-panel .assistant-utility-button,
    body:has(#home) #home .assistant-panel .assistant-microphone,
    body:has(#home) #home .assistant-panel .assistant-send,
    body:has(#home) #home .assistant-panel .assistant-expand,
    body:has(#home) #home .assistant-panel .assistant-suggestion { transition: none; }
    body:has(#home) #home .assistant-panel .assistant-message-assistant { animation: none; }
}

/* Targeted Services overview composition. */
body:has(#home) #services .services-page {
    width: min(100%, 1320px);
}

body:has(#home) #services .services-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
    align-items: start;
    gap: clamp(44px, 6vw, 88px);
}

body:has(#home) #services .services-intro {
    display: block;
    margin: 0;
    text-align: left;
}

body:has(#home) #services .services-intro .eyebrow {
    margin: 0 0 14px;
    color: var(--home-cobalt);
}

body:has(#home) #services .services-intro h2 {
    max-width: 10ch;
    margin: 0 0 20px;
    color: var(--home-midnight);
    font-size: clamp(42px, 4.3vw, 60px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

body:has(#home) #services .services-intro > p:last-child {
    max-width: 36ch;
    margin: 0;
    color: #344258;
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.65;
}

body:has(#home) #services .service-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    margin: 0;
}

body:has(#home) #services .service-overview-item {
    display: flex;
    min-width: 0;
    min-height: 272px;
    flex-direction: column;
    padding: 24px;
    color: var(--home-midnight);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dce5ef;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(11, 31, 61, 0.035);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body:has(#home) #services .service-overview-item:hover {
    transform: translateY(-2px);
    border-color: rgba(36, 92, 255, 0.42);
    box-shadow: 0 9px 24px rgba(11, 31, 61, 0.08);
}

body:has(#home) #services .service-overview-item h3 {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    margin: 0;
    color: var(--home-midnight);
    font-family: var(--font-display);
    font-size: clamp(17px, 1.45vw, 20px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

body:has(#home) #services .service-overview-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: var(--home-cobalt);
}

body:has(#home) #services .service-overview-rule {
    width: 100%;
    height: 0;
    flex: 0 0 auto;
    margin: 14px 0 15px;
    border: 0;
    border-top: 1px solid #e5eaf1;
}

body:has(#home) #services .service-overview-points {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: #202020;
    list-style: none;
}

body:has(#home) #services .service-overview-points li {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    min-width: 0;
    font-size: 14px;
    line-height: 1.5;
}

body:has(#home) #services .service-overview-check {
    width: 15px;
    height: 15px;
    margin-top: 3px;
    color: var(--home-cobalt);
}

body:has(#home) #services .service-overview-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    color: var(--home-midnight);
    border-top: 1px solid #e5eaf1;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

body:has(#home) #services .service-overview-link svg {
    width: 16px;
    height: 16px;
    color: var(--home-cobalt);
    transition: transform 160ms ease;
}

body:has(#home) #services .service-overview-link:hover {
    color: var(--home-cobalt);
}

body:has(#home) #services .service-overview-link:hover svg {
    transform: translateX(3px);
}

body:has(#home) #services .service-overview-link:focus-visible {
    outline: 3px solid rgba(36, 92, 255, 0.42);
    outline-offset: 4px;
    border-radius: 2px;
}

body:has(#home) #process .process-line {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body:has(#home) #about .about-approach {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 1.25rem;
    color: #172033;
    font-size: 16px;
    line-height: 1.65;
}

body:has(#home) #services .service-feature--copy-only .service-feature-copy,
body:has(#home) #services .service-feature--copy-only.service-feature--reverse .service-feature-copy {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: 70ch;
}

body:has(#home) #services .services-intro > p:last-child,
body:has(#home) #services .service-feature-name,
body:has(#home) #services .service-feature-description,
body:has(#home) #services .service-secondary > p:not(.service-feature-name),
body:has(#home) #services .service-secondary-detail > p,
body:has(#home) #about .about-copy p {
    color: #172033;
}

@media (max-width: 1080px) {
    body:has(#home) #services .services-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    body:has(#home) #services .services-intro h2 {
        max-width: 18ch;
        font-size: clamp(38px, 5vw, 52px);
    }

    body:has(#home) #services .services-intro > p:last-child {
        max-width: 58ch;
    }

    body:has(#home) #services .service-overview-item {
        min-height: 250px;
    }

    body:has(#home) #process .process-line {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    body:has(#home) #services .service-overview-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    body:has(#home) #services .service-overview-item {
        min-height: 0;
        padding: 22px;
    }
    body:has(#home) #process .process-line {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(#home) #services .service-overview-item,
    body:has(#home) #services .service-overview-link,
    body:has(#home) #services .service-overview-link svg {
        transition: none;
    }
    body:has(#home) #services .service-overview-item:hover {
        transform: none;
    }
}

/* Why Viceroys — blue editorial carousel inspired by the supplied reference. */
body:has(#home) .why-editorial-section {
    --why-midnight-lift: color-mix(in srgb, var(--home-midnight) 30%, var(--home-night-surface) 70%);
    --why-midnight-highlight: color-mix(in srgb, var(--home-midnight) 12%, var(--home-night-surface) 88%);
    overflow: hidden;
    padding-block: clamp(58px, 5.5vw, 76px);
    font-family: var(--font-body);
    color: var(--home-cloud);
    background: linear-gradient(115deg, var(--why-midnight-lift) 8%, var(--why-midnight-highlight) 55%, var(--why-midnight-lift) 100%);
}

body:has(#home) .why-editorial-container {
    width: min(100%, 1260px);
}

body:has(#home) .why-editorial-topline {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 24px);
    margin-bottom: clamp(22px, 2.5vw, 32px);
}

body:has(#home) .why-editorial-logo {
    display: block;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

body:has(#home) .why-editorial-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(2.2);
}

body:has(#home) .why-editorial-rule {
    height: 1px;
    flex: 1 1 auto;
    background: linear-gradient(90deg, rgba(168, 222, 255, .24), rgba(168, 222, 255, .08));
}

body:has(#home) .why-editorial-cta {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 17px;
    font-family: inherit;
    color: var(--home-ice);
    border: 1px solid rgba(168, 222, 255, .32);
    border-radius: 10px;
    background: rgba(12, 32, 65, .55);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body:has(#home) .why-editorial-cta:hover {
    color: #fff;
    border-color: var(--home-electric);
    background: rgba(36, 92, 255, .72);
}

body:has(#home) .why-editorial-cta:focus-visible,
body:has(#home) .why-carousel-arrow:focus-visible,
body:has(#home) .why-carousel-pagination button:focus-visible,
body:has(#home) .why-feature-link:focus-visible {
    outline: 3px solid rgba(168, 222, 255, .68);
    outline-offset: 4px;
}

body:has(#home) .why-editorial-heading {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, .85fr);
    align-items: center;
    gap: clamp(42px, 8vw, 112px);
    margin: 0 0 clamp(22px, 2.5vw, 32px);
}

/* Reset the former editorial header's wide grid-column assignments. */
body:has(#home) .why-editorial-title-wrap {
    grid-column: 1;
    grid-row: 1;
}

body:has(#home) .why-editorial-heading > .why-editorial-description {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

body:has(#home) .why-editorial-title-wrap .eyebrow {
    margin-bottom: 13px;
    color: var(--home-ice);
}

body:has(#home) .why-editorial-heading h2 {
    max-width: 17ch;
    margin: 0;
    color: var(--home-cloud);
    font-family: var(--font-display);
    font-size: clamp(38px, 4.8vw, 62px);
    line-height: 1.04;
    letter-spacing: -.048em;
}

body:has(#home) .why-editorial-heading h2 em {
    color: var(--home-ice);
    font-style: normal;
    font-weight: 500;
}

body:has(#home) .why-editorial-description {
    max-width: 50ch;
    margin: 0 0 0 auto;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.72;
}

body:has(#home) .why-carousel {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
}

body:has(#home) .why-carousel-viewport {
    --why-card-gap: 22px;
    position: relative;
    min-width: 0;
    height: 276px;
    overflow: hidden;
    perspective: 1200px;
    outline: none;
}

body:has(#home) .why-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

body:has(#home) .why-feature-card {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: min(31%, 354px);
    height: 248px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    padding: 0;
    color: var(--home-cloud);
    border: 1px solid rgba(168, 222, 255, .18);
    border-radius: 16px;
    background: #11294b;
    box-shadow: 0 10px 24px rgba(1, 8, 20, .22);
    opacity: .93;
    transform-origin: center center;
    transition: transform 520ms cubic-bezier(.2, .75, .25, 1), opacity 380ms ease, box-shadow 380ms ease, border-color 380ms ease;
}

body:has(#home) .why-feature-card[data-position="left"] {
    z-index: 1;
    transform: translate(calc(-150% - var(--why-card-gap)), -50%) scale(.92);
}

body:has(#home) .why-feature-card[data-position="center"] {
    z-index: 3;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

body:has(#home) .why-feature-card[data-position="right"] {
    z-index: 1;
    transform: translate(calc(50% + var(--why-card-gap)), -50%) scale(.92);
}

body:has(#home) .why-feature-card.is-active {
    border-color: rgba(72, 168, 255, .44);
    background: #163459;
    box-shadow: 0 14px 30px rgba(1, 8, 20, .3);
}

body:has(#home) .why-feature-copy {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    flex-direction: column;
    align-self: stretch;
    padding: 24px 25px 22px;
    justify-content: center;
}

body:has(#home) .why-feature-copy h3 {
    max-width: 22ch;
    margin: 0 0 11px;
    color: var(--home-cloud);
    font-family: var(--font-display);
    font-size: clamp(19px, 1.55vw, 22px);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -.025em;
}

body:has(#home) .why-feature-copy h3 em {
    color: var(--home-ice);
    font-style: normal;
    font-weight: 550;
}

body:has(#home) .why-feature-copy > p {
    max-width: 44ch;
    margin: 0 0 13px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
}

body:has(#home) .why-feature-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--home-electric);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease, gap 160ms ease;
}

body:has(#home) .why-feature-link:hover {
    gap: 12px;
    color: var(--home-ice);
}

body:has(#home) .why-feature-link span {
    color: currentColor;
}

body:has(#home) .why-carousel-arrow {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    color: var(--home-ice);
    border: 1px solid rgba(168, 222, 255, .22);
    border-radius: 50%;
    background: rgba(12, 32, 65, .92);
    box-shadow: 0 5px 15px rgba(1, 8, 20, .24);
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

body:has(#home) .why-carousel-arrow svg {
    width: 21px;
    height: 21px;
}

body:has(#home) .why-carousel-arrow:hover {
    color: #fff;
    border-color: var(--home-cobalt);
    background: var(--home-cobalt);
    transform: scale(1.05);
}

body:has(#home) .why-carousel-arrow:active {
    transform: scale(.96);
}

body:has(#home) .why-carousel-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 21px;
}

body:has(#home) .why-carousel-pagination button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(168, 222, 255, .36);
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease;
}

body:has(#home) .why-carousel-pagination button[aria-current="true"] {
    width: 27px;
    background: var(--home-cobalt);
}

@media (max-width: 920px) {
    body:has(#home) .why-editorial-heading {
        grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr);
        gap: 32px;
    }

    body:has(#home) .why-carousel {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 12px;
    }

    body:has(#home) .why-carousel-viewport {
        --why-card-gap: 15px;
        height: 264px;
    }

    body:has(#home) .why-feature-card {
        width: 32%;
        height: 236px;
        grid-template-rows: minmax(0, 1fr);
    }

    body:has(#home) .why-feature-copy { padding: 18px 17px 17px; }
    body:has(#home) .why-feature-copy h3 { font-size: 18px; }
    body:has(#home) .why-feature-copy > p { font-size: 13px; }
    body:has(#home) .why-carousel-arrow { width: 40px; height: 40px; }
}

@media (max-width: 680px) {
    body:has(#home) .why-editorial-section { padding-block: 52px; }

    body:has(#home) .why-editorial-topline {
        gap: 12px;
        margin-bottom: 24px;
    }

    body:has(#home) .why-editorial-logo {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    body:has(#home) .why-editorial-cta {
        min-height: 40px;
        gap: 6px;
        padding-inline: 11px;
        font-size: 12px;
        white-space: nowrap;
    }

    body:has(#home) .why-editorial-heading {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-bottom: 22px;
    }

    body:has(#home) .why-editorial-title-wrap,
    body:has(#home) .why-editorial-heading > .why-editorial-description {
        grid-column: auto;
        grid-row: auto;
    }

    body:has(#home) .why-editorial-heading h2 {
        max-width: 18ch;
        font-size: clamp(34px, 9vw, 46px);
        line-height: 1.1;
    }

    body:has(#home) .why-editorial-description {
        max-width: 52ch;
        margin: 0;
        font-size: 16px;
        line-height: 1.62;
    }

    body:has(#home) .why-carousel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;
    }

    body:has(#home) .why-carousel-viewport {
        --why-card-gap: 20px;
        grid-column: 1 / -1;
        grid-row: 1;
        height: 278px;
        border-radius: 18px;
    }

    body:has(#home) .why-feature-card {
        width: min(92%, 390px);
        height: 244px;
        grid-template-rows: minmax(0, 1fr);
    }

    body:has(#home) .why-feature-card[data-position="left"] {
        transform: translate(calc(-150% - var(--why-card-gap)), -50%) scale(.96);
    }

    body:has(#home) .why-feature-card[data-position="right"] {
        transform: translate(calc(50% + var(--why-card-gap)), -50%) scale(.96);
    }

    body:has(#home) .why-feature-copy { padding: 21px 22px 20px; }
    body:has(#home) .why-feature-copy h3 { font-size: 21px; }
    body:has(#home) .why-feature-copy > p { font-size: 14px; }

    body:has(#home) .why-carousel-arrow {
        position: static;
        z-index: auto;
        width: 44px;
        height: 44px;
        color: var(--home-ice);
        border-color: rgba(168, 222, 255, .22);
        background: rgba(12, 32, 65, .94);
    }

    body:has(#home) .why-carousel-arrow--previous { grid-column: 1; grid-row: 2; justify-self: start; }
    body:has(#home) .why-carousel-arrow--next { grid-column: 2; grid-row: 2; justify-self: end; }
    body:has(#home) .why-carousel-pagination { margin-top: 12px; }
}

@media (max-width: 380px) {
    body:has(#home) .why-editorial-cta { font-size: 11px; }
    body:has(#home) .why-carousel-viewport { height: 284px; }
    body:has(#home) .why-feature-card { height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
    body:has(#home) .why-editorial-cta,
    body:has(#home) .why-carousel-arrow,
    body:has(#home) .why-feature-card,
    body:has(#home) .why-feature-link,
    body:has(#home) .why-carousel-pagination button {
        transition: none;
    }
}

/* Restore the original dark Viceroys navigation across public pages. */
.site-header,
body:has(#home) .site-header,
body.service-detail .site-header {
    color: #f3f7ff;
    background: var(--color-header-background);
    border-bottom: 1px solid rgba(168, 222, 255, .13);
    box-shadow: 0 8px 28px rgba(3, 12, 29, .18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header .brand,
.site-header .brand strong,
.site-header .nav-links a,
.site-header .mobile-menu-button,
body:has(#home) .site-header .brand,
body:has(#home) .site-header .brand strong,
body:has(#home) .site-header .nav-links a,
body:has(#home) .site-header .mobile-menu-button,
body.service-detail .site-header .brand,
body.service-detail .site-header .brand strong,
body.service-detail .site-header .nav-links a,
body.service-detail .site-header .mobile-menu-button {
    color: #ffffff !important;
}

.site-header .brand-mark,
body:has(#home) .site-header .brand-mark,
body.service-detail .site-header .brand-mark {
    filter: none;
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible,
.site-header .nav-links a.active,
body:has(#home) .site-header .nav-links a:hover,
body:has(#home) .site-header .nav-links a:focus-visible,
body:has(#home) .site-header .nav-links a.active,
body.service-detail .site-header .nav-links a:hover,
body.service-detail .site-header .nav-links a:focus-visible,
body.service-detail .site-header .nav-links a.active {
    color: #48a8ff;
}

.site-header .nav-links a::after,
body:has(#home) .site-header .nav-links a::after,
body.service-detail .site-header .nav-links a::after {
    background: #48a8ff;
}

.site-header .mobile-menu-button,
body:has(#home) .site-header .mobile-menu-button,
body.service-detail .site-header .mobile-menu-button {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
}

.site-header .mobile-menu-button:hover,
body:has(#home) .site-header .mobile-menu-button:hover,
body.service-detail .site-header .mobile-menu-button:hover {
    background: rgba(255, 255, 255, .11);
}

.site-header .nav-links.mobile-open,
body:has(#home) .site-header .nav-links.mobile-open,
body.service-detail .site-header .nav-links.mobile-open {
    background: var(--color-header-background);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 12px 28px rgba(1, 8, 22, .3);
}

/* Pure white footer typography styling */
.footer .footer-column h4,
body:has(#home) .footer .footer-column h4,
body.service-detail footer .footer-column h4 {
    color: #000000 !important;
}

.footer .footer-column a,
body:has(#home) .footer .footer-column a,
body.service-detail footer .footer-column a {
    color: #4b5563 !important;
}

.footer-bottom,
.footer-bottom p,
.footer-bottom a,
body:has(#home) .footer-bottom,
body:has(#home) .footer-bottom p,
body:has(#home) .footer-bottom a,
body.service-detail footer .footer-bottom,
body.service-detail footer .footer-bottom p,
body.service-detail footer .footer-bottom a {
    color: #6b7280 !important;
}

.site-header .nav-links.mobile-open a,
body:has(#home) .site-header .nav-links.mobile-open a,
body.service-detail .site-header .nav-links.mobile-open a {
    color: #d9e5f5;
    border-color: rgba(255, 255, 255, .08);
}

/* Our Work — Separate Independent Industry Cards on White Background */
#case-studies.industry-work-section,
body:has(#home) #case-studies.industry-work-section,
.page-industries .industries-page-hero {
    padding-block: clamp(72px, 8vw, 110px);
    background: #ffffff !important;
    color: #000000;
}

#case-studies .industry-work-container,
body:has(#home) #case-studies .industry-work-container,
.page-industries .industries-page-container {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding-inline: clamp(20px, 4vw, 40px);
    box-sizing: border-box;
}

#case-studies .industry-work-intro,
body:has(#home) #case-studies .industry-work-intro,
.page-industries .industries-page-header {
    display: block !important;
    max-width: 860px;
    margin: 0 auto clamp(36px, 4.5vw, 56px);
    text-align: center;
}

#case-studies .industry-work-intro .eyebrow,
body:has(#home) #case-studies .industry-work-intro .eyebrow {
    display: none !important;
}

#case-studies .industry-work-intro h2,
body:has(#home) #case-studies .industry-work-intro h2,
.page-industries .industries-page-header h1 {
    margin: 0 auto 12px;
    color: #ffffff !important;
    font-family: 'Garnett', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(36px, 4.5vw, 56px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
    text-align: center !important;
}

#case-studies .industry-work-intro > p:last-child,
body:has(#home) #case-studies .industry-work-intro > p:last-child,
.page-industries .industries-page-lead {
    max-width: 68ch;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.5;
    text-align: center !important;
}

#case-studies .industry-work-grid,
body:has(#home) #case-studies .industry-work-grid,
.page-industries .industry-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.2vw, 24px);
    max-width: 1140px;
    margin: 0 auto;
}

#case-studies .industry-card,
body:has(#home) #case-studies .industry-card,
.page-industries .industry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    padding: 24px 24px 28px !important;
    box-sizing: border-box;
    border-radius: 4px !important;
    overflow: hidden !important;
    border: 2px solid #000000 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

#case-studies .industry-card:hover,
body:has(#home) #case-studies .industry-card:hover,
.page-industries .industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.industry-card-label {
    display: block;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    user-select: none;
}

.industry-card-icon-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0 8px;
}

.industry-pixel-icon {
    display: block;
    width: auto;
    max-width: 72%;
    max-height: 180px;
    height: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    user-select: none;
    pointer-events: none;
    transition: transform 220ms ease;
}

.industry-card:hover .industry-pixel-icon {
    transform: scale(1.05);
}

/* Card Themes from Image 3 */
.card--ecommerce {
    background: #FFFFFF !important;
    color: #000000 !important;
}
.card--ecommerce .industry-card-label {
    color: #000000 !important;
}

.card--manufacturing {
    background: #FC0E0C !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
.card--manufacturing .industry-card-label {
    color: #FFFFFF !important;
}

.card--education {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
}
.card--education .industry-card-label {
    color: #FFFFFF !important;
}

.card--real-estate {
    background: #FFFFFF !important;
    color: #000000 !important;
}
.card--real-estate .industry-card-label {
    color: #000000 !important;
}

.card--startups {
    background: #AAECCF !important;
    color: #000000 !important;
}
.card--startups .industry-card-label {
    color: #000000 !important;
}

/* Heading Card placed in Row 1, Col 3 */
.card--heading {
    background: #FFFFFF !important;
    color: #000000 !important;
    justify-content: center !important;
    padding: 32px 28px !important;
}

.card-heading-title {
    margin: 0 0 16px 0 !important;
    font-family: 'Garnett', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(28px, 2.6vw, 40px) !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    color: #000000 !important;
}

.card-heading-desc {
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: clamp(14.5px, 1.2vw, 17px) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #000000 !important;
}

.card--action {
    background: #FFFFFF !important;
    color: #000000 !important;
    align-items: flex-end;
    justify-content: flex-end;
}

.industry-card-action-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
}

.industry-start-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #000000 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 16px 32px;
    border-radius: 100px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.industry-start-now-btn:hover {
    transform: scale(1.05);
    background: #1F2937 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.industry-btn-arrow {
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    transition: transform 180ms ease;
}

.industry-start-now-btn:hover .industry-btn-arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 991px) {
    #case-studies.industry-work-section,
    body:has(#home) #case-studies.industry-work-section,
    .page-industries .industries-page-hero {
        padding-block: 60px;
    }

    #case-studies .industry-work-grid,
    body:has(#home) #case-studies .industry-work-grid,
    .page-industries .industry-work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    #case-studies .industry-card,
    body:has(#home) #case-studies .industry-card,
    .page-industries .industry-card {
        min-height: 270px;
        padding: 20px 20px 24px !important;
    }

    .industry-pixel-icon {
        max-height: 140px;
    }

    .card--heading {
        grid-column: 1 / -1;
        order: -1;
        min-height: auto !important;
        padding: 28px 24px !important;
    }
}

@media (max-width: 640px) {
    #case-studies.industry-work-section,
    body:has(#home) #case-studies.industry-work-section,
    .page-industries .industries-page-hero {
        padding-block: 40px;
    }

    #case-studies .industry-work-intro,
    body:has(#home) #case-studies .industry-work-intro,
    .page-industries .industries-page-header {
        margin-bottom: 28px;
    }

    #case-studies .industry-work-intro h2,
    body:has(#home) #case-studies .industry-work-intro h2,
    .page-industries .industries-page-header h1 {
        font-size: clamp(28px, 7.5vw, 38px) !important;
    }

    #case-studies .industry-work-intro > p:last-child,
    body:has(#home) #case-studies .industry-work-intro > p:last-child,
    .page-industries .industries-page-lead {
        font-size: 15px;
    }

    #case-studies .industry-work-grid,
    body:has(#home) #case-studies .industry-work-grid,
    .page-industries .industry-work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    #case-studies .industry-card,
    body:has(#home) #case-studies .industry-card,
    .page-industries .industry-card {
        min-height: 180px;
        padding: 14px 14px 16px !important;
        border-radius: 4px !important;
    }

    .industry-card-label {
        font-size: 11px;
        letter-spacing: 0.02em;
    }

    .industry-pixel-icon {
        max-height: 95px;
        max-width: 78%;
    }

    .card--heading {
        grid-column: 1 / -1;
        order: -1;
        padding: 22px 18px !important;
    }

    .card-heading-title {
        font-size: 26px !important;
        margin-bottom: 8px !important;
    }

    .card-heading-desc {
        font-size: 13.5px !important;
    }

    .card--startups {
        grid-column: 1 / -1;
    }

    .industry-start-now-btn {
        padding: 12px 18px;
        font-size: 14px;
        border-radius: 50px;
        gap: 8px;
    }

    .industry-btn-arrow {
        font-size: 16px;
    }
}


    }

    body:has(#home) #case-studies .industry-card:hover {
        transform: none;
    }
}

/* Home gallery — image-led portfolio strip between Why Viceroys and Process. */
body:has(#home) .viceroys-gallery-section,
.viceroys-gallery-section {
    padding-top: clamp(100px, 11vw, 156px) !important;
    padding-bottom: clamp(64px, 8vw, 104px) !important;
    padding-inline: clamp(24px, 4vw, 40px);
    color: #0b1f3a;
    background: #fff;
    scroll-margin-top: 110px;
}

body:has(#home) .viceroys-gallery-container {
    width: min(100%, 1320px);
    margin-inline: auto;
}

body:has(#home) .viceroys-gallery-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(24px, 3.2vw, 38px);
}

body:has(#home) .viceroys-gallery-intro {
    min-width: 0;
    max-width: 720px;
}

body:has(#home) .viceroys-gallery-eyebrow,
.viceroys-gallery-eyebrow {
    display: none !important;
}

body:has(#home) .viceroys-gallery-heading h2,
.viceroys-gallery-heading h2,
#viceroys-gallery-title {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .24em;
    margin: 0 0 16px !important;
    color: #000000 !important;
    font-family: 'Garnett', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(40px, 4.8vw, 60px) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
}

body:has(#home) .viceroys-gallery-heading h2 span + span,
.viceroys-gallery-heading h2 span + span {
    color: #0057FF !important;
    font-family: inherit !important;
    font-weight: 400 !important;
}

body:has(#home) .viceroys-gallery-description,
.viceroys-gallery-description {
    max-width: 64ch;
    margin: 10px 0 0 !important;
    color: #000000 !important;
    font-family: 'Founders Grotesk', 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    font-size: clamp(15px, 1.35vw, 18px) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: -0.01em !important;
}

body:has(#home) .viceroys-gallery-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    padding-top: clamp(20px, 3vw, 44px);
}

body:has(#home) .viceroys-gallery-arrow {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    color: #0b1f3a;
    border: 1px solid #dbe4ef;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body:has(#home) .viceroys-gallery-arrow svg {
    width: 19px;
    height: 19px;
}

body:has(#home) .viceroys-gallery-arrow:hover {
    color: #fff;
    border-color: #245cff;
    background: #245cff;
}

body:has(#home) .viceroys-gallery-arrow:active { transform: scale(.96); }

body:has(#home) .viceroys-gallery-arrow:focus-visible,
body:has(#home) .viceroys-gallery-card:focus-visible {
    outline: 3px solid #72b7ff;
    outline-offset: 4px;
}

body:has(#home) .viceroys-gallery {
    position: relative;
    min-width: 0;
}

body:has(#home) .viceroys-gallery-track {
    display: flex;
    width: 100%;
    height: clamp(280px, 31vw, 390px);
    gap: 8px;
    overflow: hidden;
    border-radius: 13px;
    touch-action: pan-y;
}

body:has(#home) .viceroys-gallery-card {
    position: relative;
    display: block;
    min-width: 0;
    flex: 1 1 0;
    overflow: hidden;
    isolation: isolate;
    border-radius: 12px;
    background: #dce7f1;
    cursor: default;
    transition: flex-grow 520ms cubic-bezier(.2, .75, .25, 1), filter 360ms ease;
}

body:has(#home) .viceroys-gallery-card.is-current { flex-grow: 3.8; }

body:has(#home) .viceroys-gallery-track:has(.viceroys-gallery-card:hover) .viceroys-gallery-card.is-current:not(:hover),
body:has(#home) .viceroys-gallery-track:has(.viceroys-gallery-card:focus-visible) .viceroys-gallery-card.is-current:not(:focus-visible) {
    flex-grow: 1;
}

body:has(#home) .viceroys-gallery-card:hover,
body:has(#home) .viceroys-gallery-card:focus-visible { flex-grow: 2.4; }

body:has(#home) .viceroys-gallery-card.is-current:hover,
body:has(#home) .viceroys-gallery-card.is-current:focus-visible { flex-grow: 3.8; }

body:has(#home) .viceroys-gallery-card img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 650ms cubic-bezier(.2, .75, .25, 1);
}

body:has(#home) .viceroys-gallery-card:first-child img { object-position: 50% center; }
body:has(#home) .viceroys-gallery-card:nth-child(2) img { object-position: center; }
body:has(#home) .viceroys-gallery-card:nth-child(3) img { object-position: 50% center; }
body:has(#home) .viceroys-gallery-card:nth-child(4) img { object-position: center; }
body:has(#home) .viceroys-gallery-card:nth-child(5) img { object-position: 52% center; }

body:has(#home) .viceroys-gallery-card:hover img,
body:has(#home) .viceroys-gallery-card:focus-visible img { transform: scale(1.025); }

body:has(#home) .viceroys-gallery-card::after {
    position: absolute;
    z-index: -1;
    inset: 30% 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(3, 11, 22, .28) 38%, rgba(3, 11, 22, .88) 100%);
    content: "";
    pointer-events: none;
}

body:has(#home) .viceroys-gallery-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 18px 16px 17px;
    color: #fff;
}

body:has(#home) .viceroys-gallery-category {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, .82);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .11em;
    line-height: 1.35;
}

body:has(#home) .viceroys-gallery-copy h3 {
    margin: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(14px, 1.45vw, 18px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.015em;
}

body:has(#home) .viceroys-gallery-card.is-current .viceroys-gallery-copy { padding: 24px 24px 22px; }

body:has(#home) .viceroys-gallery-card.is-current .viceroys-gallery-copy h3 {
    max-width: 18ch;
    font-size: clamp(22px, 2.45vw, 32px);
    line-height: 1.13;
}

body:has(#home) .viceroys-gallery-copy > p:last-child {
    max-width: 48ch;
    margin: 0;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.45;
}

body:has(#home) .viceroys-gallery-card.is-current .viceroys-gallery-copy > p:last-child { font-size: 13px; }

@media (max-width: 980px) {
    body:has(#home) .viceroys-gallery-track { height: 330px; gap: 7px; }
    body:has(#home) .viceroys-gallery-card.is-current { flex-grow: 3.2; }
    body:has(#home) .viceroys-gallery-card.is-current:hover,
    body:has(#home) .viceroys-gallery-card.is-current:focus-visible { flex-grow: 3.2; }
    body:has(#home) .viceroys-gallery-copy { padding: 15px 12px 14px; }
    body:has(#home) .viceroys-gallery-copy h3 { font-size: 15px; }
    body:has(#home) .viceroys-gallery-copy > p:last-child { font-size: 10px; }
}

@media (max-width: 760px) {
    body:has(#home) .viceroys-gallery-section,
    .viceroys-gallery-section {
        padding-top: 84px !important;
        padding-bottom: 56px !important;
        padding-inline: 24px;
    }
    body:has(#home) .viceroys-gallery-heading { gap: 18px; }
    body:has(#home) .viceroys-gallery-track {
        position: relative;
        height: clamp(360px, 72vw, 460px);
        overflow: hidden;
    }
    body:has(#home) .viceroys-gallery-card,
    body:has(#home) .viceroys-gallery-card.is-current {
        position: absolute;
        inset: 0;
        flex: none;
        opacity: 0;
        pointer-events: none;
        transform: translateX(14px);
        transition: opacity 280ms ease, transform 360ms ease;
    }
    body:has(#home) .viceroys-gallery-card.is-current {
        z-index: 1;
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }
    body:has(#home) .viceroys-gallery-copy,
    body:has(#home) .viceroys-gallery-card.is-current .viceroys-gallery-copy { padding: 24px; }
    body:has(#home) .viceroys-gallery-copy h3,
    body:has(#home) .viceroys-gallery-card.is-current .viceroys-gallery-copy h3 { font-size: clamp(24px, 6vw, 32px); }
    body:has(#home) .viceroys-gallery-copy > p:last-child,
    body:has(#home) .viceroys-gallery-card.is-current .viceroys-gallery-copy > p:last-child { max-width: 42ch; font-size: 14px; }
    body:has(#home) .viceroys-gallery-category { font-size: 9px; }
}

@media (max-width: 560px) {
    body:has(#home) .viceroys-gallery-section,
    .viceroys-gallery-section {
        padding-top: 76px !important;
        padding-bottom: 48px !important;
        padding-inline: 20px;
    }
    body:has(#home) .viceroys-gallery-heading { flex-direction: column; gap: 16px; }
    body:has(#home) .viceroys-gallery-heading h2 { font-size: clamp(36px, 10vw, 48px); }
    body:has(#home) .viceroys-gallery-description { font-size: 15px; }
    body:has(#home) .viceroys-gallery-controls { padding-top: 0; }
    body:has(#home) .viceroys-gallery-track { height: clamp(340px, 96vw, 430px); }
    body:has(#home) .viceroys-gallery-arrow { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    body:has(#home) .viceroys-gallery-card,
    body:has(#home) .viceroys-gallery-card img,
    body:has(#home) .viceroys-gallery-arrow { transition: none; }
}

/* Restore the original compact homepage workflow presentation. */
body:has(#home) #process.process-section {
    padding-block: clamp(84px, 9vw, 124px);
}

body:has(#home) #process .process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    isolation: auto;
}

body:has(#home) #process .process-journey-path,
body:has(#home) #process .process-stage-visual {
    display: none;
}

body:has(#home) #process .process-step,
body:has(#home) #process .process-step:nth-child(n) {
    position: relative;
    display: block;
    min-width: 0;
    padding-top: 20px;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transform: none;
}

body:has(#home) #process .process-step:not(:last-child)::before {
    position: absolute;
    top: 46px;
    left: 54px;
    width: calc(100% + 20px - 54px);
    height: 1px;
    background: linear-gradient(90deg, rgba(168, 222, 255, .3), rgba(168, 222, 255, .16));
    content: "";
    pointer-events: none;
}

body:has(#home) #process .process-circle {
    display: grid;
    width: 54px;
    height: 54px;
    min-width: 54px;
    margin: 0 0 20px;
    padding: 0;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(168, 222, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 6px 18px rgba(1, 8, 22, .2);
    font-size: 12px;
    letter-spacing: 0;
}

body:has(#home) #process .process-step h3 {
    max-width: none;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(19px, 2vw, 22px);
    line-height: 1.25;
    text-align: left;
}

body:has(#home) #process .process-step p {
    max-width: 30ch;
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

/* Targeted homepage assistant glass and header-brand refinement. */
body:has(#home) #home .assistant-panel {
    border-color: rgba(220, 235, 255, .55);
    background: rgba(145, 175, 205, .18);
    box-shadow: 0 18px 44px rgba(1, 8, 22, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
}

body:has(#home) #home .assistant-composer {
    border-color: rgba(168, 222, 255, .28);
    background: rgba(3, 16, 39, .46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 20px rgba(1, 8, 22, .12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

body:has(#home) #home .assistant-composer:focus-within {
    background: rgba(3, 16, 39, .62);
    box-shadow: 0 0 0 3px rgba(72, 168, 255, .13), 0 10px 24px rgba(1, 8, 22, .16), inset 0 1px 0 rgba(255, 255, 255, .08);
}

body:has(#home) #home .assistant-composer input::placeholder {
    color: rgba(229, 234, 243, .72);
}

body:has(#home) #home .assistant-panel .assistant-utility-button,
body:has(#home) #home .assistant-panel .assistant-microphone,
body:has(#home) #home .assistant-panel .assistant-expand {
    color: var(--home-ice);
    border-color: rgba(168, 222, 255, .28);
    background: rgba(72, 168, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

body:has(#home) #home .assistant-panel .assistant-utility-button:hover:not(:disabled),
body:has(#home) #home .assistant-panel .assistant-microphone:hover:not(:disabled),
body:has(#home) #home .assistant-panel .assistant-expand:hover:not(:disabled),
body:has(#home) #home .assistant-panel .assistant-utility-button:focus-visible,
body:has(#home) #home .assistant-panel .assistant-microphone:focus-visible,
body:has(#home) #home .assistant-panel .assistant-expand:focus-visible {
    border-color: rgba(168, 222, 255, .52);
    background: rgba(72, 168, 255, .22);
}

body:has(#home) #home .assistant-panel .assistant-suggestion,
body:has(#home) #home .assistant-panel .assistant-more {
    border-color: rgba(168, 222, 255, .25);
    background: rgba(8, 27, 57, .5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.site-header .brand {
    align-items: center;
    gap: 14px;
}

.site-header .brand-mark {
    width: clamp(64px, 5.4vw, 72px);
    height: clamp(64px, 5.4vw, 72px);
    object-fit: contain;
    transform: scale(1.35);
    transform-origin: center;
}

.site-header .brand strong,
body:has(#home) .site-header .brand strong,
body.service-detail .site-header .brand strong {
    color: #fff;
    font-size: clamp(17px, 1.35vw, 19px);
    line-height: 1;
}

@media (max-width: 520px) {
    .site-header .brand { gap: 10px; }
    .site-header .brand-mark { width: 64px; height: 64px; }
}

@media (max-width: 1080px) {
    body:has(#home) #process .process-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
    body:has(#home) #process .process-line { grid-template-columns: minmax(0, 1fr); }
    body:has(#home) #process .process-step:not(:last-child)::before {
        top: 74px;
        left: 26px;
        width: 1px;
        height: calc(100% + 20px - 27px);
        background: linear-gradient(180deg, rgba(168, 222, 255, .3), rgba(168, 222, 255, .16));
    }
}

/* =========================================================
   ANTI-COPY & BRAND ASSET PROTECTION
   ========================================================= */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

input,
textarea,
select,
[contenteditable="true"],
.contact-form input,
.contact-form textarea,
.chat-composer-input {
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
}

img,
.brand-mark,
.doc-crest {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

/* =========================================================
   PURE WHITE TEXT ENFORCEMENT ACROSS ALL DARK SECTIONS
   ========================================================= */

/* 1. Header Navigation Links */
.site-header .nav-links a,
.site-header .nav-links a:visited,
.site-header .nav-links a:link,
body:has(#home) .site-header .nav-links a,
body.service-detail .site-header .nav-links a {
    color: #ffffff !important;
}

.site-header .nav-links a.active,
.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible,
body:has(#home) .site-header .nav-links a.active,
body:has(#home) .site-header .nav-links a:hover,
body:has(#home) .site-header .nav-links a:focus-visible,
body.service-detail .site-header .nav-links a.active,
body.service-detail .site-header .nav-links a:hover,
body.service-detail .site-header .nav-links a:focus-visible {
    color: #48a8ff !important;
}

/* 2. Hero Section Text */
.hero-description,
.hero-copy .hero-description,
body:has(#home) #home .hero-description,
body:has(#home) .hero-description,
#home .hero-description,
.hero-copy p {
    color: #ffffff !important;
    opacity: 1 !important;
}

.hero-actions .button-secondary,
#home .button-secondary,
.hero-cta .button-secondary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* 3. Why Viceroys Editorial Header & Feature Cards */
.why-editorial-description,
.why-editorial-heading .why-editorial-description,
body:has(#home) .why-editorial-description,
body:has(#home) .why-editorial-heading > .why-editorial-description {
    color: #ffffff !important;
    opacity: 1 !important;
}

.why-feature-copy > p,
.why-feature-copy p,
.why-feature-card p,
body:has(#home) .why-feature-copy > p,
body:has(#home) .why-feature-copy p,
body:has(#home) .why-feature-card p {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* 4. Process Section */
#process .process-step p,
.process-step p,
#process .process-line p,
body:has(#home) #process .process-step p,
body:has(#home) #process p,
#process p,
#process .section-intro p,
body:has(#home) #process .section-intro p {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* 5. Connected Systems / Integrations (User-specified #0D0E4D midnight navy with white text and circular tool boxes) */
.integrations-showcase,
#integrations-showcase {
    background: #0D0E4D !important;
    background-color: #0D0E4D !important;
    color: #FFFFFF !important;
}

.integrations-showcase .eyebrow,
#integrations-showcase .eyebrow {
    display: none !important;
}

.integrations-showcase h2,
#integrations-showcase h2,
.integrations-showcase__intro h2,
#integrations-showcase-title {
    color: #FFFFFF !important;
    font-family: 'Garnett', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(40px, 4.8vw, 60px) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
}

.integrations-showcase p,
.integrations-showcase__intro p,
#integrations-showcase p {
    color: rgba(255, 255, 255, 0.88) !important;
}

.integrations-showcase__note,
#integrations-showcase .integrations-showcase__note {
    color: rgba(255, 255, 255, 0.65) !important;
}

.integration-tile {
    width: 142px !important;
    height: 100px !important;
    border-radius: var(--radius-lg) !important;
    aspect-ratio: auto !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
}

.integration-tile__logo {
    width: 32px !important;
    height: 32px !important;
}

.integration-tile__name {
    display: block !important;
}

/* 6. Services Section - Pure White Background & Modern Layout */
#services,
.services-section,
body:has(#home) #services.services-section {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
    padding-block: clamp(72px, 8vw, 112px);
}

body:has(#home) #services .services-page {
    width: min(100%, 1240px);
    margin-inline: auto;
    padding-inline: clamp(16px, 3vw, 28px);
}

body:has(#home) #services .services-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto clamp(36px, 4.5vw, 56px);
    display: block;
}

#services .services-intro .eyebrow,
body:has(#home) #services .services-intro .eyebrow,
#services .services-intro > p:last-child,
body:has(#home) #services .services-intro > p:last-child {
    display: none !important;
}

#services .services-intro h2,
body:has(#home) #services .services-intro h2 {
    color: #000000 !important;
    font-family: 'Garnett', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(42px, 5.2vw, 64px) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    max-width: none !important;
    margin: 0 auto !important;
}

#services .services-intro h2 .heading-accent,
body:has(#home) #services .services-intro h2 .heading-accent {
    color: #0057FF !important;
    font-family: inherit !important;
    font-weight: 400 !important;
}

/* Service Featured Showcase Card (Card 1: Website Design & Development) - Sharp Corners */
.service-showcase-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(380px, 1.25fr);
    gap: clamp(24px, 3.5vw, 44px);
    align-items: center;
    background: #0D0E4D !important;
    border-radius: 0px !important;
    padding: clamp(24px, 3.5vw, 42px);
    box-shadow: 0 16px 44px rgba(13, 14, 77, 0.18);
    margin: 0 auto clamp(28px, 3.5vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    width: 100%;
}

.service-showcase-visual {
    width: 100%;
    border-radius: 0px !important;
    overflow: hidden;
    background: #0D0E4D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-showcase-visual img,
.service-showcase-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 0px !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.service-showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.service-showcase-title {
    color: #ffffff !important;
    font-family: var(--font-display) !important;
    font-size: clamp(26px, 2.8vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.03em !important;
    margin: 0 0 12px !important;
}

.service-showcase-desc {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: clamp(15px, 1.15vw, 16.5px) !important;
    line-height: 1.6 !important;
    margin: 0 0 24px !important;
}

.service-showcase-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.service-showcase-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff !important;
    font-size: clamp(14px, 1.08vw, 15.5px) !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

.service-showcase-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    margin-top: 8px;
    flex-shrink: 0;
}

.service-showcase-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 160ms ease, opacity 160ms ease;
}

.service-showcase-link svg {
    width: 16px;
    height: 16px;
    transition: transform 160ms ease;
}

.service-showcase-link:hover svg {
    transform: translateX(4px);
}

/* Service Category Sub-headings Navigation (Websites, Softwares, Automation, Logos) - Full Width Long White Bar */
.service-category-nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #ffffff !important;
    border-bottom: 1px solid #D9D9D9 !important;
    box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.08) !important;
    height: clamp(64px, 6.5vw, 76px);
    margin-top: 0;
    margin-bottom: clamp(36px, 4vw, 54px);
    position: sticky;
    top: 72px;
    z-index: 50;
    pointer-events: auto;
}

.service-category-nav {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(12px, 2.5vw, 30px);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 clamp(16px, 3vw, 32px);
    max-width: 1240px;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.service-nav-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 clamp(20px, 2.2vw, 32px);
    font-family: 'Garnett', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: clamp(20px, 1.8vw, 25px);
    font-weight: 400 !important;
    color: #000000 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease;
    border-radius: 0px !important;
    outline: none !important;
}

.service-nav-tab:last-child {
    border: none !important;
}

.service-nav-tab:hover:not(.is-active) {
    color: #0057FF !important;
    background: transparent !important;
}

.service-nav-tab.is-active {
    background: #0057FF !important;
    color: #ffffff !important;
    font-weight: 400 !important;
}

.service-showcase-card {
    scroll-margin-top: 160px;
}

@media (max-width: 960px) {
    .service-showcase-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .service-category-nav-wrapper {
        top: 60px;
        height: 60px;
    }
    .service-category-nav {
        gap: 8px;
        justify-content: flex-start;
        padding: 0 12px;
    }
    .service-nav-tab {
        padding: 0 16px;
        font-size: 16px;
    }
    .service-showcase-card {
        padding: 20px;
    }
}

/* 7. Gallery / Our Work in Action */
.viceroys-gallery-description,
.viceroys-gallery-copy > p,
.viceroys-gallery p {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* 8. Industry Cards (Our Work) */
#case-studies .section-header p,
#work p {
    color: #ffffff !important;
}

#case-studies .industry-card > p,
.industry-card p {
    color: #4b5563 !important;
}

#case-studies .industry-work-intro > p:last-child,
body:has(#home) #case-studies .industry-work-intro > p:last-child {
    color: #4b5563 !important;
}

/* 9. About Section */
#about .about-copy p,
.about-section .about-copy p {
    color: #111827 !important;
}

/* 10. Contact Section */
#contact .section-header p,
#contact .contact-copy p,
.contact-form-intro p,
.contact-note,
#contact p {
    color: #ffffff !important;
}

/* 11. Footer */
.footer p,
.site-footer p {
    color: #6b7280 !important;
}




/* ==========================================================================
   WEARETENET EXACT HERO & NAVIGATION REPLICA (2026)
   Exact #0057FF Blue, Authentic Garnett & Founders Grotesk Typography,
   Artboard Handles, Clean Alignment & High-Detail Visuals
   ========================================================================== */

@font-face {
    font-family: 'Garnett';
    src: url('fonts/garnettRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Garnett';
    src: url('fonts/garnettSemibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Garnett';
    src: url('fonts/garnettBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Founders Grotesk';
    src: url('fonts/foundersGroteskRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Founders Grotesk';
    src: url('fonts/foundersGroteskMedium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Founders Grotesk';
    src: url('fonts/foundersGroteskSemibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Header & Nav */
header.tenet-header.site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: #FFFFFF !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
}

header.tenet-header.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
}

.tenet-header-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

@media (min-width: 861px) {
    .tenet-header-inner {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
    }
    .tenet-header-left {
        justify-self: start !important;
    }
    .tenet-nav {
        justify-self: center !important;
        margin: 0 auto !important;
    }
    .tenet-header-right {
        justify-self: end !important;
    }
}

/* Left: Logo & Country */
.tenet-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tenet-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    line-height: 1;
}

.viceroys-nav-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.viceroys-brand-name {
    font-family: 'Garnett', sans-serif !important;
    font-size: 28px;
    font-weight: 700;
    color: #000000 !important;
    letter-spacing: -0.6px;
    line-height: 1;
    display: inline-block;
}

.tenet-logo-svg {
    height: 38px;
    width: auto;
    display: block;
}

.tenet-country-selector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #000000 !important;
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
    padding-left: 2px;
    transition: opacity 0.2s ease;
}

.tenet-country-selector:hover {
    opacity: 0.8;
}

.tenet-country-selector svg {
    display: block;
    margin-top: 1px;
    stroke: #000000 !important;
}

.tenet-country-selector svg path {
    stroke: #000000 !important;
}

/* Center: Nav links */
.tenet-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.tenet-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.tenet-nav-link {
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #000000 !important;
    text-decoration: none !important;
    letter-spacing: -0.2px;
    transition: color 0.25s ease;
    padding: 4px 0;
}

.tenet-nav-arrow {
    display: block;
    transition: transform 0.25s ease;
}

.tenet-nav-arrow path {
    fill: #000000 !important;
    transition: fill 0.25s ease;
}

.tenet-nav-item:hover .tenet-nav-link {
    color: #666666 !important;
}

.tenet-nav-item:hover .tenet-nav-arrow path {
    fill: #666666 !important;
}

/* Right: Get Proposal CTA */
.tenet-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tenet-proposal-btn {
    display: none !important;
}

.tenet-proposal-btn:hover {
    transform: translateY(-3px);
    background-color: #5B21B6 !important;
    border-color: #5B21B6 !important;
    color: #FFFFFF !important;
}

.tenet-proposal-btn svg {
    display: block;
}

.tenet-proposal-btn svg path {
    fill: #FFFFFF !important;
}

/* Mobile Toggle */
.tenet-mobile-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.tenet-mobile-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000000 !important;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.tenet-hero {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    width: 100% !important;
    min-height: calc(100vh - 80px);
    display: flex !important;
    align-items: center !important;
    padding: 40px 48px 80px !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: none !important;
    filter: none !important;
}

.tenet-hero-container {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(24px, 2.8vw, 42px);
}

/* Left Content */
.tenet-hero-content {
    max-width: 580px;
}

.tenet-hero-headline {
    font-family: 'Garnett', sans-serif !important;
    font-size: clamp(36px, 3.85vw, 62px) !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: -1.2px !important;
    color: #000000 !important;
    margin: 0 0 24px 0 !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    text-shadow: none !important;
}

.tenet-hero-subheadline {
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(18px, 1.55vw, 22px) !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: -0.4px !important;
    color: #000000 !important;
    max-width: 560px !important;
    margin: 0 0 38px 0 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.tenet-hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tenet-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 0px !important;
    font-family: 'Founders Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.tenet-hero-btn.btn-get-proposal {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: 2.4px solid #000000 !important;
    padding: 0 24px;
    font-weight: 500;
}

.tenet-hero-btn.btn-get-proposal:hover {
    transform: translateY(-3px);
    background: #262626 !important;
    border-color: #262626 !important;
    color: #FFFFFF !important;
}

.tenet-hero-btn.btn-explore,
.tenet-hero-btn.btn-chatgpt {
    background: #F4F4F6 !important;
    color: #000000 !important;
    border: 2px solid #E0E0E0 !important;
    padding: 0 20px;
    gap: 8px;
}

.tenet-hero-btn.btn-explore:hover,
.tenet-hero-btn.btn-chatgpt:hover {
    transform: translateY(-3px);
    background: #EAEAEA !important;
    border-color: #BDBDBD !important;
    color: #000000 !important;
}

.tenet-hero-btn.btn-explore svg,
.tenet-hero-btn.btn-chatgpt svg {
    display: block;
    color: #000000 !important;
}

/* Right Visual: Clean Organic Illustration (Border removed) */
.tenet-hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: -15px;
    padding-left: 0;
    transform: translateY(-4px);
}

.tenet-artboard-box {
    position: relative;
    width: 100%;
    max-width: 960px;
    border: none !important;
    background: transparent !important;
    line-height: 0;
    box-sizing: border-box;
    display: block;
    box-shadow: none !important;
}

.tenet-artboard-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent !important;
    image-rendering: auto;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Transform Handles Hidden */
.tb-handle {
    display: none !important;
}

.tb-tl { top: -4.5px; left: -4.5px; }
.tb-tr { top: -4.5px; right: -4.5px; }
.tb-bl { bottom: -4.5px; left: -4.5px; }
.tb-br { bottom: -4.5px; right: -4.5px; }
.tb-tc { top: -4.5px; left: 50%; transform: translateX(-50%); }
.tb-bc { bottom: -4.5px; left: 50%; transform: translateX(-50%); }
.tb-ml { top: 50%; left: -4.5px; transform: translateY(-50%); }
.tb-mr { top: 50%; right: -4.5px; transform: translateY(-50%); }

/* Floating WhatsApp Button - Removed */
.tenet-floating-whatsapp {
    display: none !important;
}

/* Responsive Media Queries - Matching WeAreTenet exact desktop & responsive layout */
@media (min-width: 861px) and (max-width: 1140px) {
    .tenet-header-inner {
        padding: 16px 28px;
    }
    .tenet-nav {
        gap: 16px;
    }
    .tenet-nav-link {
        font-size: 15px;
    }
    .tenet-proposal-btn {
        padding: 8px 14px;
        font-size: 15px;
    }
    .tenet-hero {
        padding: 30px 28px 60px !important;
    }
    .tenet-hero-container {
        grid-template-columns: 0.95fr 1.35fr;
        gap: 24px;
    }
    .tenet-hero-headline {
        font-size: clamp(34px, 4.2vw, 54px) !important;
        letter-spacing: -1.2px !important;
        margin-bottom: 20px !important;
    }
    .tenet-hero-subheadline {
        font-size: 17px !important;
        margin-bottom: 28px !important;
    }
}

@media (max-width: 860px) {
    .tenet-nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 20px;
        right: 20px;
        background: #FFFFFF;
        border: 1.5px solid rgba(0, 0, 0, 0.12);
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        z-index: 9999;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }
    .tenet-nav.is-open {
        display: flex;
    }
    .tenet-mobile-btn {
        display: flex;
    }
    .tenet-header-inner {
        padding: 14px 20px;
    }
    .tenet-hero {
        padding: 24px 20px 50px !important;
    }
    .tenet-hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .tenet-hero-content {
        max-width: 100%;
    }
    .tenet-hero-visual {
        justify-content: center;
        margin-top: 0;
        transform: none;
    }
    .tenet-illustration-wrapper,
    .tenet-artboard-box {
        max-width: 550px;
    }
    .tenet-hero-headline {
        font-size: 34px !important;
        letter-spacing: -1px !important;
    }
    .tenet-hero-subheadline {
        font-size: 17px !important;
        margin-bottom: 24px !important;
    }
    .tenet-hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        width: 100% !important;
        align-items: center !important;
    }
    .tenet-hero-btn {
        flex: 1 1 0px !important;
        min-width: 0 !important;
        height: 42px !important;
        font-size: clamp(13px, 3.4vw, 15px) !important;
        padding: 0 clamp(8px, 2vw, 14px) !important;
        white-space: nowrap !important;
        text-align: center !important;
        justify-content: center !important;
    }
    .tenet-hero-btn.btn-explore,
    .tenet-hero-btn.btn-chatgpt {
        gap: 6px !important;
    }
    .tenet-hero-btn.btn-explore svg,
    .tenet-hero-btn.btn-chatgpt svg {
        width: 15px !important;
        height: 15px !important;
        flex-shrink: 0 !important;
    }
}

/* ==========================================================================
   VICEROYS DYNAMIC SPLASH SCREEN (FAST 1.5s PEACOCK REVEAL)
   ========================================================================== */
.viceroys-splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    pointer-events: auto;
    overflow: hidden;
    background: transparent;
}

.splash-svg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

#splash-brand-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
    transform-origin: center center;
    will-change: transform, opacity;
}

.splash-logo-img {
    width: clamp(90px, 14vw, 140px);
    height: auto;
    object-fit: contain;
    display: block;
}

.splash-brand-title {
    font-family: 'Garnett', 'Founders Grotesk', -apple-system, sans-serif;
    font-size: clamp(24px, 3.6vw, 36px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #000000 !important;
    line-height: 1.1;
    text-align: center;
}

#splash-ball {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #000000;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 20;
    pointer-events: none;
    will-change: transform, top, opacity;
}

/* =========================================================
   CONTACT INTRO CREATIVE ELEMENTS & TYPOGRAPHY
   ========================================================= */
.contact-cursor-top {
    margin: 0 0 6px 0;
}

.contact-cursor-bottom {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 6px;
}

.contact-cursor-icon {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
    border-radius: 4px;
}

body:has(#home) #contact .contact-intro {
    gap: 16px;
    margin-bottom: clamp(32px, 3.5vw, 48px);
}

body:has(#home) #contact .contact-intro h2 {
    max-width: 22ch;
    font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(32px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
}

body:has(#home) #contact .contact-intro-desc {
    max-width: 44ch;
    font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.65;
    color: rgba(222, 235, 255, 0.88) !important;
    margin: 0;
}


