:root {
    --forest: #123f35;
    --forest2: #0b2e28;
    --emerald: #168b67;
    --mint: #dff5eb;
    --ink: #12211d;
}
.inner-main {
    padding-top: 118px;
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: 0.65s ease;
}
.reveal-stagger.visible > * {
    opacity: 1;
    transform: none;
}
.reveal-stagger.visible > *:nth-child(2) {
    transition-delay: 0.08s;
}
.reveal-stagger.visible > *:nth-child(3) {
    transition-delay: 0.16s;
}
.reveal-stagger.visible > *:nth-child(4) {
    transition-delay: 0.24s;
}
.reveal-stagger.visible > *:nth-child(5) {
    transition-delay: 0.32s;
}
.reveal-stagger.visible > *:nth-child(6) {
    transition-delay: 0.4s;
}
.hero-grain:after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.icon-shell {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 18px;
    background: var(--mint);
    color: var(--forest);
}
.icon-shell svg {
    width: 23px;
    height: 23px;
}
.hover-rise {
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}
.hover-rise:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 65px rgba(17, 61, 51, 0.15);
}
.content-prose p {
    margin-top: 1.15rem;
    color: #5b6b66;
    line-height: 2;
}
.content-prose ul,
.content-prose ol {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.35rem;
}
.content-prose li {
    position: relative;
    padding-left: 1.55rem;
    color: #52635d;
    line-height: 1.8;
}
.content-prose ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--emerald);
}
.content-prose ol {
    counter-reset: item;
}
.content-prose ol li {
    counter-increment: item;
}
.content-prose ol li:before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--emerald);
}
.content-prose h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--forest);
}
.tech-orbit {
    position: relative;
    display: grid;
    aspect-ratio: 1;
    place-items: center;
}
.tech-orbit:before,
.tech-orbit:after {
    content: '';
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    animation: spin 28s linear infinite;
}
.tech-orbit:before {
    inset: 7%;
}
.tech-orbit:after {
    inset: 20%;
    animation-direction: reverse;
    animation-duration: 19s;
}
.tech-orbit-dot {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 3px solid white;
    border-radius: 50%;
    background: #4fd1a4;
    box-shadow: 0 0 0 8px rgba(79, 209, 164, 0.12);
    animation: pulse 2.3s ease-in-out infinite;
}
.network-ring {
    position: relative;
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    border: 1px dashed rgba(22, 139, 103, 0.25);
    border-radius: 50%;
    animation: spin 38s linear infinite;
}
.network-ring > * {
    animation: spin 38s linear infinite reverse;
}
.timeline-line {
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(var(--emerald), transparent);
}
.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.16);
}
.metric-grid > div {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.4rem;
}
.article-accordion summary {
    list-style: none;
}
.article-accordion summary::-webkit-details-marker {
    display: none;
}
.article-accordion[open] .accordion-chevron {
    transform: rotate(180deg);
}
.article-accordion[open] {
    box-shadow: 0 25px 70px rgba(17, 61, 51, 0.1);
}
.service-number {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.8;
    color: rgba(22, 139, 103, 0.09);
    letter-spacing: -0.08em;
}
.sticky-aside {
    position: sticky;
    top: 140px;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}
.marquee-track span {
    padding-inline: 2rem;
}
.glow {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 30px 90px rgba(0, 0, 0, 0.22);
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes pulse {
    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}
@media (max-width: 1279px) {
    .inner-main {
        padding-top: 105px;
    }
}
@media (max-width: 767px) {
    .inner-main {
        padding-top: 96px;
    }
    .sticky-aside {
        position: static;
    }
    .metric-grid {
        grid-template-columns: 1fr;
    }
    .content-prose p {
        line-height: 1.85;
    }
    .service-number {
        font-size: 4.6rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal,
    .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }
}
.ajax-form-status {
    margin: 0 0 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.6;
}

.ajax-form-status[hidden] {
    display: none;
}

.ajax-form-status[data-state='success'] {
    border-color: #9ed8bd;
    background: #e9f8f0;
    color: #0b5b48;
}

.ajax-form-status[data-state='error'] {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

[data-ajax-contact] button[type='submit']:disabled {
    cursor: wait;
    opacity: 0.62;
}
