html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html { scroll-behavior: auto; }

html body { cursor: auto; }
html a, html button { cursor: pointer; }

.custom-cursor-follower {
    transform: none;
    transition: width .3s ease, height .3s ease, border-color .3s ease, background .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-cursor-follower::after {
    content: attr(data-label);
    font: 600 .65rem var(--font-body);
    letter-spacing: .15em;
    color: var(--accent-lime);
}
.custom-cursor-follower.hover { width: 56px; height: 56px; }
.custom-cursor-follower.hover[data-label]:not([data-label=""]) {
    width: 84px;
    height: 84px;
    background: rgba(185, 243, 107, .08);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-lime);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 200;
    pointer-events: none;
}

.site-header { transition: padding .4s ease, background .4s ease, transform .5s cubic-bezier(.2, .9, .3, 1); }
.site-header.hide { transform: translateY(-100%); }

.word { display: inline-block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; vertical-align: top; }
.char { display: inline-block; will-change: transform; }
.hero-headline em { overflow: visible; }

.hero-headline em::after { animation: none; transition: transform 1s cubic-bezier(.2, .9, .3, 1); }
.hero-headline em.is-in::after { transform: scaleX(1); }

.hero-visual-abstract { top: 50%; margin-top: -250px; transform: none; }
@media (max-width: 968px) { .hero-visual-abstract { margin-top: -175px; } }

.btn-primary, .btn-secondary, .nav-cta {
    transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.btn-primary:hover, .btn-secondary:hover, .nav-cta:hover { transform: none; }
.service-card { transition: border-color .4s ease; }
.service-card:hover, .portfolio-item:hover { transform: none; }
.portfolio-item { transition: none; }

.service-glow {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(185, 243, 107, .18) 0%, transparent 45%);
}

.marquee {
    overflow: hidden;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
    background: var(--bg-deep);
}
.marquee-track { display: flex; width: max-content; align-items: center; }
.marquee-track span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(243, 245, 247, .35);
    padding: 0 1.75rem;
    white-space: nowrap;
}
.marquee-track i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-lime);
    flex: none;
    box-shadow: 0 0 20px var(--accent-lime);
}

.logo-svg { height: 32px; }
.footer-logo .logo-svg { height: 28px; }

.hero-container { max-width: 900px; }
.hero-badge { font-size: .72rem; }
.hero-headline {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.015em;
    margin-bottom: 1.5rem;
}
.hero-sub { font-size: 1.05rem; max-width: 560px; }

.section-tag { font-size: .75rem; margin-bottom: 1.25rem; }
.section-title {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 3rem;
}
.manifesto-text {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 1.25;
    max-width: 960px;
}
.cta-title {
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    line-height: 1.1;
}
.cta-sub { font-size: 1.05rem; }

.service-card h3,
.portfolio-item h3,
.process-step h3 { font-size: 1.35rem; line-height: 1.2; }
.service-card p,
.portfolio-item p,
.process-step p { font-size: .95rem; line-height: 1.6; }
.service-number { font-size: 1rem; margin-bottom: 1.5rem; }
.process-number { font-size: .85rem; }

.stat-number { font-size: clamp(2.5rem, 4.5vw, 3.75rem); }
.stat-label { font-size: .85rem; }

.manifesto-section,
.services-section,
.portfolio-section,
.cta-section { padding: clamp(5rem, 9vw, 8rem) 5%; }
.stats-section { padding: clamp(4rem, 7vw, 6rem) 5%; }
.process-section { padding: clamp(5rem, 9vw, 8rem) 5%; }

@media (min-width: 969px) {
    .process-section { padding: 6rem 5%; overflow: hidden; min-height: 100vh; }
    .process-section .section-title { margin-bottom: 2rem; }
    .process-timeline { display: flex; gap: 2rem; width: max-content; }
    .process-step { width: 340px; flex: none; }
    .process-step:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .marquee-track { transform: none !important; }
}

html.modal-open { overflow: hidden; }

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.contact-modal.is-open { display: flex; }
.contact-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 12, 18, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.contact-panel {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 2.5rem 2rem 2rem;
    background: var(--bg-graphite);
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.contact-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-tech);
    border-radius: 50%;
    transition: color .3s ease, border-color .3s ease;
}
.contact-close:hover { color: var(--text-white); border-color: var(--accent-lime); }
.contact-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1.15;
    margin-bottom: .75rem;
    padding-right: 2.5rem;
}
.contact-sub {
    color: var(--text-tech);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}
.contact-options { display: grid; gap: .85rem; }
.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, .02);
    color: var(--text-white);
    text-decoration: none;
    transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.contact-option:hover,
.contact-option:focus-visible {
    background: rgba(185, 243, 107, .06);
    outline: none;
}
.contact-icon {
    width: 46px;
    height: 46px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(185, 243, 107, .1);
    color: var(--accent-lime);
}
.contact-text { display: flex; flex-direction: column; gap: .15rem; }
.contact-text strong { font-size: 1rem; font-weight: 600; }
.contact-text small { color: var(--text-tech); font-size: .85rem; }
.contact-close:focus-visible { outline: 2px solid var(--accent-lime); outline-offset: 2px; }