:root {
    --bg-color: var(--background-color);
    --text-main: var(--text-color);
    --text-muted: var(--subtext-color);
    --accent-color: var(--primary-neon);
    --accent-glow: color-mix(in srgb, var(--primary-neon) 40%, transparent);
    --accent-gradient: linear-gradient(135deg, var(--primary-neon) 0%, color-mix(in srgb, var(--primary-neon) 85%, white) 100%);
    --glass-bg: color-mix(in srgb, var(--secondary-bg) 80%, transparent);
    --glass-border: color-mix(in srgb, var(--primary-neon) 15%, transparent);
    --navbar-height: 85px;
    --services-sticky-header-height: 160px;
    --services-header-clearance: 24px;
    --card-stack-offset: 6px;
    --services-card-height: clamp(220px, 24vh, 280px);
    --services-rail-fade-distance: clamp(180px, 28vh, 260px);
    --services-header-orb-size: clamp(150px, 20vw, 250px);
    --services-header-orb-offset: clamp(-80px, -8vw, -56px);
    --services-exit-opacity: 1;
    --sticky-scroll-height: 300vh;
    --services-footer-mask-overlap: clamp(160px, 32vh, 280px);
    --footer-surface-reveal-start: 0.08;
    --footer-surface-reveal-end: 0.72;
    --footer-legal-after-cta-start: 0.68;
    --footer-curtain-color: var(--bg-color);
    --footer-padding-top: clamp(56px, 8vh, 96px);
    --footer-padding-bottom: clamp(24px, 4vh, 40px);
    --timeline-section-height: 300vh;
}

html {
    scroll-padding-top: var(--navbar-height);
}

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

body,
body[data-page-shell="document"] {
    font-family: 'DM Sans', 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: clip;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: var(--navbar-height) !important;
}

.hero {
    min-height: var(--hero-fold-height, calc(100svh - var(--navbar-height)));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Added to prevent orb overflow */
}

.hero.hero--static {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + 2rem);
    padding-bottom: 2rem;
    align-items: flex-start;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Effects with Subtle Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}



.bg-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: float 12s ease-in-out infinite;
}

.orb-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    animation-delay: 0s;
    pointer-events: none;
}

.orb-2 {
    bottom: -150px;
    right: -100px;
    width: 800px;
    height: 400px;
    background: color-mix(in srgb, var(--accent-color) 60%, var(--success-green));
    opacity: 0.25;
    animation-delay: -6s;
    pointer-events: none;
}

.sticky-content {
    position: relative;
}

.horizontal-scroll-track {
    position: relative;
}

/* Typography & Utils */
.text-gradient {
    color: var(--accent-color);
    text-shadow: 0 0 3px var(--accent-color), 0 0 10px color-mix(in srgb, var(--primary-neon) 30%, transparent);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 4px 15px var(--accent-glow);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 6px 25px color-mix(in srgb, var(--primary-neon) 60%, transparent);
    transform: translateY(-2px) scale(1.02);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: color-mix(in srgb, var(--primary-neon) 5%, transparent);
    border-color: var(--accent-color);
}

@keyframes cta-glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px color-mix(in srgb, var(--primary-neon) 50%, transparent);
    }

    50% {
        box-shadow: 0 0 35px color-mix(in srgb, var(--primary-neon) 65%, transparent), 0 0 60px color-mix(in srgb, var(--primary-neon) 20%, transparent);
    }
}

.btn-neon {
    background: var(--primary-neon);
    color: var(--bg-color);
    border: none;
    box-shadow: 0 0 20px color-mix(in srgb, var(--primary-neon) 50%, transparent);
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: cta-glow-pulse 3s ease-in-out infinite;
}

.btn-neon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--text-color) 40%, transparent) 0%, transparent 50%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-neon:hover {
    animation: none;
    box-shadow: 0 0 35px color-mix(in srgb, var(--primary-neon) 80%, transparent);
    transform: translateY(-2px) scale(1.02);
}

.btn-neon:hover::after {
    opacity: 0.8;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--bg-color) 85%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 300;
    color: var(--text-muted);
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger-line {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--primary-neon) 10%, transparent);
    border: 1px solid var(--glass-border);
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

#hero-badge-text {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#hero-badge-text.fade-out {
    opacity: 0;
    transform: translateY(-5px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--text-main);
    font-weight: 600;
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: var(--services-header-clearance);
    width: 24px;
    height: 32px;
    transform: translateX(-50%);
    color: var(--accent-color);
    opacity: 0.72;
    pointer-events: none;
    animation: hero-scroll-cue 2.4s ease-in-out infinite;
}

.hero-scroll-cue span {
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
}

@keyframes hero-scroll-cue {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, var(--card-stack-offset));
    }
}

/* Sections General */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 60px;
}

.sticky-scroll-section .section-title {
    margin-bottom: 8px;
}

.sticky-scroll-section .sticky-wrapper {
    justify-content: center;
    padding-top: 0;
    transform: none;
}

/* Timeline */
/* TIMELINE SECTION (SPLIT LAYOUT) */
.timeline-section {
    position: relative;
    padding: 0;
    height: var(--timeline-section-height, 300vh);
    background: var(--bg-color);
    margin-bottom: 0;
}

.timeline-container {
    position: sticky;
    top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
    overflow: hidden;
}

.timeline-header.sticky-header {
    position: relative;
    /* was sticky, but now the container is sticky */
    z-index: 10;
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.timeline-header-copy {
    transform: translateY(36px);
}

.timeline-header .section-title,
.timeline-header .section-subtitle {
    text-align: center;
}

.timeline-content {
    position: relative;
    padding-left: 0;
    will-change: transform;
    padding-top: 0;
    padding-bottom: 0;
    /* add some padding so cards have room to translate */
}

.timeline-line {
    position: absolute;
    left: 23px;
    /* 24px - 1px (half of 2px width) to center on 48px dot */
    top: 0;
    /* start above the first step number */
    bottom: 100px;
    width: 2px;
    background: color-mix(in srgb, var(--text-main) 10%, transparent);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px;
    /* controlled by JS */
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
    z-index: 2;
    transition: all 0.4s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Card Styling */
.timeline-item .timeline-card {
    opacity: 0.5;
    background-color: color-mix(in srgb, var(--bg-color) 70%, transparent) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    border: 1px solid color-mix(in srgb, var(--text-main) 5%, transparent);
}

.timeline-item.active .timeline-card {
    opacity: 1;
    transform: translateY(0);
    border-color: color-mix(in srgb, var(--text-main) 30%, transparent);
    box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--text-color) 5%, transparent);
}

.timeline-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    transition: all 0.6s ease;
}

.timeline-item.active .timeline-card h3 {
    text-shadow: 0 0 20px color-mix(in srgb, var(--text-color) 20%, transparent);
}

/* Dot Styling */
.timeline-dot {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(calc(-50% + 20px));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid color-mix(in srgb, var(--text-main) 10%, transparent);
    color: color-mix(in srgb, var(--text-main) 30%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 3;
    transition: all 0.4s ease;
}

.timeline-item.active .timeline-dot {
    transform: translateY(-50%);
    border-color: var(--text-color);
    color: var(--background-color);
    background-color: var(--text-color) !important;
    background: var(--text-color) !important;
    box-shadow: 0 0 15px var(--text-color);
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes border-spin-once {
    0% {
        --border-angle: 0deg;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        --border-angle: 360deg;
        opacity: 0;
    }
}


@keyframes border-neon-fade-in {

    0%,
    50% {
        border-color: color-mix(in srgb, var(--text-main) 30%, transparent);
        box-shadow: 0 10px 40px -10px color-mix(in srgb, var(--text-color) 5%, transparent);
    }

    90%,
    100% {
        border-color: var(--primary-neon);
        box-shadow: 0 0 20px -5px var(--primary-neon);
    }
}

.animate-border-glow .timeline-card {
    position: relative;
}

.animate-border-glow.active .timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: conic-gradient(from var(--border-angle), transparent 20%, color-mix(in srgb, var(--primary-neon) 20%, transparent) 60%, var(--primary-neon) 85%, transparent 100%);
    -webkit-mask: linear-gradient(var(--text-color) 0 0) content-box, linear-gradient(var(--text-color) 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(var(--text-color) 0 0) content-box, linear-gradient(var(--text-color) 0 0);
    mask-composite: exclude;
    z-index: 10;
    animation: border-spin-once 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
    opacity: 0;
}

.animate-border-glow.active .timeline-card {
    animation: border-neon-fade-in 1.5s ease-out forwards;
}


@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: color-mix(in srgb, var(--bg-color) 95%, transparent);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .timeline-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: clamp(210px, 32svh, 260px);
    }

    .timeline-header.sticky-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        min-height: auto;
        padding: 32px 16px 48px;
        background: linear-gradient(to bottom, var(--bg-color) 60%, transparent);
        justify-content: flex-start;
        pointer-events: none;
        /* Let clicks pass through if needed */
    }

    .timeline-header-copy {
        transform: none;
    }

    .timeline-header .section-title,
    .timeline-header .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .timeline-content {
        padding-left: 0;
    }

    .timeline-line {
        left: 24px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-dot {
        transition: none;
    }

    .sticky-scroll-section .sticky-wrapper {
        padding-top: 0;
    }

    .horizontal-scroll-track {
        padding: 0 0 12px;
    }
}

.services-section {
    --services-card-rail-top: calc(var(--navbar-height) + var(--services-sticky-header-height) + var(--services-header-clearance));
    padding: 72px 0;
    margin-bottom: calc(var(--navbar-height, 85px) - var(--services-card-rail-top) - var(--services-card-height) - 72px - 80px);
    position: relative;
}

.legal-page .services-section {
    margin-bottom: 0;
}

#champ-action .sticky-card {
    will-change: opacity;
}

/* Timeline Overlap All Devices */
.timeline-section {
    margin-top: calc(-100vh + var(--navbar-height));
    z-index: 10;
    box-shadow: 0 -30px 60px 10px var(--bg-color);
    /* Subtle top border/glow to separate */
    border-top: 1px solid color-mix(in srgb, var(--primary-neon) 10%, transparent);
}

/* Sticky Section Header */
.sticky-section-header {
    position: sticky;
    top: var(--navbar-height);
    z-index: 20;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-right: 24px;
    padding-left: 24px;
    background: transparent;
    isolation: isolate;
    padding-top: 40px;
    margin-top: -40px;
    padding-bottom: 24px;
    will-change: transform;
    box-shadow: none;
    min-height: auto;
}

.sticky-section-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--bg-color);
    pointer-events: none;
    opacity: 1;
}

.sticky-section-header>.orb-1 {
    top: var(--services-header-orb-offset);
    left: var(--services-header-orb-offset);
    width: var(--services-header-orb-size);
    height: var(--services-header-orb-size);
    filter: blur(96px);
    z-index: 1;
    opacity: calc(0.35 * var(--services-exit-opacity, 1));
}

.sticky-section-header .section-title,
.sticky-section-header .section-subtitle {
    opacity: var(--services-exit-opacity, 1);
    transition: none;
}

.sticky-section-header .section-title,
.sticky-section-header .section-subtitle {
    position: relative;
    z-index: 2;
}

.sticky-section-header .section-subtitle {
    margin-bottom: 0;
}

/* Sticky Card Stack */
.services-stack {
    display: block;
    margin-top: var(--services-header-clearance);
    padding-top: var(--services-header-clearance);
    position: relative;
    z-index: 1;
}

.services-stack::after {
    content: '';
    display: block;
    height: 100vh;
}

.services-stack .sticky-card {
    position: sticky;
    top: var(--services-card-rail-top, calc(var(--navbar-height) + var(--services-sticky-header-height) + var(--services-header-clearance)));
    z-index: 0;
    height: var(--services-card-height);
    margin-bottom: 40px;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.services-stack .service-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.services-stack .service-icon svg {
    width: 32px;
    height: 32px;
}

.services-stack .service-text {
    flex-grow: 1;
}

.services-stack .service-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.services-stack .service-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
}

@media (max-width: 768px) {
    .card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .services-stack .sticky-card {
        padding: 1.25rem 1rem;
        margin-bottom: 24px;
        height: var(--services-card-height);
    }

    .services-stack .service-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 0;
    }

    .services-stack .service-icon svg {
        width: 24px;
        height: 24px;
    }

    .services-stack .service-text h3 {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }

    .services-stack .service-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Base classes for cleaned inline styles */
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-main);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
}

.legal-content h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
    margin-top: 2rem;
    text-decoration: underline;
    color: var(--accent-color);
}

/* Sticky Scroll Animation for Approche */
.sticky-scroll-section {
    height: var(--sticky-scroll-height, 300vh);
    /* gives room to scroll */
    padding: 0;
    position: relative;
    background-color: var(--bg-color);
    z-index: 2;
}


.sticky-scroll-section .sticky-wrapper {
    position: sticky;
    top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
}



.horizontal-scroll-track {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 24px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 150px, black calc(100% - 150px), transparent);
    mask-image: linear-gradient(to right, transparent, black 150px, black calc(100% - 150px), transparent);
}

.horizontal-scroll-content {
    display: flex;
    gap: 32px;
    /* Center the first and last card in the track to avoid the blur */
    padding-left: calc(50% - 200px);
    padding-right: calc(50% - 200px);
    width: max-content;
    will-change: transform;
    /* Hardware acceleration */
    transform: translateZ(0);
}

.horizontal-scroll-content .service-card {
    width: 400px;
    flex-shrink: 0;
}

@media (min-width: 1200px) {
    .horizontal-scroll-content {
        /* On large screens, center the space between the first two cards (original behavior) */
        padding-left: max(24px, calc(50% - 416px));
        padding-right: calc(50% - 200px);
    }
}

.nav-link.active {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .services-section {
        --services-card-height: 250px;
        padding: 56px 0;
        margin-bottom: calc(var(--navbar-height, 85px) - var(--services-card-rail-top) - var(--services-card-height) - 56px - 80px);
    }

    .legal-page .services-section {
        margin-bottom: 0;
    }

    .horizontal-scroll-track {
        mask-image: none;
        -webkit-mask-image: none;
        padding: 0;
    }

    .horizontal-scroll-content {
        display: flex;
        gap: 24px;
        padding-top: 12px;
        padding-bottom: 0;
        padding-left: calc(50vw - 42.5vw);
        padding-right: calc(50vw - 42.5vw);
        width: max-content;
    }

    .horizontal-scroll-content .service-card {
        width: 85vw;
        flex-shrink: 0;
    }
}

.service-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--primary-neon) 30%, transparent);
    box-shadow: 0 15px 30px color-mix(in srgb, var(--background-color) 40%, transparent), 0 0 20px color-mix(in srgb, var(--primary-neon) 5%, transparent);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary-neon) 10%, transparent);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}



.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    position: relative;
    z-index: 30;
    isolation: isolate;
    background: var(--footer-curtain-color);
    box-shadow: 0 -44px 90px color-mix(in srgb, var(--bg-color) 90%, transparent);
    min-height: calc(100svh - var(--navbar-height));
    display: grid;
}

.footer.footer--static {
    box-shadow: none;
}

.footer .container {
    flex-grow: 1;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
}

dmg-footer-cta {
    display: block;
    position: relative;
    width: 100%;
    grid-row: 2;
}

dmg-footer-cta[layout="static"] {
    margin: 0 auto;
}

.footer-cta {
    margin-bottom: 0;
    border-color: color-mix(in srgb, var(--primary-neon) 45%, transparent);
    box-shadow: 0 0 28px color-mix(in srgb, var(--primary-neon) 14%, transparent);
}

.footer-cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.footer-cta p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.footer-bottom {
    grid-row: 3;
    margin-top: auto;
    margin-bottom: var(--footer-padding-bottom);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid color-mix(in srgb, var(--text-color) 5%, transparent);
    padding-top: 24px;
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .glow-orb {
        animation: none !important;
    }

    .hero-scroll-cue {
        animation: none !important;
        opacity: 0.72;
    }

    .sticky-section-header .section-title,
    .sticky-section-header .section-subtitle {
        opacity: 1 !important;
    }

    .services-stack .sticky-card {
        transition: none !important;
    }

    .footer {
        --footer-surface-progress: 1 !important;
        --footer-surface-reveal: 0% !important;
        --footer-cta-progress: 1 !important;
        --footer-cta-shift: 0px !important;
        --footer-cta-edge-strength: 45% !important;
        --footer-cta-glow-strength: 14% !important;
        --footer-cta-glow-size: 28px !important;
        --footer-legal-progress: 1 !important;
        --footer-legal-shift: 0px !important;
    }

    .footer::before,
    .footer .container,
    .footer-cta,
    .footer-bottom {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: var(--hero-fold-height, calc(100svh - var(--navbar-height)));
        padding: 40px 0 32px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.05;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 28px;
    }

    .section-title {
        font-size: 2.1rem;
        line-height: 1.1;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 40px;
    }

    .sticky-scroll-section .section-title {
        margin-bottom: 4px;
    }
}
