/* ================================================================
   AMMAS GRAPHIC — Core Styles
   ================================================================ */

/* ----------------------------------------------------------------
   Design tokens
   ---------------------------------------------------------------- */
:root {
    --primary: #6C3CE1;
    --primary-dark: #5529B8;
    --primary-light: #8B5CF6;
    --secondary: #FF6B35;
    --secondary-light: #FF8C5A;
    --dark: #1A1A2E;
    --darker: #0F0F1A;
    --white: #FFFFFF;
    --light-bg: #F5F3FF;
    --gray-text: #B8B8D0;
    --gray-dark: #626278;
    --gray-light: #E9E6F4;
    --success: #25D366;
    --gold: #FFC857;
    --gradient-purple: linear-gradient(135deg, #6C3CE1, #8B5CF6);
    --gradient-orange: linear-gradient(135deg, #FF6B35, #FF8C5A);
    --gradient-hero: linear-gradient(135deg, #1A1A2E 0%, #2D1B69 50%, #1A1A2E 100%);
    --gradient-dark: linear-gradient(145deg, #22223B, #151526);
    --font-heading: 'Bebas Neue', sans-serif;
    --font-subheading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container: 1200px;
    --nav-height: 78px;
    --section-space: 80px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --shadow-sm: 0 8px 24px rgba(36, 27, 71, 0.08);
    --shadow-md: 0 18px 45px rgba(36, 27, 71, 0.14);
    --shadow-lg: 0 28px 70px rgba(10, 8, 25, 0.32);
    --transition-fast: 180ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------------------------------------------
   Reset and document defaults
   ---------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--light-bg);
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
    overflow: hidden;
}

main {
    display: block;
}

section {
    position: relative;
    padding: var(--section-space) 0;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

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

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 0.98;
}

h3,
h4 {
    font-family: var(--font-subheading);
    font-weight: 700;
    line-height: 1.3;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    border: 2px solid var(--darker);
    border-radius: 8px;
    background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 4px;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ----------------------------------------------------------------
   Reusable headings
   ---------------------------------------------------------------- */
.section-heading {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 16px;
    color: var(--dark);
    font-size: clamp(3rem, 5vw, 3.75rem);
}

.section-heading p {
    margin-bottom: 0;
    color: var(--gray-dark);
    font-size: 18px;
    line-height: 1.65;
}

.section-heading--light h2 {
    color: var(--white);
}

.section-heading--light p {
    color: var(--gray-text);
}

.typewriter-heading {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    min-width: 2px;
    margin-right: auto;
    margin-left: auto;
}

.typewriter-heading::after {
    display: inline-block;
    width: 3px;
    height: 0.72em;
    margin-left: 0.08em;
    border-radius: 3px;
    background: var(--secondary);
    content: '';
    opacity: 0;
    transform: translateY(0.04em);
    transition: opacity 350ms ease-out;
}

.typewriter-heading.is-typing::after {
    opacity: 1;
    animation: typewriterCursor 850ms ease-in-out infinite;
}

.typewriter-heading.typing-complete::after {
    opacity: 0;
    animation: none;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--secondary);
    font-family: var(--font-subheading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.section-kicker::before,
.section-kicker::after {
    width: 22px;
    height: 2px;
    border-radius: 3px;
    background: currentColor;
    content: '';
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.button {
    position: relative;
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-subheading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transition: color var(--transition-base),
                background var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base),
                transform var(--transition-base);
}

.button::before {
    position: absolute;
    top: -50%;
    left: -80%;
    width: 50%;
    height: 200%;
    transform: rotate(24deg);
    background: rgba(255, 255, 255, 0.22);
    content: '';
    transition: left 500ms ease;
}

.button:hover::before {
    left: 130%;
}

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

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

.button--large {
    min-height: 56px;
    padding: 0 31px;
    font-size: 14px;
}

.button--orange {
    padding: 0 24px;
    background: var(--gradient-orange);
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.25);
    color: var(--white);
}

.button--orange:hover {
    box-shadow: 0 15px 32px rgba(255, 107, 53, 0.4);
}

.button--purple {
    padding: 0 26px;
    background: var(--gradient-purple);
    box-shadow: 0 10px 24px rgba(108, 60, 225, 0.25);
    color: var(--white);
}

.button--purple:hover {
    box-shadow: 0 15px 32px rgba(108, 60, 225, 0.38);
}

.button--outline {
    padding: 0 30px;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.button--outline:hover {
    border-color: var(--secondary);
    background: rgba(255, 107, 53, 0.1);
}

.button--white {
    padding: 0 32px;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(15, 15, 26, 0.2);
    color: var(--primary-dark);
}

.button--white:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 42px rgba(15, 15, 26, 0.28);
}

/* ----------------------------------------------------------------
   Fixed navigation
   ---------------------------------------------------------------- */
.navbar {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--nav-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 26, 0.36);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: height var(--transition-base),
                background var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base);
}

.navbar.scrolled {
    height: 68px;
    border-color: rgba(255, 255, 255, 0.04);
    background: rgba(15, 15, 26, 0.97);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
}

.navbar__inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 27px;
    letter-spacing: 1.4px;
    line-height: 1;
}

.brand__icon {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
    transform: rotate(-7deg);
    transition: transform var(--transition-base);
}

.brand:hover .brand__icon {
    transform: rotate(8deg) scale(1.08);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link::after {
    position: absolute;
    right: 50%;
    bottom: 3px;
    left: 50%;
    height: 2px;
    border-radius: 3px;
    background: var(--secondary);
    content: '';
    transition: right var(--transition-base),
                left var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    right: 0;
    left: 0;
}

.navbar__cta {
    min-height: 42px;
    padding-right: 21px;
    padding-left: 21px;
    font-size: 11px;
}

.hamburger {
    position: relative;
    z-index: 1002;
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px 9px;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 3px;
    background: var(--white);
    transform-origin: center;
    transition: opacity var(--transition-base),
                transform var(--transition-base);
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    z-index: 999;
    inset: 0;
    display: flex;
    padding: calc(var(--nav-height) + 35px) 24px 36px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 26, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity var(--transition-base),
                visibility var(--transition-base),
                transform var(--transition-base);
}

.mobile-menu::before {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 60, 225, 0.2), transparent 68%);
    content: '';
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu__nav {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(420px, 100%);
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    text-align: center;
}

.mobile-nav-link {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    letter-spacing: 2px;
    line-height: 1;
    transition: color var(--transition-fast),
                transform var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--secondary);
    transform: translateX(5px);
}

.mobile-menu__nav .button {
    width: min(230px, 100%);
    margin: 18px auto 0;
}

.mobile-menu__note {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 22px;
    left: 20px;
    margin: 0;
    color: var(--gray-text);
    font-size: 12px;
    text-align: center;
}

/* ----------------------------------------------------------------
   Hero section
   ---------------------------------------------------------------- */
.hero {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: var(--nav-height);
    padding-bottom: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
    isolation: isolate;
}

.hero::before {
    position: absolute;
    z-index: -1;
    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: 55px 55px;
    content: '';
    transform-origin: center;
    animation: heroGridDrift 24s ease-in-out infinite alternate;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 70%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 25%, black 70%, transparent);
}

.hero::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: -20%;
    left: 0;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(108, 60, 225, 0.22), transparent 68%);
    content: '';
    animation: heroAmbientGlow 18s ease-in-out infinite alternate;
}

.hero__background {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    transform-origin: center;
    animation: heroDepthZoom 24s ease-in-out infinite alternate;
}

.hero-shape {
    position: absolute;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
    will-change: transform;
}

.hero-shape--one {
    top: 15%;
    left: 7%;
    width: 150px;
    height: 150px;
    border-radius: 42% 58% 56% 44% / 46% 43% 57% 54%;
    animation: heroGeometryDriftOne 18s ease-in-out infinite alternate;
}

.hero-shape--two {
    right: 4%;
    bottom: 12%;
    width: 210px;
    height: 210px;
    border-color: rgba(255, 107, 53, 0.08);
    border-radius: 48% 52% 45% 55% / 54% 47% 53% 46%;
    animation: heroGeometryDriftTwo 22s ease-in-out infinite alternate;
}

.hero-shape--three {
    top: 24%;
    right: 20%;
    width: 55px;
    height: 55px;
    border-color: rgba(255, 107, 53, 0.2);
    background: transparent;
    transform: rotate(45deg);
    opacity: 0.55;
    animation: heroGeometryDriftThree 20s ease-in-out infinite alternate;
}

.hero-shape--four {
    bottom: 18%;
    left: 20%;
    width: 35px;
    height: 35px;
    border: 2px solid rgba(139, 92, 246, 0.16);
    border-radius: 50%;
    background: transparent;
    animation: heroGeometryDriftFour 16s ease-in-out infinite alternate;
}

.dot-field {
    position: absolute;
    width: 120px;
    height: 90px;
    opacity: 0.12;
    background-image: radial-gradient(circle, var(--white) 1.2px, transparent 1.6px);
    background-size: 15px 15px;
    will-change: transform, opacity;
}

.dot-field--one {
    top: 14%;
    right: 8%;
    transform: rotate(12deg);
    animation: heroParticlesOne 19s ease-in-out infinite alternate;
}

.dot-field--two {
    bottom: 12%;
    left: 6%;
    transform: rotate(-12deg);
    animation: heroParticlesTwo 23s ease-in-out infinite alternate;
}

.floating-icon {
    position: absolute;
    z-index: 1;
    width: 70px;
    height: 70px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(15, 15, 26, 0.16);
    color: rgba(255, 255, 255, 0.18);
    pointer-events: none;
    transition: transform 180ms linear;
    will-change: transform;
}

.floating-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.floating-icon--brush {
    top: 22%;
    left: 4%;
    animation: heroIconFloat 13s ease-in-out infinite alternate;
}

.floating-icon--pen {
    top: 20%;
    right: 5%;
    width: 63px;
    height: 63px;
    color: rgba(255, 107, 53, 0.18);
    animation: heroIconFloat 16s ease-in-out 1s infinite alternate-reverse;
}

.floating-icon--wheel {
    bottom: 18%;
    left: 5%;
    width: 76px;
    height: 76px;
    color: rgba(139, 92, 246, 0.2);
    animation: heroIconFloat 18s ease-in-out 0.5s infinite alternate;
}

.floating-icon--bulb {
    right: 5%;
    bottom: 20%;
    animation: heroIconFloat 15s ease-in-out 1.4s infinite alternate-reverse;
}

.hero__content {
    display: grid;
    min-height: calc(100vh - var(--nav-height));
    min-height: calc(100svh - var(--nav-height));
    max-width: var(--container);
    grid-template-columns: minmax(400px, 0.92fr) minmax(460px, 1.08fr);
    align-items: center;
    text-align: left;
}

.hero__copy {
    position: relative;
    z-index: 5;
    max-width: 620px;
    padding: 45px 0 92px;
}

.hero__team-visual {
    position: relative;
    z-index: 2;
    align-self: stretch;
    min-width: 0;
    pointer-events: none;
    will-change: opacity, transform;
}

.hero__team-visual::before {
    position: absolute;
    z-index: 0;
    top: 17%;
    left: -18%;
    width: min(62vw, 820px);
    height: min(62vw, 820px);
    border-radius: 50%;
    background: radial-gradient(
        circle at 55% 48%,
        rgba(255, 107, 53, 0.36) 0%,
        rgba(139, 92, 246, 0.32) 24%,
        rgba(108, 60, 225, 0.18) 47%,
        transparent 70%
    );
    content: '';
    filter: blur(6px);
}

.hero__team-visual::after {
    position: absolute;
    z-index: 1;
    right: -24%;
    bottom: -18%;
    width: 82%;
    height: 72%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 74, 45, 0.2), transparent 68%);
    content: '';
    filter: blur(14px);
}

.hero__team-image {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 50%;
    width: auto;
    max-width: none;
    height: min(86vh, 850px);
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 24px 35px rgba(0, 0, 0, 0.34));
    transform: translateX(-48%);
}

.hero__eyebrow {
    margin-bottom: -6px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 5.4vw, 4.8rem);
    letter-spacing: 2px;
    line-height: 1;
    will-change: opacity, transform;
}

.hero__title {
    margin: 0;
    color: var(--secondary);
    font-size: clamp(6rem, 9vw, 8rem);
    letter-spacing: 5px;
    line-height: 0.78;
    text-shadow: 0 0 18px rgba(255, 107, 53, 0.35),
                 0 0 55px rgba(255, 107, 53, 0.18);
    transform-origin: left center;
    will-change: opacity, transform, text-shadow;
}

.hero__with {
    display: flex;
    width: fit-content;
    margin: 17px 0 5px;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 40px;
    letter-spacing: 8px;
    line-height: 1;
    will-change: opacity;
}

.hero__with::before,
.hero__with::after {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7));
    content: '';
    will-change: transform, opacity;
}

.hero__with::before {
    transform-origin: right center;
}

.hero__with::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent);
    transform-origin: left center;
}

.hero__headline {
    margin-bottom: 18px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.65rem);
    letter-spacing: 2px;
    line-height: 1.08;
    will-change: clip-path, opacity, transform;
}

.hero__subtitle {
    margin-bottom: 30px;
    color: var(--gray-text);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    will-change: opacity, transform;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    will-change: opacity, transform;
}

.scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 23px;
    left: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255, 255, 255, 0.58);
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--secondary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform var(--transition-base),
                opacity var(--transition-base);
}

.scroll-indicator:hover svg {
    opacity: 0.8;
    transform: translateY(3px);
}

/* JavaScript applies these classes immediately so the hero entrance starts
   without delaying the first page view. */
.hero-entrance-pending .hero__eyebrow {
    opacity: 0;
    transform: translateY(18px);
}

.hero-entrance-pending .hero__title {
    opacity: 0;
    transform: scale(0.95);
    text-shadow: 0 0 0 rgba(255, 107, 53, 0);
}

.hero-entrance-pending .hero__with {
    opacity: 0;
}

.hero-entrance-pending .hero__with::before,
.hero-entrance-pending .hero__with::after {
    opacity: 0;
    transform: scaleX(0);
}

.hero-entrance-pending .hero__headline {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-8px);
}

.hero-entrance-pending .hero__subtitle {
    opacity: 0;
    transform: translateY(8px);
}

.hero-entrance-pending .hero__actions {
    opacity: 0;
    transform: translateY(10px);
}

.hero-entrance-pending .scroll-indicator {
    opacity: 0;
}

.hero-entrance-pending .hero__team-visual {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
}

.hero-entrance-pending.hero-animations-ready .hero__eyebrow {
    animation: heroHeadingFadeUp 800ms ease-out 150ms both;
}

.hero-entrance-pending.hero-animations-ready .hero__title {
    animation: heroBrandReveal 900ms ease-out 450ms both;
}

.hero-entrance-pending.hero-animations-ready .hero__with {
    animation: heroSoftFade 650ms ease-out 850ms both;
}

.hero-entrance-pending.hero-animations-ready .hero__with::before,
.hero-entrance-pending.hero-animations-ready .hero__with::after {
    animation: heroLineExpand 750ms ease-out 950ms both;
}

.hero-entrance-pending.hero-animations-ready .hero__headline {
    animation: heroTextReveal 950ms ease-out 1150ms both;
}

.hero-entrance-pending.hero-animations-ready .hero__subtitle {
    animation: heroTaglineFade 700ms ease-out 1750ms both;
}

.hero-entrance-pending.hero-animations-ready .hero__actions {
    animation: heroActionsFade 700ms ease-out 2050ms both;
}

.hero-entrance-pending.hero-animations-ready .scroll-indicator {
    animation: heroSoftFade 600ms ease-out 2350ms both;
}

.hero-entrance-pending.hero-animations-ready .hero__team-visual {
    animation: heroTeamReveal 1300ms ease-out 350ms both;
}

/* ----------------------------------------------------------------
   Services
   ---------------------------------------------------------------- */
.services {
    overflow: hidden;
}

.services::before {
    position: absolute;
    top: -110px;
    right: -90px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 60, 225, 0.08), transparent 70%);
    content: '';
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    position: relative;
    min-height: 280px;
    padding: 30px 24px 27px;
    overflow: hidden;
    border: 1px solid rgba(108, 60, 225, 0.08);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base);
}

.service-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-purple);
    content: '';
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
}

.service-card::after {
    position: absolute;
    right: -45px;
    bottom: -60px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(108, 60, 225, 0.035);
    content: '';
    transition: transform var(--transition-slow),
                background var(--transition-slow);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    transform: scale(1.35);
}

/* Each service keeps its own recognizable color identity. */
.service-card:nth-child(1) {
    --service-icon-bg: linear-gradient(135deg, #FF9A00, #F15A24);
    --service-icon-shadow: rgba(255, 122, 20, 0.3);
}

.service-card:nth-child(2) {
    --service-icon-bg: linear-gradient(135deg, #833AB4 0%, #E1306C 52%, #F77737 100%);
    --service-icon-shadow: rgba(225, 48, 108, 0.3);
}

.service-card:nth-child(3) {
    --service-icon-bg: linear-gradient(135deg, #0A66C2, #00A3E0);
    --service-icon-shadow: rgba(10, 102, 194, 0.3);
}

.service-card:nth-child(4) {
    --service-icon-bg: linear-gradient(135deg, #EC1C24, #C9141B);
    --service-icon-shadow: rgba(236, 28, 36, 0.28);
}

.service-card:nth-child(5) {
    --service-icon-bg: linear-gradient(135deg, #00A86B, #00C2A8);
    --service-icon-shadow: rgba(0, 168, 107, 0.28);
}

.service-card:nth-child(6) {
    --service-icon-bg: linear-gradient(135deg, #C87941, #8B5A2B);
    --service-icon-shadow: rgba(174, 101, 49, 0.3);
}

.service-card:nth-child(7) {
    --service-icon-bg: linear-gradient(135deg, #0067B1, #00A4EF);
    --service-icon-shadow: rgba(0, 120, 190, 0.3);
}

.service-card:nth-child(8) {
    --service-icon-bg: linear-gradient(135deg, #FF0000, #CC0000);
    --service-icon-shadow: rgba(255, 0, 0, 0.28);
}

.service-card__icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 23px;
    place-items: center;
    border-radius: 23px;
    background: var(--service-icon-bg, var(--gradient-purple));
    box-shadow: 0 10px 25px var(--service-icon-shadow, rgba(108, 60, 225, 0.25));
    color: var(--white);
    transform: rotate(-3deg);
    transition: box-shadow var(--transition-base),
                transform var(--transition-base);
}

.service-card__icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.service-card:hover .service-card__icon {
    box-shadow: 0 16px 32px var(--service-icon-shadow, rgba(108, 60, 225, 0.3));
    transform: translateY(-4px) rotate(-3deg) scale(1.06);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 11px;
    color: var(--dark);
    font-size: 19px;
}

.service-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: var(--gray-dark);
    font-size: 14px;
    line-height: 1.65;
}

/* ----------------------------------------------------------------
   Portfolio
   ---------------------------------------------------------------- */
.portfolio {
    overflow: hidden;
    background: var(--dark);
}

.portfolio::before {
    position: absolute;
    top: -180px;
    left: -180px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 60, 225, 0.17), transparent 69%);
    content: '';
}

.portfolio-filters {
    display: flex;
    margin: -8px 0 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.filter-button {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-pill);
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    font-family: var(--font-subheading);
    font-size: 12px;
    font-weight: 600;
    transition: background var(--transition-base),
                border-color var(--transition-base),
                color var(--transition-base),
                transform var(--transition-base);
}

.filter-button:hover {
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-button.active {
    border-color: var(--secondary);
    background: var(--secondary);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.28);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: #272640;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    aspect-ratio: 1 / 1;
    transition: border-color var(--transition-base),
                box-shadow var(--transition-base),
                opacity 400ms ease,
                transform var(--transition-base);
}

.portfolio-item:hover {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
    transform: translateY(-6px);
}

.portfolio-item.is-hiding {
    opacity: 0;
    transform: scale(0.88);
}

.portfolio-item.is-hidden {
    display: none;
}

.portfolio-item.is-showing {
    animation: scaleIn 450ms ease both;
}

.portfolio-visual {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #6C3CE1, #D946EF);
    transition: filter var(--transition-slow),
                transform var(--transition-slow);
}

.portfolio-visual::before {
    position: absolute;
    top: -30%;
    left: -20%;
    width: 80%;
    height: 80%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    content: '';
}

.portfolio-visual::after {
    position: absolute;
    right: -20%;
    bottom: -35%;
    width: 85%;
    height: 85%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40% 60% 50% 45%;
    background: rgba(15, 15, 26, 0.08);
    content: '';
}

.portfolio-visual--image::before,
.portfolio-visual--image::after {
    display: none;
}

.portfolio-visual__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portfolio-visual--branding {
    background: linear-gradient(135deg, #1D4ED8, #22D3EE);
}

.portfolio-visual--social {
    background: linear-gradient(135deg, #F97316, #FACC15);
}

.portfolio-visual--print {
    background: linear-gradient(135deg, #059669, #2DD4BF);
}

.portfolio-visual--alt-one {
    background: linear-gradient(135deg, #7C3AED, #EC4899);
}

.portfolio-visual--alt-two {
    background: linear-gradient(135deg, #2563EB, #67E8F9);
}

.portfolio-visual--alt-three {
    background: linear-gradient(135deg, #EA580C, #FDE047);
}

.portfolio-visual--alt-four {
    background: linear-gradient(135deg, #047857, #5EEAD4);
}

.portfolio-visual--alt-five {
    background: linear-gradient(135deg, #1E40AF, #06B6D4);
}

.portfolio-visual__label {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: -9px;
    color: rgba(255, 255, 255, 0.12);
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 6rem);
    letter-spacing: 2px;
    line-height: 1;
}

.portfolio-visual > svg {
    position: relative;
    z-index: 2;
    width: 37%;
    max-width: 125px;
    min-width: 82px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.92);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
}

.portfolio-item:hover .portfolio-visual {
    filter: saturate(1.1);
    transform: scale(1.06);
}

.portfolio-item__overlay {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 44%;
    padding: 52px 22px 22px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(to top, rgba(10, 8, 25, 0.96), rgba(10, 8, 25, 0.74) 55%, transparent);
    opacity: 0;
    transform: translateY(45%);
    transition: opacity var(--transition-base),
                transform var(--transition-base);
}

.portfolio-item:hover .portfolio-item__overlay,
.portfolio-item:focus .portfolio-item__overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item__overlay span {
    display: block;
    margin-bottom: 4px;
    color: var(--secondary-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.portfolio-item__overlay h3 {
    margin-bottom: 0;
    color: var(--white);
    font-size: 18px;
}

.portfolio-item__view {
    display: grid !important;
    width: 43px;
    height: 43px;
    margin: 0 !important;
    flex: 0 0 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white) !important;
    backdrop-filter: blur(5px);
}

.portfolio-item__view svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ----------------------------------------------------------------
   About and statistics
   ---------------------------------------------------------------- */
.about {
    overflow: hidden;
}

.about::before {
    position: absolute;
    top: 35%;
    left: -160px;
    width: 330px;
    height: 330px;
    border: 50px solid rgba(108, 60, 225, 0.025);
    border-radius: 50%;
    content: '';
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
    align-items: center;
    gap: 70px;
}

.about-copy h2 {
    margin-bottom: 24px;
    color: var(--dark);
    font-size: clamp(3.2rem, 5vw, 4rem);
}

.about-copy > p {
    max-width: 700px;
    margin-bottom: 32px;
    color: #56566B;
    font-size: 16px;
    line-height: 1.85;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat {
    position: relative;
    padding: 18px 12px;
    overflow: hidden;
    border: 1px solid rgba(108, 60, 225, 0.09);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat::after {
    position: absolute;
    right: -14px;
    bottom: -20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(108, 60, 225, 0.05);
    content: '';
}

.stat strong {
    display: block;
    margin-bottom: 3px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
}

.stat > span {
    display: block;
    color: var(--gray-dark);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

/* ----------------------------------------------------------------
   CSS monitor illustration
   ---------------------------------------------------------------- */
.monitor-scene {
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 900px;
}

.monitor-glow {
    position: absolute;
    z-index: -1;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 60, 225, 0.3), rgba(108, 60, 225, 0.08) 45%, transparent 70%);
    filter: blur(6px);
}

.monitor {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 14px 14px 18px;
    border: 1px solid #4A4A5E;
    border-radius: 20px;
    background: linear-gradient(145deg, #454558, #222231);
    box-shadow: 18px 25px 50px rgba(15, 15, 26, 0.28),
                inset 2px 2px 4px rgba(255, 255, 255, 0.12),
                inset -3px -3px 5px rgba(0, 0, 0, 0.25);
    transform: rotateY(-4deg) rotateX(1deg);
}

.monitor__camera {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0B0B13;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
}

.monitor__screen {
    position: relative;
    display: flex;
    min-height: 250px;
    padding: 34px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-radius: 9px;
    background: linear-gradient(135deg, #111124, #25205B 60%, #17152E);
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.35);
}

.monitor__screen::before {
    position: absolute;
    top: -40%;
    right: -22%;
    width: 75%;
    height: 120%;
    border-radius: 50%;
    background: rgba(108, 60, 225, 0.16);
    content: '';
    transform: rotate(-28deg);
}

.monitor__screen::after {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 75px;
    height: 50px;
    opacity: 0.18;
    background-image: radial-gradient(circle, var(--white) 1px, transparent 1.5px);
    background-size: 10px 10px;
    content: '';
}

.monitor__screen > span,
.monitor__screen > strong,
.monitor__screen > b {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 0.9;
}

.monitor__screen > span {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 26px;
    letter-spacing: 8px;
}

.monitor__screen > strong {
    color: var(--secondary);
    font-size: clamp(4rem, 7vw, 5.2rem);
    letter-spacing: 2px;
    text-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
}

.monitor__screen > b {
    color: var(--primary-light);
    font-size: clamp(3.2rem, 6vw, 4.4rem);
    letter-spacing: 3px;
}

.monitor__swatches {
    position: absolute;
    z-index: 3;
    top: 22px;
    right: 20px;
    display: flex;
    gap: 5px;
}

.monitor__swatches i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

.monitor__swatches i:nth-child(2) {
    background: var(--primary-light);
}

.monitor__swatches i:nth-child(3) {
    background: #22D3EE;
}

.monitor__swatches i:nth-child(4) {
    background: #FACC15;
}

.monitor__neck {
    width: 85px;
    height: 54px;
    margin-top: -2px;
    background: linear-gradient(90deg, #292939, #555567 50%, #292939);
    clip-path: polygon(20% 0, 80% 0, 92% 100%, 8% 100%);
    box-shadow: 8px 8px 18px rgba(15, 15, 26, 0.18);
}

.monitor__base {
    width: 185px;
    height: 17px;
    border-radius: 50% 50% 8px 8px;
    background: linear-gradient(180deg, #59596B, #272736);
    box-shadow: 0 13px 20px rgba(15, 15, 26, 0.2);
    transform: perspective(50px) rotateX(8deg);
}

/* ----------------------------------------------------------------
   Team cards
   ---------------------------------------------------------------- */
.team-block {
    padding-top: 100px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.team-card {
    position: relative;
    padding: 38px 28px 34px;
    overflow: hidden;
    border: 1px solid rgba(108, 60, 225, 0.08);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: border-color var(--transition-base),
                box-shadow var(--transition-base),
                transform var(--transition-base);
}

.team-card::before {
    position: absolute;
    top: -90px;
    left: 50%;
    width: 220px;
    height: 170px;
    border-radius: 50%;
    background: rgba(108, 60, 225, 0.045);
    content: '';
    transform: translateX(-50%);
}

.team-card--featured::before {
    background: rgba(255, 107, 53, 0.05);
}

.team-card:hover {
    border-color: rgba(108, 60, 225, 0.5);
    box-shadow: 0 20px 48px rgba(108, 60, 225, 0.17);
    transform: translateY(-7px);
}

.team-card--featured:hover {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 20px 48px rgba(255, 107, 53, 0.15);
}

.team-card__photo {
    position: relative;
    z-index: 2;
    display: grid;
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    place-items: center;
    overflow: hidden;
    border: 4px solid var(--primary);
    border-radius: 50%;
    background: linear-gradient(145deg, #D7D7E2, #858597);
    box-shadow: 0 13px 30px rgba(26, 26, 46, 0.18);
}

.team-card__photo::before {
    position: absolute;
    top: 12%;
    right: 12%;
    width: 38%;
    height: 38%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    content: '';
}

.team-card__photo--orange {
    border-color: var(--secondary);
}

.team-card__portrait {
    position: absolute;
    z-index: 2;
    left: 50%;
    width: auto;
    max-width: none;
    height: 240%;
    filter: drop-shadow(0 10px 18px rgba(15, 15, 26, 0.2));
}

.team-card__portrait--left {
    top: 5%;
    transform: translateX(-31.5%);
}

.team-card__portrait--center {
    top: -50%;
    height: 300%;
    transform: translateX(-51%);
}

.team-card__portrait--right {
    top: 0;
    transform: translateX(-69.5%);
}

.team-card h3 {
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 23px;
}

.team-card__role {
    min-height: 42px;
    margin-bottom: 13px !important;
    color: var(--primary) !important;
    font-family: var(--font-subheading);
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.5 !important;
}

.team-card--featured .team-card__role {
    color: var(--secondary) !important;
}

.team-card p:last-child {
    margin-bottom: 0;
    color: var(--gray-dark);
    font-size: 14px;
    line-height: 1.7;
}

/* ----------------------------------------------------------------
   Tools
   ---------------------------------------------------------------- */
.tools {
    overflow: hidden;
    background: var(--dark);
}

.tools::before {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: radial-gradient(circle at 20% 30%, rgba(108, 60, 225, 0.2), transparent 23%),
                      radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.12), transparent 24%);
    content: '';
}

.tools-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 38px 48px;
}

.tool-item {
    width: 95px;
    color: var(--gray-text);
    text-align: center;
}

.tool-icon {
    display: grid;
    width: 80px;
    height: 80px;
    margin: 0 auto 13px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: #28283E;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    filter: none;
    font-family: var(--font-subheading);
    font-size: 31px;
    font-weight: 700;
    transition: transform var(--transition-base);
}

.tool-item:hover .tool-icon {
    transform: translateY(-5px) scale(1.1);
}

.tool-item > span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
}

.tool-icon--ps {
    border-color: #31A8FF;
    background: #001E36;
    color: #31A8FF;
}

.tool-icon--ai {
    border-color: #FF9A00;
    background: #330000;
    color: #FF9A00;
}

.tool-icon svg {
    width: 68%;
    height: 68%;
}

.tool-icon--blender {
    border-color: rgba(245, 121, 42, 0.65);
    background: #202124;
}

.tool-icon--blender svg {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
}

.tool-icon--blender path {
    stroke: #F5792A;
}

.tool-icon--blender ellipse {
    stroke: #2D7DB3;
}

.tool-icon--figma {
    border-color: rgba(255, 255, 255, 0.22);
    background: #242424;
}

.tool-icon--figma svg {
    width: 64%;
    height: 64%;
}

.figma-red {
    fill: #F24E1E;
}

.figma-orange {
    fill: #FF7262;
}

.figma-purple {
    fill: #A259FF;
}

.figma-blue {
    fill: #1ABCFE;
}

.figma-green {
    fill: #0ACF83;
}

.tool-icon--wheel {
    border-color: rgba(255, 255, 255, 0.34);
    background: conic-gradient(
        #FF3B30,
        #FF9500,
        #FFCC00,
        #34C759,
        #00C7BE,
        #007AFF,
        #5856D6,
        #AF52DE,
        #FF2D55,
        #FF3B30
    );
    color: var(--white);
}

.tool-icon--wheel svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
}

.tool-icon--type {
    background: linear-gradient(145deg, #37304D, #232337);
    color: var(--white);
    font-family: Georgia, serif;
    font-size: 48px;
}

.tool-icon--brush {
    border-color: rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #FF6B35, #6C3CE1);
    color: var(--white);
}

.tool-icon--brush svg,
.tool-icon--idea svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.tool-icon--idea {
    border-color: rgba(250, 204, 21, 0.55);
    background: #332A05;
    color: #FACC15;
}

/* ----------------------------------------------------------------
   Why choose us
   ---------------------------------------------------------------- */
.why-us {
    overflow: hidden;
}

.why-us::after {
    position: absolute;
    right: -130px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(255, 107, 53, 0.025);
    border-radius: 50%;
    content: '';
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.why-card {
    position: relative;
    min-height: 276px;
    padding: 35px 23px 28px;
    overflow: hidden;
    border: 1px solid rgba(108, 60, 225, 0.07);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: box-shadow var(--transition-base),
                transform var(--transition-base);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-7px);
}

.why-card:nth-child(1) {
    --why-icon-color: #E5A700;
    --why-icon-bg: #FFF8D8;
    --why-icon-border: rgba(229, 167, 0, 0.3);
    --why-icon-shadow: rgba(229, 167, 0, 0.18);
}

.why-card:nth-child(2) {
    --why-icon-color: #2563EB;
    --why-icon-bg: #EAF1FF;
    --why-icon-border: rgba(37, 99, 235, 0.28);
    --why-icon-shadow: rgba(37, 99, 235, 0.17);
}

.why-card:nth-child(3) {
    --why-icon-color: #16A34A;
    --why-icon-bg: #EAF9EF;
    --why-icon-border: rgba(22, 163, 74, 0.28);
    --why-icon-shadow: rgba(22, 163, 74, 0.17);
}

.why-card:nth-child(4) {
    --why-icon-color: #7C3AED;
    --why-icon-bg: #F2ECFF;
    --why-icon-border: rgba(124, 58, 237, 0.28);
    --why-icon-shadow: rgba(124, 58, 237, 0.17);
}

.why-card__icon {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    place-items: center;
    border: 1px solid var(--why-icon-border);
    border-radius: 50%;
    background: var(--why-icon-bg);
    box-shadow: 0 10px 22px var(--why-icon-shadow);
    color: var(--why-icon-color);
    transition: transform var(--transition-base);
}

.why-card:hover .why-card__icon {
    transform: translateY(-4px) scale(1.06);
}

.why-card__icon svg {
    width: 39px;
    height: 39px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.why-card:nth-child(1) .why-card__icon svg {
    fill: rgba(229, 167, 0, 0.14);
}

.why-card h3 {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 16px;
}

.why-card p {
    margin-bottom: 0;
    color: var(--gray-dark);
    font-size: 13px;
    line-height: 1.7;
}

/* ----------------------------------------------------------------
   Testimonials carousel
   ---------------------------------------------------------------- */
.testimonials {
    overflow: hidden;
    background: var(--dark);
}

.testimonials::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 100%;
    opacity: 0.35;
    background-image: radial-gradient(circle at 5% 90%, rgba(108, 60, 225, 0.25), transparent 28%),
                      radial-gradient(circle at 95% 10%, rgba(255, 107, 53, 0.12), transparent 25%);
    content: '';
}

.testimonial-carousel {
    position: relative;
    padding: 0 55px;
}

.testimonial-viewport {
    width: 100%;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card {
    position: relative;
    min-height: 310px;
    padding: 38px 28px 28px;
    flex: 0 0 calc((100% - 48px) / 3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
}

.testimonial-card__quote {
    position: absolute;
    top: 18px;
    left: 21px;
    width: 54px;
    height: 54px;
    fill: rgba(139, 92, 246, 0.2);
}

.stars {
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 3px;
}

.testimonial-card > p {
    position: relative;
    z-index: 2;
    min-height: 138px;
    margin-bottom: 22px;
    color: #D7D7E7;
    font-size: 15px;
    font-style: italic;
    line-height: 1.75;
}

.testimonial-card__client {
    position: relative;
    z-index: 2;
    display: flex;
    padding-top: 18px;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-card__client strong {
    color: var(--white);
    font-family: var(--font-subheading);
    font-size: 15px;
}

.testimonial-card__client span {
    color: var(--gray-text);
    font-size: 12px;
}

.carousel-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background var(--transition-base),
                border-color var(--transition-base),
                transform var(--transition-base);
}

.carousel-arrow:hover {
    border-color: var(--secondary);
    background: var(--secondary);
    transform: translateY(-50%) scale(1.06);
}

.carousel-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.carousel-arrow--prev {
    left: 0;
}

.carousel-arrow--next {
    right: 0;
}

.carousel-dots {
    display: flex;
    min-height: 26px;
    margin-top: 28px;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: width var(--transition-base),
                background var(--transition-base),
                border-radius var(--transition-base);
}

.carousel-dot.active {
    width: 28px;
    border-radius: 6px;
    background: var(--secondary);
}

/* ----------------------------------------------------------------
   Call to action
   ---------------------------------------------------------------- */
.cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(120deg, #6C3CE1 0%, #8B5CF6 46%, #FF6B35 100%);
    color: var(--white);
    text-align: center;
    isolation: isolate;
}

.cta::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.16;
    background-image: radial-gradient(circle, #fff 1px, transparent 1.5px);
    background-size: 22px 22px;
    content: '';
    -webkit-mask-image: linear-gradient(90deg, black, transparent 30%, transparent 70%, black);
    mask-image: linear-gradient(90deg, black, transparent 30%, transparent 70%, black);
}

.cta__shape {
    position: absolute;
    z-index: -1;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
}

.cta__shape--one {
    top: -120px;
    left: -60px;
    width: 300px;
    height: 300px;
    box-shadow: inset 0 0 0 40px rgba(255, 255, 255, 0.03);
}

.cta__shape--two {
    right: -80px;
    bottom: -160px;
    width: 380px;
    height: 380px;
    box-shadow: inset 0 0 0 60px rgba(15, 15, 26, 0.04);
}

.cta__content {
    max-width: 900px;
}

.cta h2 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: clamp(3.3rem, 6vw, 4rem);
    text-shadow: 0 5px 18px rgba(15, 15, 26, 0.18);
}

.cta__content > p {
    margin-bottom: 27px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.cta__phone {
    display: flex;
    width: fit-content;
    margin: 24px auto 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: opacity var(--transition-fast);
}

.cta__phone:hover {
    opacity: 0.8;
}

.cta__phone svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

/* ----------------------------------------------------------------
   Contact area
   ---------------------------------------------------------------- */
.contact {
    overflow: hidden;
}

.contact::before {
    position: absolute;
    top: 180px;
    right: -180px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 60, 225, 0.08), transparent 70%);
    content: '';
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 42px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-card {
    position: relative;
    min-height: 230px;
    padding: 24px 20px;
    overflow: hidden;
    border: 1px solid rgba(108, 60, 225, 0.08);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-base),
                box-shadow var(--transition-base),
                transform var(--transition-base);
}

.contact-card:hover {
    border-color: rgba(108, 60, 225, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.contact-card__icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 16px;
    color: var(--white);
}

.contact-card__icon--purple {
    background: var(--gradient-purple);
    box-shadow: 0 8px 18px rgba(108, 60, 225, 0.2);
}

.contact-card__icon--green {
    background: #25D366;
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.2);
}

.contact-card__icon--orange {
    background: var(--gradient-orange);
    box-shadow: 0 8px 18px rgba(255, 107, 53, 0.2);
}

.contact-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-card__body h3 {
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 16px;
}

.contact-card__body strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.contact-card__body p {
    min-height: 39px;
    margin: 7px 0 10px;
    color: var(--gray-dark);
    font-size: 11px;
    line-height: 1.55;
}

.contact-card__body a,
.contact-card__meta {
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
}

.contact-card__body a span {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.contact-card__body a:hover span {
    transform: translateX(4px);
}

.contact-form-wrap {
    overflow: hidden;
    border: 1px solid rgba(108, 60, 225, 0.1);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-form-wrap__intro {
    position: relative;
    padding: 29px 34px 27px;
    overflow: hidden;
    background: var(--gradient-purple);
    color: var(--white);
}

.contact-form-wrap__intro::after {
    position: absolute;
    top: -55px;
    right: -45px;
    width: 160px;
    height: 160px;
    border: 25px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: '';
}

.contact-form-wrap__intro > span {
    position: relative;
    z-index: 2;
    color: #E8DDFF;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.contact-form-wrap__intro h3 {
    position: relative;
    z-index: 2;
    margin: 4px 0 6px;
    color: var(--white);
    font-size: 23px;
}

.contact-form-wrap__intro p {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.contact-form {
    display: grid;
    padding: 30px 34px 33px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field:nth-child(3),
.form-field:nth-child(4),
.contact-form__submit,
.form-status,
.contact-form__note {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
}

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

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #DDD9EB;
    border-radius: var(--radius-sm);
    outline: 0;
    background: #FBFAFF;
    color: var(--dark);
    font-size: 13px;
    transition: border-color var(--transition-fast),
                background var(--transition-fast),
                box-shadow var(--transition-fast);
}

.form-field input,
.form-field select {
    height: 49px;
    padding: 0 14px;
}

.form-field textarea {
    min-height: 130px;
    padding: 13px 14px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9896A7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(108, 60, 225, 0.09);
}

.contact-form__submit {
    width: 100%;
    min-height: 54px;
    margin-top: 3px;
    gap: 9px;
}

.contact-form__submit svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.form-status {
    display: none;
    margin: -5px 0 0;
    padding: 10px 13px;
    border-radius: 9px;
    background: rgba(37, 211, 102, 0.1);
    color: #15773A;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.form-status.is-visible {
    display: block;
}

.contact-form__note {
    margin: -4px 0 0;
    color: var(--gray-dark);
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer {
    position: relative;
    overflow: hidden;
    background: var(--darker);
    color: var(--gray-text);
}

.footer::before {
    position: absolute;
    top: -170px;
    left: 15%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 60, 225, 0.12), transparent 70%);
    content: '';
}

.footer__grid {
    display: grid;
    padding-top: 65px;
    padding-bottom: 55px;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.7fr) minmax(280px, 1fr);
    gap: 75px;
}

.footer__brand .brand {
    margin-bottom: 19px;
}

.footer__brand > p {
    max-width: 350px;
    margin-bottom: 22px;
    color: #9A9AAF;
    font-size: 14px;
    line-height: 1.75;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--gray-text);
    transition: background var(--transition-base),
                border-color var(--transition-base),
                color var(--transition-base),
                transform var(--transition-base);
}

.social-links a:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.social-links svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.social-links a:first-child svg {
    fill: currentColor;
    stroke: none;
}

.footer h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 16px;
}

.footer__links nav,
.footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer__links a,
.footer__contact a {
    color: #9A9AAF;
    font-size: 13px;
    line-height: 1.55;
    transition: color var(--transition-fast),
                transform var(--transition-fast);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--secondary-light);
    transform: translateX(4px);
}

.footer__contact span {
    color: #D2D2DE;
    font-weight: 500;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__bottom .container {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer__bottom p {
    margin: 0;
    color: #77778C;
    font-size: 11px;
}

/* ----------------------------------------------------------------
   Floating action buttons
   ---------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    z-index: 800;
    right: 30px;
    bottom: 98px;
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(0.92);
    transition: box-shadow var(--transition-base),
                opacity var(--transition-base),
                visibility var(--transition-base),
                transform var(--transition-base);
}

.whatsapp-float.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    box-shadow: 0 15px 38px rgba(37, 211, 102, 0.48);
    transform: translateY(-4px) scale(1.04);
    animation-play-state: paused;
}

.whatsapp-float > svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.whatsapp-float__tooltip {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    width: max-content;
    padding: 7px 11px;
    border-radius: 7px;
    background: var(--darker);
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity var(--transition-fast),
                transform var(--transition-fast);
}

.whatsapp-float__tooltip::after {
    position: absolute;
    top: 50%;
    right: -5px;
    width: 10px;
    height: 10px;
    background: var(--darker);
    content: '';
    transform: translateY(-50%) rotate(45deg);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translate(0, -50%);
}

.back-to-top {
    position: fixed;
    z-index: 799;
    right: 34px;
    bottom: 30px;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    background: var(--gradient-purple);
    box-shadow: 0 10px 28px rgba(108, 60, 225, 0.3);
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity var(--transition-base),
                visibility var(--transition-base),
                transform var(--transition-base),
                box-shadow var(--transition-base);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 15px 35px rgba(108, 60, 225, 0.44);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

/* ----------------------------------------------------------------
   Portfolio lightbox
   ---------------------------------------------------------------- */
.lightbox {
    position: fixed;
    z-index: 5000;
    inset: 0;
    display: flex;
    padding: 70px 90px 50px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base),
                visibility var(--transition-base);
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__content {
    width: min(660px, 78vw);
    transform: scale(0.92);
    transition: transform var(--transition-slow);
}

.lightbox.is-open .lightbox__content {
    transform: scale(1);
}

.lightbox__preview {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
}

.lightbox__preview .portfolio-visual {
    width: 100%;
    height: 100%;
}

.lightbox__preview .portfolio-visual--image {
    background: #0B0B14;
}

.lightbox__preview .portfolio-visual__image {
    object-fit: contain;
}

.lightbox__preview .portfolio-visual > svg {
    width: 34%;
    max-width: 190px;
}

.lightbox__preview .portfolio-visual__label {
    font-size: clamp(5rem, 13vw, 9rem);
}

.lightbox__caption {
    padding-top: 17px;
    text-align: center;
}

.lightbox__caption span {
    color: var(--secondary-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.lightbox__caption h3 {
    margin: 3px 0 0;
    color: var(--white);
    font-size: 21px;
}

.lightbox__close {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 27px;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    cursor: pointer;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    transition: background var(--transition-base),
                transform var(--transition-base);
}

.lightbox__close:hover {
    background: var(--secondary);
    transform: rotate(90deg);
}

.lightbox__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background var(--transition-base),
                border-color var(--transition-base);
}

.lightbox__arrow:hover {
    border-color: var(--primary-light);
    background: var(--primary);
}

.lightbox__arrow svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.lightbox__arrow--prev {
    left: 25px;
}

.lightbox__arrow--next {
    right: 25px;
}

/* ----------------------------------------------------------------
   Scroll reveal states
   ---------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
    transform: translateX(-35px);
}

.reveal-right {
    transform: translateX(35px);
}

.reveal.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

.services-grid .reveal:nth-child(2),
.team-grid .reveal:nth-child(2),
.why-grid .reveal:nth-child(2),
.contact-info .reveal:nth-child(2),
.tools-row .reveal:nth-child(2) {
    transition-delay: 80ms;
}

.services-grid .reveal:nth-child(3),
.team-grid .reveal:nth-child(3),
.why-grid .reveal:nth-child(3),
.contact-info .reveal:nth-child(3),
.tools-row .reveal:nth-child(3) {
    transition-delay: 160ms;
}

.services-grid .reveal:nth-child(4),
.why-grid .reveal:nth-child(4),
.contact-info .reveal:nth-child(4),
.tools-row .reveal:nth-child(4) {
    transition-delay: 240ms;
}

.services-grid .reveal:nth-child(5),
.tools-row .reveal:nth-child(5) {
    transition-delay: 80ms;
}

.services-grid .reveal:nth-child(6),
.tools-row .reveal:nth-child(6) {
    transition-delay: 160ms;
}

.services-grid .reveal:nth-child(7),
.tools-row .reveal:nth-child(7) {
    transition-delay: 240ms;
}

.services-grid .reveal:nth-child(8),
.tools-row .reveal:nth-child(8) {
    transition-delay: 320ms;
}

/* ----------------------------------------------------------------
   Progressive enhancement and utility states
   ---------------------------------------------------------------- */
.no-transition,
.no-transition * {
    transition: none !important;
}

[hidden] {
    display: none !important;
}

@supports not (backdrop-filter: blur(10px)) {
    .navbar {
        background: rgba(15, 15, 26, 0.9);
    }

    .mobile-menu {
        background: var(--darker);
    }
}

@supports not (aspect-ratio: 1 / 1) {
    .portfolio-item::after,
    .lightbox__preview::after {
        display: block;
        padding-bottom: 100%;
        content: '';
    }
}
