/* ── Design Tokens ────────────────────────────────────────────────── */
:root {
    --bg-0:  #020208;
    --bg-1:  #07070f;
    --bg-2:  #0c0c18;
    --bg-3:  #111122;
    --a1:    #6366f1;
    --a2:    #8b5cf6;
    --a3:    #22d3ee;
    --glow1: rgba(99,102,241,0.35);
    --line-reveal-muted: rgba(148,163,184,0.58);
    --line-reveal-ink: rgba(248,250,252,0.98);
    --line-reveal-glow: rgba(99,102,241,0.18);
    --t0:    #f8fafc;
    --t1:    #cbd5e1;
    --t2:    #74849a;
    --t3:    #6f7f95;
    --border: rgba(255,255,255,0.07);
    --border-hi: rgba(99,102,241,0.45);
    --card:  rgba(255,255,255,0.025);
    --card-h: rgba(255,255,255,0.05);
    --ff-d:  'Space Grotesk', system-ui, sans-serif;
    --ff-b:  'Inter', system-ui, sans-serif;
    --ease:  cubic-bezier(.4,0,.2,1);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --r-sm: .75rem;
    --r-md: 1.25rem;
    --r-lg: 1.75rem;
    --r-xl: 2.5rem;
    --space-1: .5rem;
    --space-2: .75rem;
    --space-3: 1rem;
    --space-4: 1.25rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.5rem;
    --space-8: 3rem;
    --space-9: 4rem;
    --space-10: 5rem;
    --space-11: 6.5rem;
    --section-shift: 2.4rem;
    --hero-nav-offset: 9.5rem;
    --divider-core: rgba(248,250,252,0.92);
    --divider-core-soft: rgba(248,250,252,0.56);
    --divider-violet: rgba(129,140,248,0.72);
    --divider-cyan: rgba(56,189,248,0.68);
    --divider-pink: rgba(244,114,182,0.42);
    --divider-shadow: rgba(99,102,241,0.22);
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT — EDITORIAL WHY WORK WITH ME
═══════════════════════════════════════════════════════════════════ */
#about.about {
    padding-block: clamp(3.5rem, 4vw, 4rem);
    background: var(--bg-1);
    scroll-margin-top: 6.5rem;
}

.about-editorial {
    position: relative;
    width: 100%;
}

.about-editorial::before {
    content: '';
    position: absolute;
    width: min(34rem, 58vw);
    height: min(34rem, 58vw);
    left: -18rem;
    top: 22%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.09), transparent 68%);
    filter: blur(12px);
    pointer-events: none;
    z-index: 0;
}

.about-editorial > * {
    position: relative;
    z-index: 1;
}

.about-header {
    max-width: 58rem;
    margin-bottom: 2rem;
}

.about-header .section-label {
    margin-bottom: 1.15rem;
}

.about-header .section-title {
    max-width: 56rem;
    margin-bottom: 1.2rem;
    text-wrap: balance;
}

.about-intro {
    max-width: 48rem;
    color: color-mix(in srgb, var(--t1) 82%, var(--t2));
    font-size: var(--fs-body-lg);
    line-height: 1.72;
    text-wrap: pretty;
}

.about-body {
    display: grid;
    grid-template-columns: minmax(0, .64fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2.75rem, 5vw, 4rem);
}

.about-portrait {
    position: relative;
    width: 100%;
    max-width: 26.25rem;
    isolation: isolate;
}

.about-portrait::before {
    content: '';
    position: absolute;
    inset: 12% -8% -8% 8%;
    border-radius: 48% 52% 44% 56%;
    background:
        radial-gradient(circle at 35% 28%, rgba(139,92,246,0.2), transparent 42%),
        radial-gradient(circle at 70% 76%, rgba(34,211,238,0.11), transparent 46%);
    filter: blur(24px);
    opacity: .72;
    pointer-events: none;
    z-index: -1;
}

#about .about-avatar {
    position: relative;
    width: 100%;
    max-width: 26.25rem;
    aspect-ratio: .9 / 1;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.75rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
        linear-gradient(155deg, rgba(18,24,38,0.98), rgba(7,10,18,0.99));
    box-shadow:
        0 28px 72px rgba(2,6,23,0.3),
        0 16px 36px rgba(99,102,241,0.09),
        inset 0 1px 0 rgba(255,255,255,0.08);
    transform: none;
    transform-style: flat;
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}

#about .about-avatar::before {
    content: '';
    position: absolute;
    inset: .8rem;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.2rem;
    background: transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
    pointer-events: none;
}

#about .about-avatar::after {
    content: none;
}

#about .about-avatar-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 48% 20%, rgba(99,102,241,0.24), transparent 28%),
        radial-gradient(circle at 52% 90%, rgba(34,211,238,0.1), transparent 38%),
        linear-gradient(155deg, rgba(18,24,38,0.98), rgba(8,12,22,1));
}

#about .about-avatar-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), transparent 28%, transparent 72%, rgba(7,10,18,0.2));
    pointer-events: none;
}

#about .about-avatar-inner::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 27%;
    z-index: 2;
    background: linear-gradient(180deg, transparent, rgba(7,10,18,0.52));
    pointer-events: none;
}

#about .about-avatar-aura {
    position: absolute;
    inset: 10% 12% 16%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, rgba(255,255,255,0.18), rgba(99,102,241,0.22) 28%, rgba(34,211,238,0.08) 48%, transparent 72%);
    filter: blur(16px);
    opacity: .62;
    transform: none;
    transition: none;
}

#about .about-avatar-inner picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

#about .about-avatar-photo {
    position: absolute;
    left: 50%;
    bottom: -1%;
    width: 103%;
    height: 97%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    z-index: 1;
    transform: translateX(-50%);
    transform-origin: center bottom;
    filter:
        drop-shadow(0 32px 44px rgba(2,6,23,0.36))
        drop-shadow(0 12px 20px rgba(99,102,241,0.08))
        saturate(1.03)
        contrast(1.02);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, rgba(0,0,0,0.8) 95%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 88%, rgba(0,0,0,0.8) 95%, transparent 100%);
    transition: none;
    will-change: auto;
}

.about-values {
    min-width: 0;
}

.about-differentiators {
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-differentiator {
    display: grid;
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: 1rem;
    padding: .75rem 0 .85rem;
    border-top: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
}

.about-differentiator:first-child {
    padding-top: .15rem;
    border-top-color: transparent;
}

.about-differentiator-number {
    display: inline-block;
    padding-top: .18rem;
    font-family: var(--ff-d);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4;
    color: var(--a3);
}

.about-differentiator-content h3 {
    margin: 0 0 .5rem;
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: clamp(1.06rem, 1.3vw, 1.12rem);
    font-weight: 650;
    line-height: 1.28;
    text-wrap: balance;
}

.about-differentiator-content p {
    max-width: 43rem;
    margin: 0;
    color: color-mix(in srgb, var(--t1) 72%, var(--t2));
    font-size: .92rem;
    line-height: 1.55;
    text-wrap: pretty;
}

.about-credibility {
    position: relative;
    margin: .25rem 0 0;
    padding: 1rem 0 0 4.4rem;
    border-top: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
    color: color-mix(in srgb, var(--t1) 74%, var(--t2));
    font-size: .92rem;
    line-height: 1.58;
    text-wrap: pretty;
}

.about-credibility::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 3.35rem;
    height: 1px;
    background: linear-gradient(90deg, var(--a1), var(--a3));
}

.about-credibility strong {
    color: var(--t0);
    font-weight: 650;
}

@media (max-width: 768px) {
    #about.about {
        padding-block: 2.5rem;
    }

    .about-editorial::before {
        width: 22rem;
        height: 22rem;
        left: -14rem;
        top: 28%;
        opacity: .72;
    }

    .about-header {
        margin-bottom: 1.25rem;
    }

    .about-header .section-label {
        margin-bottom: .85rem;
    }

    .about-header .section-title {
        margin-bottom: .85rem;
    }

    .about-intro {
        font-size: .95rem;
        line-height: 1.6;
    }

    .about-body {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-portrait {
        width: 100%;
        max-width: none;
    }

    #about .about-avatar {
        width: 100%;
        max-width: none;
        height: clamp(16.875rem, 70vw, 18.75rem);
        aspect-ratio: auto;
        border-radius: 1.45rem;
    }

    #about .about-avatar::before {
        inset: .65rem;
        border-radius: 1rem;
    }

    #about .about-avatar-photo {
        width: 108%;
        height: 106%;
        bottom: -7%;
    }

    .about-differentiator {
        grid-template-columns: 2.45rem minmax(0, 1fr);
        gap: .7rem;
        padding: .65rem 0 .75rem;
    }

    .about-differentiator:first-child {
        padding-top: 0;
    }

    .about-differentiator-number {
        padding-top: .14rem;
        font-size: .74rem;
    }

    .about-differentiator-content h3 {
        grid-column: 2;
        margin-bottom: .35rem;
        font-size: 1rem;
        line-height: 1.3;
    }

    .about-differentiator-content {
        display: contents;
    }

    .about-differentiator-content p {
        grid-column: 1 / -1;
        margin-top: .25rem;
        font-size: .9rem;
        line-height: 1.5;
    }

    .about-credibility {
        margin-top: .1rem;
        padding: .9rem 0 0;
        font-size: .88rem;
        line-height: 1.55;
    }

    .about-credibility::before {
        width: 2.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-editorial,
    .about-portrait,
    #about .about-avatar,
    #about .about-avatar-aura,
    #about .about-avatar-photo,
    .about-differentiator,
    .about-credibility {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    #about .about-avatar-photo {
        transform: translateX(-50%) !important;
    }
}

/* ── Reset ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--ff-b);
    background: var(--bg-0);
    color: var(--t0);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Custom Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--a1); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--a2); }

/* ── Selection ───────────────────────────────────────────────────── */
::selection { background: rgba(99,102,241,0.35); color: #fff; }

/* ── Utility Classes ─────────────────────────────────────────────── */
.container { max-width: 1180px; margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-11); position: relative; }
[data-premium-section] {
    isolation: isolate;
    --section-drift: 0px;
    --section-drift-strong: 0px;
    --section-parallax-soft: 0px;
    --section-parallax-mid: 0px;
    --section-parallax-strong: 0px;
    --section-parallax-reverse: 0px;
    --section-scale-live: 1;
    --section-depth-live: 0;
    --section-glow-live: 0;
    --ambient-x: 18%;
    --ambient-y: 18%;
    --ambient-size: 28rem;
    --ambient-secondary-x: 82%;
    --ambient-secondary-y: 74%;
    --ambient-line-opacity: .03;
    --ambient-grid-opacity: .16;
    --ambient-primary-opacity: .46;
    --ambient-secondary-opacity: .4;
    --ambient-orb-size: 32rem;
    --ambient-orb-secondary-size: 24rem;
    --ambient-orb-opacity: .18;
    --ambient-orb-secondary-opacity: .14;
}
[data-premium-section]::before,
[data-premium-section]::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    filter: blur(22px);
    transition:
        opacity 1.1s cubic-bezier(.22,1,.36,1),
        transform 1.1s cubic-bezier(.22,1,.36,1);
}
[data-premium-section]::before {
    top: clamp(-7rem, 6%, -2rem);
    left: clamp(-8rem, 8%, 2rem);
    width: var(--ambient-orb-size);
    height: var(--ambient-orb-size);
    background:
        radial-gradient(circle at 32% 32%,
        rgba(255,255,255,0.1) 0,
        rgba(99,102,241,0.16) 18%,
        rgba(139,92,246,0.12) 36%,
        transparent 70%);
    transform: translate3d(0, 1.5rem, 0) scale(.92);
}
[data-premium-section]::after {
    right: clamp(-7rem, 6%, -1rem);
    bottom: clamp(-6rem, 8%, -1rem);
    width: var(--ambient-orb-secondary-size);
    height: var(--ambient-orb-secondary-size);
    background:
        radial-gradient(circle at 50% 50%,
        rgba(34,211,238,0.15) 0,
        rgba(99,102,241,0.09) 30%,
        transparent 72%);
    transform: translate3d(0, 1rem, 0) scale(.94);
}
[data-premium-section] > .container {
    position: relative;
    z-index: 1;
    transform: translate3d(0, 0, 0);
    transition: transform 1.4s cubic-bezier(.22,1,.36,1);
}
[data-premium-section] > .container::before {
    content: '';
    position: absolute;
    top: var(--ambient-y);
    left: var(--ambient-x);
    width: var(--ambient-size);
    height: var(--ambient-size);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, rgba(99,102,241,0.16) 16%, rgba(139,92,246,0.12) 34%, rgba(34,211,238,0.08) 48%, transparent 72%);
    opacity: 0;
    transform: translate3d(-50%, calc(-50% + 2rem + (var(--section-drift-strong) * .16)), 0) scale(.88);
    filter: blur(22px);
    pointer-events: none;
    transition:
        opacity 1.2s cubic-bezier(.22,1,.36,1),
        transform 1.2s cubic-bezier(.22,1,.36,1),
        filter .45s linear;
    z-index: 0;
}
[data-premium-section] > .container::after {
    content: '';
    position: absolute;
    inset: -2rem 0;
    border-radius: 2rem;
    background:
        radial-gradient(circle at var(--ambient-secondary-x) var(--ambient-secondary-y), rgba(34,211,238,0.08) 0%, rgba(139,92,246,0.07) 18%, transparent 34%),
        linear-gradient(rgba(99,102,241,var(--ambient-line-opacity)) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,var(--ambient-line-opacity)) 1px, transparent 1px);
    background-size: auto, 72px 72px, 72px 72px;
    opacity: 0;
    transform: translate3d(0, calc(1.2rem + (var(--section-drift-strong) * -.1)), 0) scale(.96);
    filter: blur(0);
    mask-image: radial-gradient(circle at 50% 48%, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.24) 54%, transparent 76%);
    pointer-events: none;
    transition:
        opacity 1.1s cubic-bezier(.22,1,.36,1),
        transform 1.1s cubic-bezier(.22,1,.36,1),
        filter .45s linear,
        background-position 1.2s cubic-bezier(.22,1,.36,1);
    z-index: 0;
}
[data-premium-section] > .container > * {
    position: relative;
    z-index: 1;
    opacity: .52;
    transform: translate3d(0, var(--section-shift), 0) scale(.985);
    filter: blur(10px);
    transition:
        opacity 1s cubic-bezier(.22,1,.36,1),
        transform 1.1s cubic-bezier(.22,1,.36,1),
        filter 1s cubic-bezier(.22,1,.36,1);
    will-change: transform, opacity, filter;
}
[data-premium-section] > .container > *:nth-child(2) { transition-delay: .08s; }
[data-premium-section] > .container > *:nth-child(3) { transition-delay: .14s; }
[data-premium-section].in-view > .container::before {
    opacity: calc((var(--ambient-primary-opacity) * .36) + (var(--section-glow-live) * var(--ambient-primary-opacity)));
    transform: translate3d(calc(-50% + (var(--section-drift-strong) * -.12)), calc(-50% + (var(--section-drift-strong) * -.08)), 0) scale(calc(.94 + (var(--section-depth-live) * .1)));
    filter: blur(calc(20px - (var(--section-glow-live) * 5px)));
}
[data-premium-section].in-view::before {
    opacity: calc(var(--ambient-orb-opacity) + (var(--section-glow-live) * .2));
    transform: translate3d(calc(var(--section-drift-strong) * -.18), calc(var(--section-drift) * -.34), 0) scale(calc(.96 + (var(--section-depth-live) * .08)));
    animation: sectionOrbFloat 18s cubic-bezier(.37,0,.25,1) infinite;
}
[data-premium-section].in-view::after {
    opacity: calc(var(--ambient-orb-secondary-opacity) + (var(--section-glow-live) * .16));
    transform: translate3d(calc(var(--section-drift-strong) * .15), calc(var(--section-drift) * .28), 0) scale(calc(.98 + (var(--section-depth-live) * .06)));
    animation: sectionOrbFloatAlt 22s cubic-bezier(.37,0,.25,1) infinite;
}
[data-premium-section].in-view > .container::after {
    opacity: calc((var(--ambient-grid-opacity) * .35) + (var(--section-glow-live) * var(--ambient-grid-opacity)) + (var(--ambient-secondary-opacity) * .14));
    transform: translate3d(0, calc(var(--section-drift-strong) * .12), 0) scale(calc(.98 + (var(--section-depth-live) * .04)));
    filter: blur(calc(1px + (1 - var(--section-glow-live)) * 1px));
    background-position:
        0 0,
        calc(var(--section-drift-strong) * .22) calc(var(--section-drift) * .35),
        calc(var(--section-drift-strong) * -.18) calc(var(--section-drift) * -.28);
}
[data-premium-section].in-view > .container {
    animation: appleSectionDrift 18s cubic-bezier(.37,0,.25,1) infinite;
}
[data-premium-section].in-view > .container > * {
    opacity: 1;
    transform: translate3d(0, calc(var(--section-drift) * .26), 0) scale(var(--section-scale-live));
    filter: blur(0);
}
[data-premium-section].in-view > .container > *:nth-child(2) {
    transform: translate3d(0, calc(var(--section-drift) * .44), 0) scale(calc(var(--section-scale-live) + .003));
}
[data-premium-section].in-view > .container > *:nth-child(3) {
    transform: translate3d(0, calc(var(--section-drift) * .58), 0) scale(calc(var(--section-scale-live) + .005));
}

@keyframes sectionOrbFloat {
    0%, 100% {
        transform: translate3d(calc(var(--section-drift-strong) * -.18), calc(var(--section-drift) * -.34), 0) scale(1);
    }
    50% {
        transform: translate3d(calc(1.5rem + (var(--section-drift-strong) * -.26)), calc(-1.2rem + (var(--section-drift) * -.48)), 0) scale(1.08);
    }
}

@keyframes sectionOrbFloatAlt {
    0%, 100% {
        transform: translate3d(calc(var(--section-drift-strong) * .15), calc(var(--section-drift) * .28), 0) scale(1);
    }
    50% {
        transform: translate3d(calc(-1.2rem + (var(--section-drift-strong) * .22)), calc(1rem + (var(--section-drift) * .42)), 0) scale(1.1);
    }
}

#about {
    --ambient-x: 18%;
    --ambient-y: 22%;
    --ambient-size: 24rem;
    --ambient-secondary-x: 84%;
    --ambient-secondary-y: 28%;
    --ambient-grid-opacity: .12;
    --ambient-primary-opacity: .38;
}

#job-experience {
    --ambient-x: 84%;
    --ambient-y: 18%;
    --ambient-size: 26rem;
    --ambient-secondary-x: 16%;
    --ambient-secondary-y: 78%;
    --ambient-grid-opacity: .14;
    --ambient-primary-opacity: .42;
}

#education {
    --ambient-x: 18%;
    --ambient-y: 20%;
    --ambient-size: 24rem;
    --ambient-secondary-x: 82%;
    --ambient-secondary-y: 78%;
    --ambient-grid-opacity: .12;
    --ambient-primary-opacity: .4;
}

#projects {
    --ambient-x: 16%;
    --ambient-y: 16%;
    --ambient-size: 28rem;
    --ambient-secondary-x: 86%;
    --ambient-secondary-y: 82%;
    --ambient-grid-opacity: .16;
    --ambient-primary-opacity: .46;
}

#process {
    --ambient-x: 18%;
    --ambient-y: 28%;
    --ambient-size: 26rem;
    --ambient-secondary-x: 82%;
    --ambient-secondary-y: 18%;
    --ambient-grid-opacity: .12;
    --ambient-primary-opacity: .4;
}

#guarantee {
    --ambient-x: 50%;
    --ambient-y: 14%;
    --ambient-size: 32rem;
    --ambient-secondary-x: 50%;
    --ambient-secondary-y: 82%;
    --ambient-grid-opacity: .1;
    --ambient-primary-opacity: .48;
}

#contact {
    --ambient-x: 50%;
    --ambient-y: 8%;
    --ambient-size: 30rem;
    --ambient-secondary-x: 86%;
    --ambient-secondary-y: 76%;
    --ambient-grid-opacity: .14;
    --ambient-primary-opacity: .46;
}
.gradient-text {
    background: linear-gradient(135deg, var(--t0) 0%, var(--a1) 50%, var(--a3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Reveal Animation ────────────────────────────────────────────── */
.reveal {
    --reveal-y: 32px;
    --reveal-scale: .982;
    --reveal-blur: 9px;
    opacity: 0;
    transform: translate3d(0, var(--reveal-y), 0) scale(var(--reveal-scale));
    filter: blur(var(--reveal-blur)) saturate(.94);
    transition:
        opacity .9s cubic-bezier(.22,1,.36,1),
        transform 1s cubic-bezier(.22,1,.36,1),
        filter 1s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0) saturate(1);
}
.section-label.reveal {
    --reveal-y: 18px;
    --reveal-scale: .992;
    --reveal-blur: 4px;
}
.section-title.reveal,
.hero-stats.reveal {
    --reveal-y: 24px;
    --reveal-scale: .986;
    --reveal-blur: 7px;
}
.section-subtitle.reveal,
.about-text-block.reveal,
.experience-text-block.reveal {
    --reveal-y: 20px;
    --reveal-scale: .99;
    --reveal-blur: 5px;
}
:is(.about-highlight, .skill-category, .education-panel, .education-card, .certificate-card, .job-card, .project-card, .process-step, .testimonials-slider, .guarantee-card, .contact-form, .contact-social, .service-badge).reveal {
    --reveal-y: 18px;
    --reveal-scale: .985;
    --reveal-blur: 6px;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

.section-title.reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    transition:
        opacity .5s cubic-bezier(.22,1,.36,1),
        transform .6s cubic-bezier(.22,1,.36,1),
        filter .6s cubic-bezier(.22,1,.36,1);
}

.job-card.reveal .job-company-name,
.job-card.reveal .job-role,
.education-card.reveal .education-card-title,
.certificate-card.reveal .certificate-card-title,
.project-card.reveal .project-name,
.process-step.reveal .process-step-title {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(8px);
    transition:
        clip-path .82s cubic-bezier(.22,1,.36,1),
        opacity .62s cubic-bezier(.22,1,.36,1),
        transform .82s cubic-bezier(.22,1,.36,1),
        filter .82s cubic-bezier(.22,1,.36,1),
        color .35s var(--ease);
    will-change: clip-path, transform, opacity, filter;
}

.job-card.reveal .job-role,
.process-step.reveal .process-step-title {
    transition-delay: .08s;
}

.job-card.reveal.visible .job-company-name,
.job-card.reveal.visible .job-role,
.education-card.reveal.visible .education-card-title,
.certificate-card.reveal.visible .certificate-card-title,
.project-card.reveal.visible .project-name,
.process-step.reveal.visible .process-step-title {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

@keyframes ambientFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -16px, 0); }
}

@keyframes ambientFloatAlt {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(10px, -12px, 0); }
}


@keyframes ambientSheen {
    0% { transform: translateX(-135%) skewX(-18deg); opacity: 0; }
    20% { opacity: .75; }
    100% { transform: translateX(135%) skewX(-18deg); opacity: 0; }
}



@keyframes mouseFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -4px, 0) scale(1.015); }
}

@keyframes mouseShellGlow {
    0%, 100% {
        border-color: rgba(99,102,241,0.34);
        box-shadow: 0 0 0 0 rgba(99,102,241,0.0), 0 8px 20px rgba(99,102,241,0.08);
    }
    50% {
        border-color: rgba(34,211,238,0.38);
        box-shadow: 0 0 0 6px rgba(99,102,241,0.05), 0 12px 28px rgba(99,102,241,0.12);
    }
}

@keyframes mouseHaloPulse {
    0%, 100% {
        opacity: .42;
        transform: scale(.92);
    }
    50% {
        opacity: .82;
        transform: scale(1.08);
    }
}

@keyframes mouseReflectSweep {
    0%, 100% {
        opacity: .18;
        transform: translate3d(-18%, -12%, 0) rotate(-16deg);
    }
    50% {
        opacity: .42;
        transform: translate3d(12%, 16%, 0) rotate(-16deg);
    }
}


@keyframes appleSectionDrift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -1.5px, 0); }
}


@keyframes appleSectionSettle {
    0% {
        opacity: .24;
        transform: translate3d(0, 34px, 0) scale(.982);
        filter: blur(10px) saturate(.88);
    }
    55% {
        opacity: 1;
        transform: translate3d(0, -4px, 0) scale(1.002);
        filter: blur(0) saturate(1);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0) saturate(1);
    }
}

@keyframes appleSectionBreath {
    0%, 100% {
        box-shadow:
            0 22px 58px rgba(2,6,23,0.14),
            inset 0 1px 0 rgba(255,255,255,0.04),
            0 0 0 1px rgba(129,140,248,0.02);
    }
    50% {
        box-shadow:
            0 26px 68px rgba(2,6,23,0.18),
            inset 0 1px 0 rgba(255,255,255,0.06),
            0 0 28px rgba(99,102,241,0.08),
            0 0 42px rgba(34,211,238,0.05);
    }
}

@keyframes glassSheenSlide {
    0% {
        background-position: center, center, 135% 0;
        opacity: .56;
    }
    28% {
        opacity: .9;
    }
    100% {
        background-position: center, center, -40% 0;
        opacity: .74;
    }
}



/* ── Section Label ───────────────────────────────────────────────── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--ff-d);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--a1);
    padding: .45rem var(--space-3);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 99px;
    background: rgba(99,102,241,0.08);
    margin-bottom: var(--space-6);
}
.section-label::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--a1);
    box-shadow: 0 0 8px var(--a1);
}

.section-title {
    font-family: var(--ff-d);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: var(--space-4);
    text-wrap: balance;
}
.section-subtitle {
    font-size: 1.0625rem;
    color: var(--t1);
    max-width: 52rem;
    line-height: 1.7;
    text-wrap: pretty;
}
.skill-category-name,
.skill-category-desc,
.job-summary,
.education-card-title,
.education-card-desc,
.certificate-card-title,
.certificate-card-desc,
.project-name,
.project-desc,
.process-step-title,
.process-step-desc,
.testimonial-quote,
.testimonial-person-role,
.testimonial-person-note,
.guarantee-text,
.contact-email-link {
    text-wrap: pretty;
}
.scroll-line-reveal {
    display: block;
    width: 100%;
    min-width: 0;
}
.scroll-line-reveal.is-line-enhanced {
    display: grid;
    gap: .22em;
    align-content: start;
}
.scroll-line-reveal-soft {
    --line-reveal-muted: rgba(148,163,184,0.48);
}
.scroll-reveal-line {
    --line-progress: 0;
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    padding-inline-end: .18em;
    margin-inline-end: -.18em;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    transform: translate3d(0, calc((1 - var(--line-progress)) * 8px), 0);
    opacity: calc(.74 + (var(--line-progress) * .26));
    transition: transform .36s var(--ease), opacity .36s var(--ease);
    will-change: transform, opacity;
}
.scroll-reveal-line-base,
.scroll-reveal-line-ink {
    display: block;
    line-height: inherit;
    padding-inline-end: .02em;
    white-space: inherit;
    overflow-wrap: inherit;
    word-break: inherit;
}
.scroll-reveal-line strong,
.scroll-reveal-line-base strong,
.scroll-reveal-line-ink strong {
    font-weight: 700;
    color: inherit;
}
.scroll-reveal-line-base {
    color: var(--line-reveal-muted);
}
.scroll-reveal-line-ink {
    position: absolute;
    inset: 0;
    color: var(--line-reveal-ink);
    opacity: var(--line-progress);
    filter: blur(calc((1 - var(--line-progress)) * 1.8px));
    text-shadow: 0 0 calc(var(--line-progress) * 8px) var(--line-reveal-glow);
    transition: opacity .32s var(--ease), filter .32s var(--ease), text-shadow .32s var(--ease);
    pointer-events: none;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--ff-d);
    font-size: .9375rem;
    font-weight: 500;
    padding: .95rem var(--space-6);
    border-radius: var(--r-sm);
    transition: all .3s var(--ease);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    white-space: nowrap;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}
.btn-primary::after { background: linear-gradient(135deg, var(--a2), var(--a1)); }
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99,102,241,0.5);
}
.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary:active {
    color: #fff;
    -webkit-text-fill-color: currentColor;
}

.btn-ghost {
    background: var(--card);
    color: var(--t1);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.btn-ghost::after { background: rgba(255,255,255,0.06); }
.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--border-hi);
    color: var(--t0);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.btn-ghost:focus-visible,
.btn-ghost:active {
    color: var(--t0);
    -webkit-text-fill-color: currentColor;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s var(--ease-spring); }
.btn:hover svg { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════════
    NAV
═══════════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    padding: 1rem 0 0;
    will-change: transform;
    transition: padding .4s var(--ease), transform .42s cubic-bezier(.22,1,.36,1), opacity .28s var(--ease);
}
.nav.scrolled {
    padding-top: .7rem;
}
.nav.is-hidden {
    transform: translate3d(0, calc(-100% - 1.25rem), 0);
    opacity: 0;
    pointer-events: none;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.5rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        rgba(2,2,8,0.54);
    backdrop-filter: blur(24px) saturate(140%);
    box-shadow:
        0 24px 60px rgba(2,6,23,0.28),
        inset 0 1px 0 rgba(255,255,255,0.08);
    transition:
        background .35s var(--ease),
        border-color .35s var(--ease),
        box-shadow .35s var(--ease),
        transform .35s var(--ease),
        opacity .18s var(--ease);
}
.nav.scrolled .nav-inner {
    border-color: rgba(99,102,241,0.16);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)),
        rgba(2,2,8,0.76);
    box-shadow:
        0 24px 70px rgba(2,6,23,0.34),
        0 0 0 1px rgba(99,102,241,0.08),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-1px);
}
.nav-logo {
    font-family: var(--ff-d);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: .55rem;
    z-index: 10;
    flex-shrink: 0;
    min-width: 0;
}
.nav-logo-text {
    display: block;
    white-space: nowrap;
}
.nav-logo-mark {
    width: 61px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
    filter: drop-shadow(0 5px 12px rgba(99,102,241,0.2));
    transition: transform .35s var(--ease-spring), filter .35s var(--ease);
}
.nav-signature-svg {
    display: block;
    width: 61px;
    height: 50px;
    overflow: visible;
    color: color-mix(in srgb, #f8fafc 76%, var(--a3) 24%);
    transform: translateY(-2px);
}
.nav-signature-path {
    fill: currentColor;
}
.nav-logo:hover .nav-logo-mark {
    transform: translateY(-1px) scale(1.025);
    filter:
        drop-shadow(0 7px 16px rgba(99,102,241,0.3))
        drop-shadow(0 0 9px rgba(34,211,238,0.14));
}
.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: .35rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1rem;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--t2);
    transition: color .25s var(--ease), transform .25s var(--ease);
    position: relative;
    z-index: 0;
    white-space: nowrap;
}
.nav-links a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(99,102,241,0.2);
    background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(34,211,238,0.12));
    box-shadow: 0 12px 26px rgba(2,6,23,0.16);
    opacity: 0;
    transform: scale(.9);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    z-index: -1;
}
.nav-links a:hover,
.nav-links a.is-active {
    color: var(--t0);
    transform: translateY(-1px);
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
    opacity: 1;
    transform: scale(1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: .85rem;
    z-index: 10;
}

.nav-cta {
    font-family: var(--ff-d);
    font-size: .875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .7rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    color: #fff;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
    box-shadow:
        0 10px 24px rgba(99,102,241,0.28),
        0 0 0 1px rgba(255,255,255,0.08) inset;
    white-space: nowrap;
}
.nav-cta:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow:
        0 16px 32px rgba(99,102,241,0.38),
        0 0 0 1px rgba(255,255,255,0.12) inset;
}
.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    z-index: 1001;
    transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.nav-hamburger span {
    display: block;
    width: 18px; height: 2px;
    background: var(--t0);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-hamburger:hover {
    border-color: var(--border-hi);
    background: rgba(99,102,241,0.08);
    transform: translateY(-1px);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: calc(env(safe-area-inset-top, 0px) + .85rem);
    padding-right: calc(env(safe-area-inset-right, 0px) + 1rem);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
    padding-left: calc(env(safe-area-inset-left, 0px) + 1rem);
    background: rgba(2,2,8,0.42);
    backdrop-filter: blur(12px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.nav-mobile.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.nav-mobile-panel {
    width: min(100%, 25rem);
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 1.85rem);
    margin-top: 0;
    padding: 1rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)),
        rgba(7,7,15,0.92);
    box-shadow:
        0 24px 70px rgba(2,6,23,0.42),
        inset 0 1px 0 rgba(255,255,255,0.08);
    transform: translateY(-18px) scale(.97);
    transition: transform .35s var(--ease-spring), opacity .3s var(--ease);
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.nav-mobile.open .nav-mobile-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.nav.menu-open .nav-inner {
    opacity: 0;
    pointer-events: none;
}
.nav-mobile-top {
    display: grid;
    gap: .8rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-mobile-brand-row,
.nav-mobile-brand,
.nav-mobile-utility {
    display: flex;
    align-items: center;
}
.nav-mobile-brand-row {
    justify-content: space-between;
    gap: .8rem;
}
.nav-mobile-brand {
    min-width: 0;
    gap: .5rem;
}
.nav-mobile-brand .nav-logo-mark {
    width: 56px;
    height: 46px;
    filter: drop-shadow(0 5px 12px rgba(99,102,241,.18));
}
.nav-mobile-brand .nav-signature-svg {
    width: 56px;
    height: 46px;
}
.nav-mobile-brand-name {
    overflow: hidden;
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-mobile-close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    background: rgba(255,255,255,.045);
    color: var(--t0);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
    transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}
.nav-mobile-close:hover {
    border-color: rgba(99,102,241,.34);
    background: rgba(99,102,241,.11);
    transform: translateY(-1px);
}
.nav-mobile-close:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--a3) 72%, white 28%);
    outline-offset: 3px;
}
.nav-mobile-close svg {
    width: 1.15rem;
    height: 1.15rem;
}
.nav-mobile-utility {
    display: grid;
    grid-template-columns: minmax(5.25rem, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: .65rem;
}
.nav-mobile-utility .nav-mobile-controls {
    display: contents;
}
.nav-mobile-utility .language-menu {
    display: contents;
}
.nav-mobile-utility .language-menu-trigger {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-height: 57px;
    padding-inline: .9rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1rem;
    background: rgba(255,255,255,.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.nav-mobile-utility .nav-mobile-cta {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 48px;
    align-self: center;
    padding: .75rem 1rem;
    font-size: .78rem;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}
.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.nav-mobile a {
    font-family: var(--ff-d);
    color: var(--t0);
}
.nav-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.05rem;
    border-radius: 1.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--t0);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition:
        color .25s var(--ease),
        background .25s var(--ease),
        border-color .25s var(--ease),
        transform .25s var(--ease),
        box-shadow .25s var(--ease);
}
.nav-mobile-link::after {
    content: '';
    width: .5rem;
    height: .5rem;
    border-radius: 999px;
    background: rgba(148,163,184,0.35);
    transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-mobile-link:hover,
.nav-mobile-link.is-active {
    color: var(--t0);
    background: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(34,211,238,0.1));
    border-color: rgba(99,102,241,0.26);
    box-shadow: 0 14px 26px rgba(2,6,23,0.18);
    transform: translateY(-1px);
}
.nav-mobile-link:hover::after,
.nav-mobile-link.is-active::after {
    background: linear-gradient(135deg, var(--a1), var(--a3));
    box-shadow: 0 0 0 4px rgba(99,102,241,0.14);
    transform: scale(1.1);
}
.nav-mobile-footer {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-top: 1rem;
}
.nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: .95rem 1.2rem;
    border-radius: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    box-shadow: 0 14px 32px rgba(99,102,241,0.28);
}

/* ── Language Switcher ───────────────────────────────────────────── */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle, .lang-toggle-mobile {
    display: flex;
    gap: .25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: .25rem;
    height: 36px;
}

.lang-btn {
    font-family: var(--ff-d);
    font-size: .75rem;
    font-weight: 600;
    padding: 0 .75rem;
    border-radius: calc(var(--r-sm) - .125rem);
    color: var(--t2);
    transition: all .25s var(--ease);
    display: flex;
    align-items: center;
}

.lang-btn:hover {
    color: var(--t0);
    background: rgba(99,102,241,0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}

.nav-mobile-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 860px) {
    :root {
        --hero-nav-offset: 7.75rem;
    }
    .nav {
        padding-top: .8rem;
    }
    .nav.scrolled {
        padding-top: .55rem;
    }
    .nav-inner {
        padding: .75rem .8rem;
        border-radius: 1.25rem;
    }
    .nav-links { display: none; }
    .nav-right {
        display: flex;
        margin-left: auto;
        gap: .55rem;
    }
    .nav-logo-text {
        font-size: 1rem;
    }
    .nav-cta {
        display: none;
    }
    .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
    :root {
        --hero-nav-offset: 7rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════
    HERO
═══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--hero-nav-offset);
    padding-bottom: 3rem;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}
.hero-orb-1 {
    width: 600px; height: 600px;
    top: -150px; right: -100px;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    animation: orbFloat1 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 500px; height: 500px;
    bottom: -100px; left: -80px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    animation: orbFloat2 10s ease-in-out infinite;
}
.hero-orb-3 {
    width: 350px; height: 350px;
    top: 40%; right: 25%;
    background: radial-gradient(circle, rgba(34,211,238,0.1) 0%, transparent 70%);
    animation: orbFloat3 12s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,40px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-30px)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(-20px,20px)} 66%{transform:translate(20px,-20px)} }
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: .55rem 1.15rem;
    border-radius: 99px;
    border: 1px solid rgba(34,211,238,0.3);
    background: rgba(34,211,238,0.06);
    font-size: .8125rem;
    font-weight: 500;
    color: var(--a3);
    margin-bottom: var(--space-6);
    opacity: 0;
    animation: fadeInUp .8s var(--ease) .2s forwards;
}
.hero-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--a3);
    box-shadow: 0 0 8px var(--a3);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 6px var(--a3); }
    50% { box-shadow: 0 0 14px var(--a3), 0 0 24px rgba(34,211,238,0.4); }
}
.hero-name {
    font-family: var(--ff-d);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.03em;
    margin-bottom: var(--space-4);
    opacity: 0;
    animation: fadeInUp .9s var(--ease) .4s forwards;
}
.hero-title {
    font-family: var(--ff-d);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: var(--t1);
    max-width: 72rem;
    margin-bottom: var(--space-5);
    line-height: 1.4;
    text-wrap: pretty;
    opacity: 0;
    animation: fadeInUp .9s var(--ease) .55s forwards;
}
.hero-title strong { font-weight: 600; color: var(--t0); }
.hero-desc {
    font-size: 1.0625rem;
    color: var(--t2);
    max-width: 66rem;
    width: min(100%, 66rem);
    line-height: 1.75;
    text-wrap: pretty;
    margin-bottom: calc(var(--space-7) + .25rem);
    opacity: 0;
    animation: fadeInUp .9s var(--ease) .7s forwards;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-9);
    opacity: 0;
    animation: fadeInUp .9s var(--ease) .85s forwards;
}
.hero-stats {
    display: flex;
    gap: var(--space-7);
    opacity: 0;
    animation: fadeInUp .9s var(--ease) 1s forwards;
}
.hero-stat-value {
    font-family: var(--ff-d);
    font-size: 1.875rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--t0), var(--a1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: .25rem;
}
.hero-stat-label { font-size: .8125rem; color: var(--t2); font-weight: 500; }
.hero-stat-divider { width: 1px; background: var(--border); align-self: stretch; }
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    width: fit-content;
    margin: var(--space-6) auto 0;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp .9s var(--ease) 1.4s forwards;
}
.scroll-indicator-mouse {
    position: relative;
    width: 21px;
    height: 34px;
    border-radius: 999px;
    border: 1.5px solid rgba(99,102,241,0.34);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
    box-shadow: 0 8px 20px rgba(99,102,241,0.08);
    animation: mouseFloat 3.6s ease-in-out infinite, mouseShellGlow 3.6s ease-in-out infinite;
    overflow: visible;
}
.scroll-indicator-mouse::before,
.scroll-indicator-mouse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}
.scroll-indicator-mouse::before {
    inset: -6px;
    background:
        radial-gradient(circle at 50% 30%, rgba(129,140,248,0.34), transparent 54%),
        radial-gradient(circle at 50% 100%, rgba(34,211,238,0.18), transparent 64%);
    filter: blur(8px);
    animation: mouseHaloPulse 3.6s ease-in-out infinite;
    z-index: -1;
}
.scroll-indicator-mouse::after {
    inset: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 32%, transparent 68%, rgba(56,189,248,0.1));
    opacity: .4;
    mix-blend-mode: screen;
    animation: mouseReflectSweep 3.6s ease-in-out infinite;
}
.scroll-indicator-wheel {
    width: 3px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(34,211,238,0.95));
    box-shadow:
        0 0 10px rgba(34,211,238,0.24),
        0 0 18px rgba(129,140,248,0.14);
    animation: scrollWheel 2.1s cubic-bezier(.22,.61,.36,1) infinite, mouseHaloPulse 2.1s ease-in-out infinite;
}
.scroll-indicator-text {
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--t3);
}
@keyframes scrollWheel {
    0% {
        transform: translateY(0) scaleY(1);
        opacity: 0;
    }
    18% {
        opacity: 1;
    }
    62% {
        transform: translateY(9px) scaleY(.92);
        opacity: .18;
    }
    63% {
        transform: translateY(0) scaleY(1);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scaleY(1);
        opacity: 0;
    }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════
    ABOUT
═══════════════════════════════════════════════════════════════════ */
.about { background: var(--bg-1); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}
.about-image-wrap {
    position: relative;
    isolation: isolate;
    perspective: 1400px;
}
.about-image-wrap::before,
.about-image-wrap::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity .8s var(--ease);
}
.about-image-wrap::before {
    width: 320px;
    height: 320px;
    top: -2rem;
    left: -3rem;
    background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
    filter: blur(8px);
}
.about-image-wrap::after {
    width: 220px;
    height: 220px;
    right: -2rem;
    bottom: 1rem;
    background: radial-gradient(circle, rgba(34,211,238,0.12) 0%, transparent 68%);
}
.about.in-view .about-image-wrap::before {
    opacity: .8;
    animation: ambientFloat 10s ease-in-out infinite;
}
.about.in-view .about-image-wrap::after {
    opacity: .7;
    animation: ambientFloatAlt 12s ease-in-out infinite;
}
.about-avatar {
    width: 100%;
    aspect-ratio: .9 / 1;
    max-width: 580px;
    border-radius: var(--r-lg);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        linear-gradient(160deg, rgba(15,23,42,0.98), rgba(7,10,18,0.98));
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    position: relative;
    transform: translate3d(0, calc(18px + (var(--section-parallax-mid) * .28)), 0) rotateX(2deg) rotateY(-4deg);
    transform-style: preserve-3d;
    transition: transform .8s var(--ease), box-shadow .8s var(--ease), border-color .8s var(--ease);
    box-shadow:
        0 24px 60px rgba(0,0,0,0.24),
        0 18px 34px rgba(99,102,241,0.08),
        inset 0 1px 0 rgba(255,255,255,0.08);
}
.about-image-wrap.visible .about-avatar {
    transform: translate3d(0, calc(var(--section-parallax-mid) * .34), 0) rotateX(0) rotateY(0);
    border-color: rgba(255,255,255,0.12);
    box-shadow:
        0 34px 86px rgba(0,0,0,0.34),
        0 26px 52px rgba(99,102,241,0.1),
        0 0 44px rgba(34,211,238,0.08),
        inset 0 1px 0 rgba(255,255,255,0.08);
}
.about-avatar::before {
    content: '';
    position: absolute;
    inset: 1.1rem;
    border-radius: calc(var(--r-lg) - .6rem);
    border: 1px solid rgba(255,255,255,0.07);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 14px 28px rgba(2,6,23,0.12);
    z-index: 0;
    pointer-events: none;
}
.about-avatar::after {
    content: '';
    position: absolute;
    inset: -35% auto -35% -55%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    opacity: 0;
    pointer-events: none;
    transform: skewX(-18deg);
}
.about-image-wrap.visible .about-avatar::after {
    animation: ambientSheen 1.6s var(--ease) .35s both;
}
.about-avatar-inner {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 20%, rgba(99,102,241,0.28), transparent 24%),
        radial-gradient(circle at 50% 82%, rgba(34,211,238,0.14), transparent 34%),
        linear-gradient(160deg, rgba(18,24,38,0.98), rgba(8,12,22,1));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.about-avatar-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), transparent 24%, transparent 70%, rgba(7,10,18,0.3)),
        linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.08) 50%, rgba(34,211,238,0.06) 100%);
    z-index: 2;
    pointer-events: none;
}
.about-avatar-inner::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(99,102,241,0.12), rgba(34,211,238,0.06) 24%, transparent 56%),
        linear-gradient(180deg, transparent 0%, rgba(7,10,18,0.12) 34%, rgba(7,10,18,0.72) 100%);
    z-index: 2;
    pointer-events: none;
}
.about-avatar-aura {
    position: absolute;
    inset: 11% 20% 18%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, rgba(255,255,255,0.24) 0%, rgba(99,102,241,0.3) 20%, rgba(34,211,238,0.14) 44%, transparent 72%);
    filter: blur(14px);
    opacity: .56;
    z-index: 0;
    transform: translate3d(0, calc(var(--section-parallax-soft) * -.26), 0);
    transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.about-avatar-photo {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 94%;
    max-height: 94%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    transform: translate3d(-50%, calc(18px + (var(--section-parallax-strong) * .24)), 26px) scale(1.01);
    transform-origin: center bottom;
    filter:
        drop-shadow(0 40px 56px rgba(2,6,23,0.42))
        drop-shadow(0 16px 24px rgba(99,102,241,0.1))
        drop-shadow(0 0 18px rgba(34,211,238,0.04))
        drop-shadow(0 10px 16px rgba(255,255,255,0.05))
        saturate(1.04)
        contrast(1.03);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 84%, rgba(0,0,0,0.94) 90%, rgba(0,0,0,0.22) 97%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 84%, rgba(0,0,0,0.94) 90%, rgba(0,0,0,0.22) 97%, transparent 100%);
    z-index: 1;
    transition: transform 1s cubic-bezier(.22,1,.36,1), filter .8s var(--ease);
    will-change: transform, filter;
    pointer-events: none;
}
.about-image-wrap.visible .about-avatar-photo {
    transform: translate3d(-50%, calc(var(--section-parallax-strong) * .3), 32px) scale(1.02);
}
.about-avatar-decoration {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 140px; height: 140px;
    border-radius: 50%;
    border: 1px solid var(--border-hi);
    background: rgba(99,102,241,0.06);
}
.about.in-view .about-avatar-decoration {
    animation: ambientFloatAlt 8.5s ease-in-out infinite;
}
.about-avatar-decoration-2 {
    position: absolute;
    top: -15px; left: -15px;
    width: 90px; height: 90px;
    border-radius: 50%;
    border: 1px solid rgba(34,211,238,0.2);
    background: rgba(34,211,238,0.04);
}
.about.in-view .about-avatar-decoration-2 {
    animation: ambientFloat 7s ease-in-out infinite;
}
.about-floating-badge {
    position: absolute;
    bottom: 2rem; right: -1.5rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.about-image-wrap.visible .about-floating-badge {
    animation: ambientFloat 7.5s ease-in-out infinite 1s;
}
.about-floating-badge:hover {
    box-shadow: 0 22px 56px rgba(0,0,0,0.28);
}
.about-floating-badge-icon {
    width: 36px; height: 36px;
    border-radius: .625rem;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}
.about-floating-badge-text strong {
    display: block;
    font-family: var(--ff-d);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.2;
}
.about-floating-badge-text span { font-size: .75rem; color: var(--t2); }
.about-text-block {
    font-size: 1.0625rem;
    color: var(--t1);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-top: var(--space-7);
}
.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: 1.2rem;
    border-radius: var(--r-sm);
    background: var(--card);
    border: 1px solid var(--border);
    transition: all .3s var(--ease);
}
.about-highlight:hover {
    background: var(--card-h);
    border-color: var(--border-hi);
    --surface-hover-lift: -2px;
}
.about-highlight-icon { font-size: 1.25rem; line-height: 1; flex-shrink: 0; margin-top: .1rem; }
.about-highlight strong { display: block; font-family: var(--ff-d); font-size: .875rem; font-weight: 600; margin-bottom: .2rem; }
.about-highlight span { font-size: .8125rem; color: var(--t2); }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: var(--space-8); }
    .about-avatar {
        aspect-ratio: .88 / 1;
        max-width: 360px;
        margin-inline: auto;
    }
    .about-avatar-aura {
        inset: 11% 12% 18%;
    }
    .about-avatar-photo {
        left: 50%;
        width: 100%;
        height: 93%;
        max-height: 93%;
    }
    .about-floating-badge { right: 0; bottom: 1rem; }
    .about-highlights { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
    PROJECTS
═══════════════════════════════════════════════════════════════════ */
.projects {
    background: var(--bg-1);
    position: relative;
    overflow: hidden;
}
.projects::before,
.projects::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.projects::before {
    top: -120px;
    left: -120px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(99,102,241,0.10) 0%, transparent 72%);
    opacity: .55;
}
.projects::after {
    right: -140px;
    bottom: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(34,211,238,0.08) 0%, transparent 72%);
    opacity: .45;
}
.projects.in-view::before { animation: ambientFloat 17s ease-in-out infinite; }
.projects.in-view::after { animation: ambientFloatAlt 19s ease-in-out infinite; }
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-6);
    margin-bottom: calc(var(--space-8) + .5rem);
    flex-wrap: wrap;
}
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.project-card {
    --glow-x: 50%;
    --glow-y: 32%;
    --glow-alpha: 0;
    border-radius: var(--r-lg);
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}
.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y),
        rgba(255,255,255,0.14) 0,
        rgba(99,102,241,0.20) 12%,
        rgba(139,92,246,0.14) 24%,
        rgba(34,211,238,0.10) 36%,
        transparent 58%);
    opacity: var(--glow-alpha);
    transition: opacity .4s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.project-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y),
        rgba(255,255,255,0.12) 0,
        rgba(255,255,255,0.04) 18%,
        transparent 40%);
    opacity: calc(var(--glow-alpha) * .85);
    transition: opacity .4s var(--ease);
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}
.project-card:hover {
    --glow-alpha: 1;
    --surface-hover-lift: -4px;
    border-color: rgba(99,102,241,0.22);
    box-shadow: 0 18px 48px rgba(0,0,0,0.36), 0 0 28px rgba(99,102,241,0.08);
}
.project-card:focus-within {
    --glow-alpha: .85;
    --surface-hover-lift: -2px;
}
.project-card > * {
    position: relative;
    z-index: 1;
}
.project-card.featured { grid-column: span 2; }
.project-card.featured {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
    align-items: stretch;
}
.project-visual {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.project-card.featured .project-visual {
    height: 100%;
    min-height: 518px;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.project-visual::before {
    content: '';
    position: absolute;
    inset: -18%;
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y),
        rgba(255,255,255,0.10) 0,
        rgba(99,102,241,0.14) 16%,
        rgba(34,211,238,0.08) 28%,
        transparent 54%);
    opacity: calc(var(--glow-alpha) * .7);
    transition: opacity .4s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.project-visual::after {
    content: '';
    position: absolute;
    inset: -18% auto -18% -24%;
    width: 30%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-150%) skewX(-18deg);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}
.project-card.visible .project-visual::after {
    animation: ambientSheen 1.7s var(--ease) .35s both;
}
.project-visual-inner {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform .5s var(--ease);
    z-index: 1;
}
.project-card:hover .project-visual-inner { transform: scale(1.04); }
.project-card:hover .project-visual-inner { transform: scale(1.02); }
.project-card.featured:hover .project-visual-inner { transform: scale(1.008); }

@keyframes showcaseDesktopFloat {
    0%, 100% {
        transform: translate3d(0, calc(var(--section-parallax-mid) * .16), 0);
    }
    50% {
        transform: translate3d(0, calc(-6px + (var(--section-parallax-mid) * .22)), 0);
    }
}

@keyframes showcasePhoneFloat {
    0%, 100% {
        transform: translate3d(0, calc(var(--section-parallax-strong) * -.12), 0) rotate(-1.35deg);
    }
    50% {
        transform: translate3d(0, calc(-10px + (var(--section-parallax-strong) * -.18)), 0) rotate(-.45deg);
    }
}

@keyframes showcaseScreenDriftDesktop {
    0%, 100% {
        transform: translate3d(0, calc(var(--section-parallax-soft) * .14), 0) scale(1.01);
    }
    50% {
        transform: translate3d(0, calc(-1.4% + (var(--section-parallax-soft) * .2)), 0) scale(1.02);
    }
}

@keyframes showcaseScreenDriftMobile {
    0%, 100% {
        transform: translate3d(0, calc(var(--section-parallax-mid) * .16), 0) scale(1.02);
    }
    50% {
        transform: translate3d(0, calc(-2.1% + (var(--section-parallax-mid) * .24)), 0) scale(1.045);
    }
}

@keyframes showcasePhoneSheen {
    0% {
        opacity: 0;
        transform: translate3d(-135%, 0, 0) skewX(-16deg);
    }
    16% {
        opacity: .16;
    }
    100% {
        opacity: 0;
        transform: translate3d(155%, 0, 0) skewX(-16deg);
    }
}

.pv-luminary { background: linear-gradient(135deg, #0d0d1a 0%, #1a0a2e 40%, #0d1a2e 100%); }
.pv-nexus    { background: linear-gradient(135deg, #050f1a 0%, #0a1a2e 50%, #0d0d2e 100%); }
.pv-prism    { background: linear-gradient(135deg, #0a0a18 0%, #12082a 50%, #08121a 100%); }
.pv-vertex   { background: linear-gradient(135deg, #08100a 0%, #0d1a10 50%, #0a0a18 100%); }
.project-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 1.15rem 1.4rem 2.2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.2rem;
    z-index: 3;
}
.project-showcase-mystaroptic {
    --mystaroptic-stage-top: rgba(255,255,255,0.12);
    --mystaroptic-stage-bottom: rgba(255,255,255,0.02);
    --mystaroptic-device-shell: rgba(7,10,18,0.92);
    --mystaroptic-device-stroke: rgba(255,255,255,0.12);
    --mystaroptic-screen-top: rgba(255,255,255,0.08);
    --mystaroptic-screen-bottom: rgba(255,255,255,0.02);
    --mystaroptic-screen-base: rgba(10,13,24,0.98);
    --mystaroptic-ui-strong: rgba(255,255,255,0.9);
    --mystaroptic-ui-mid: rgba(255,255,255,0.8);
    --mystaroptic-card: rgba(255,255,255,0.03);
    --mystaroptic-card-stroke: rgba(255,255,255,0.08);
    --mystaroptic-caption-bg: rgba(7,10,18,0.72);
}
.project-showcase::before,
.project-showcase::after {
    content: '';
    position: absolute;
    pointer-events: none;
    filter: blur(30px);
    transition: transform .95s cubic-bezier(.22,1,.36,1);
}
.project-showcase::before {
    width: 20rem;
    height: 20rem;
    left: -1%;
    top: -10%;
    border-radius: 50%;
    background:
        radial-gradient(circle, color-mix(in srgb, var(--a1) 42%, transparent) 0%, color-mix(in srgb, var(--a3) 12%, transparent) 38%, transparent 70%);
    opacity: .38;
    filter: blur(42px);
    transform: translate3d(0, calc(var(--section-parallax-strong) * -.12), 0);
}
.project-showcase::after {
    inset: auto 10% .45rem;
    height: 5.4rem;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at center, rgba(255,255,255,0.18) 0%, rgba(99,102,241,0.18) 22%, rgba(34,211,238,0.08) 44%, transparent 72%);
    opacity: .46;
    filter: blur(26px);
    transform: translate3d(0, calc(var(--section-parallax-soft) * .2), 0);
}
.project-showcase-desktop {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-right: 11.4rem;
}
.project-showcase-mobile {
    position: absolute;
    right: 1.35rem;
    bottom: .35rem;
    z-index: 4;
    transform-origin: 50% 100%;
}
.project-showcase-mobile::before {
    content: '';
    position: absolute;
    inset: 7% 12%;
    border-radius: 2.6rem;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.18) 46%, transparent 62%);
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    filter: blur(1px);
    z-index: 6;
}
.project-device-laptop-shell,
.project-device-phone-shell {
    position: relative;
}
.project-device-laptop-shell {
    width: min(100%, 820px);
    padding-bottom: 2.25rem;
}
.project-device-laptop-shell::before {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: .26rem;
    height: 1.18rem;
    border-radius: 0 0 1.45rem 1.45rem;
    background:
        linear-gradient(180deg, rgba(214,219,228,0.96), rgba(136,143,158,0.82));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.46),
        0 14px 28px rgba(2,6,23,0.18);
    opacity: .95;
}
.project-device-laptop-shell::after {
    content: '';
    position: absolute;
    left: 46%;
    right: 46%;
    bottom: .86rem;
    height: .14rem;
    border-radius: 999px;
    background: rgba(41,51,69,0.26);
}
.project-device-phone-shell {
    padding: .4rem .35rem 2.1rem;
    filter: drop-shadow(0 26px 44px rgba(2,6,23,0.28));
}
.project-device-phone-shell::before,
.project-device-phone-shell::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(190,196,207,0.92), rgba(103,111,123,0.98));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.32),
        0 1px 4px rgba(2,6,23,0.18);
    pointer-events: none;
}
.project-device-phone-shell::before {
    left: .02rem;
    top: 4.55rem;
    width: .16rem;
    height: 1.45rem;
    box-shadow:
        0 -2rem 0 0 rgba(159,167,179,0.98),
        0 2rem 0 0 rgba(159,167,179,0.98);
}
.project-device-phone-shell::after {
    right: .02rem;
    top: 5rem;
    width: .16rem;
    height: 2.25rem;
}
.project-device {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--mystaroptic-stage-top, rgba(255,255,255,0.12)), var(--mystaroptic-stage-bottom, rgba(255,255,255,0.02))),
        var(--mystaroptic-device-shell, rgba(7,10,18,0.92));
    border: 1px solid var(--mystaroptic-device-stroke, rgba(255,255,255,0.12));
    box-shadow:
        0 24px 60px rgba(2,6,23,0.34),
        inset 0 1px 0 rgba(255,255,255,0.14);
    backdrop-filter: blur(22px) saturate(140%);
}
.project-device::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 18%, transparent 46%);
    pointer-events: none;
    opacity: .85;
}
.project-device::after {
    content: '';
    position: absolute;
    inset: auto 14% 7%;
    height: 18%;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 72%);
    pointer-events: none;
    opacity: .35;
}
.project-device-desktop {
    width: 100%;
    border-radius: 1.45rem 1.45rem 1rem 1rem;
    padding: .84rem .84rem 1.02rem;
    transform: none;
    background:
        linear-gradient(180deg, rgba(204,211,223,0.16), rgba(255,255,255,0.03) 18%, rgba(255,255,255,0.01)),
        linear-gradient(180deg, rgba(28,35,52,0.98), rgba(10,13,24,0.99));
}
.project-device-mobile {
    width: 196px;
    border-radius: 2.85rem;
    padding: .28rem;
    background:
        linear-gradient(180deg, rgba(224,228,234,0.96) 0%, rgba(142,150,162,0.98) 16%, rgba(74,82,95,0.99) 34%, rgba(20,24,34,1) 68%, rgba(8,10,18,1) 100%);
    border-color: rgba(255,255,255,0.28);
    transform: none;
    box-shadow:
        0 28px 58px rgba(2,6,23,0.34),
        0 10px 22px rgba(2,6,23,0.18),
        0 0 0 1px rgba(255,255,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -8px 18px rgba(0,0,0,0.22);
}
.project-device-mobile::before {
    inset: 1px;
    border-radius: calc(2.85rem - 1px);
    background:
        linear-gradient(115deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.05) 16%, transparent 32%, transparent 72%, rgba(255,255,255,0.08) 100%);
    opacity: .9;
}
.project-device-mobile::after {
    inset: auto 18% 5.5%;
    height: 10%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.07), transparent 72%);
    opacity: .24;
}
.project-device-chrome {
    display: flex;
    align-items: center;
    gap: .38rem;
    margin-bottom: .76rem;
    padding-inline: .28rem;
    opacity: .92;
    position: relative;
    min-height: .75rem;
}
.project-device-chrome span {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
}
.project-device-chrome span:nth-child(1) { background: rgba(244,114,182,0.85); }
.project-device-chrome span:nth-child(2) { background: rgba(245,158,11,0.85); }
.project-device-chrome span:nth-child(3) { background: rgba(34,197,94,0.82); }
.project-device-chrome::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: .4rem;
    height: .4rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(106,212,255,0.34), rgba(11,15,24,0.98) 72%);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.project-device-notch {
    width: 35%;
    height: .82rem;
    border-radius: 999px;
    margin: .2rem auto .28rem;
    background:
        linear-gradient(180deg, rgba(10,12,19,0.99), rgba(3,5,10,1));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 1px 0 rgba(255,255,255,0.03),
        0 6px 12px rgba(0,0,0,0.14);
    position: relative;
}
.project-device-notch::after {
    content: '';
    position: absolute;
    right: .48rem;
    top: 50%;
    width: .28rem;
    height: .28rem;
    border-radius: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle at 35% 35%, rgba(89,201,255,0.5), rgba(8,10,18,0.98) 74%);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 0 10px rgba(56,189,248,0.12);
}
.project-device-screen {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--mystaroptic-screen-top, rgba(255,255,255,0.08)), var(--mystaroptic-screen-bottom, rgba(255,255,255,0.02))),
        var(--mystaroptic-screen-base, rgba(10,13,24,0.98));
    border: 1px solid color-mix(in srgb, var(--mystaroptic-device-stroke, rgba(255,255,255,0.12)) 58%, transparent);
}
.project-device-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 18%, transparent 84%, rgba(255,255,255,0.02));
    pointer-events: none;
}
.project-device-screen-desktop {
    aspect-ratio: 16 / 10;
    border-radius: .95rem;
}
.project-device-screen-mobile {
    aspect-ratio: 430 / 932;
    border-radius: 2.46rem;
}
.project-screen-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
        rgba(244,247,251,0.98);
}
.project-screen-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 16%, transparent 30%),
        linear-gradient(180deg, transparent 88%, rgba(7,10,18,0.03) 100%);
    pointer-events: none;
    z-index: 2;
}
.project-screen-media::after {
    content: '';
    position: absolute;
    inset: auto 8% 5%;
    height: 12%;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.22), rgba(34,211,238,0.1) 38%, transparent 72%);
    opacity: .45;
    filter: blur(16px);
    pointer-events: none;
    z-index: 1;
}
.project-screen-shot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    transform: none;
    position: relative;
    z-index: 0;
}
.project-showcase-mystaroptic .project-screen-shot {
    filter: brightness(.9) saturate(.96) contrast(1.02);
}
.project-screen-media-desktop .project-screen-shot {
    object-position: top center;
}
.project-screen-media-mobile .project-screen-shot {
    object-fit: cover;
    object-position: top center;
}
.project-card.visible .project-showcase-desktop {
    animation: showcaseDesktopFloat 10.5s cubic-bezier(.37,0,.25,1) infinite;
}

.project-card.visible .project-showcase-mobile {
    animation: showcasePhoneFloat 9.4s cubic-bezier(.37,0,.25,1) infinite;
}

.project-card.visible .project-screen-media-desktop .project-screen-shot {
    animation: showcaseScreenDriftDesktop 15s cubic-bezier(.37,0,.25,1) infinite;
}

.project-card.visible .project-screen-media-mobile .project-screen-shot {
    animation: showcaseScreenDriftMobile 14s cubic-bezier(.37,0,.25,1) infinite;
}

.project-card.visible .project-showcase-mobile::before {
    animation: showcasePhoneSheen 7.8s cubic-bezier(.22,1,.36,1) 1.2s infinite;
}

@media (prefers-reduced-motion: reduce) {
    .project-card.visible .project-showcase-desktop,
    .project-card.visible .project-showcase-mobile,
    .project-card.visible .project-showcase-mobile::before,
    .project-card.visible .project-screen-media-desktop .project-screen-shot,
    .project-card.visible .project-screen-media-mobile .project-screen-shot {
        animation: none !important;
        transform: none !important;
    }
}

.project-device-desktop .project-device-screen {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 20px 38px rgba(2,6,23,0.14);
}
.project-device-mobile .project-device-screen {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 18px 34px rgba(2,6,23,0.18);
}
.project-showcase-caption {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .22rem;
    min-width: 10.8rem;
    max-width: 11.8rem;
    padding: .8rem .94rem .88rem;
    border-radius: 1.05rem;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--mystaroptic-caption-bg, rgba(7,10,18,0.82)) 96%, rgba(255,255,255,0.04)), color-mix(in srgb, var(--mystaroptic-caption-bg, rgba(7,10,18,0.82)) 88%, rgba(255,255,255,0.02)));
    border: 1px solid color-mix(in srgb, var(--mystaroptic-card-stroke, rgba(255,255,255,0.08)) 88%, rgba(255,255,255,0.08));
    box-shadow:
        0 18px 36px rgba(2,6,23,0.28),
        inset 0 1px 0 rgba(255,255,255,0.07);
    color: color-mix(in srgb, var(--mystaroptic-ui-strong, rgba(248,250,252,0.82)) 92%, transparent);
    backdrop-filter: blur(18px);
    white-space: normal;
}
.project-showcase-caption::before {
    content: '';
    width: 2rem;
    height: .2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99,102,241,0.95), rgba(34,211,238,0.88));
    box-shadow: 0 0 0 5px rgba(99,102,241,0.08);
}
.project-showcase-caption-desktop {
    left: .8rem;
    bottom: 0;
}
.project-showcase-caption-mobile {
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    min-width: 9.2rem;
    max-width: 9.2rem;
}
.project-showcase-caption-kicker {
    font-size: .52rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--mystaroptic-ui-mid, rgba(255,255,255,0.72)) 90%, transparent);
}
.project-showcase-caption-title {
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.01em;
}

/* ── Real Device Mockups ───────────────────────────────────────── */
.project-showcase-mystaroptic {
    --project-mac-scale: .94;
    --project-phone-scale: .46;
}

.project-device-laptop-shell--real,
.project-device-phone-shell--real {
    position: relative;
    padding: 0;
    filter: none;
}

.project-device-laptop-shell--real::before,
.project-device-laptop-shell--real::after,
.project-device-phone-shell--real::before,
.project-device-phone-shell--real::after {
    display: none;
}

.project-device-laptop-shell--real {
    width: calc(740px * var(--project-mac-scale));
    max-width: 100%;
    height: calc(434px * var(--project-mac-scale));
    padding-bottom: calc(28px * var(--project-mac-scale));
}

.project-device-phone-shell--real {
    width: calc(428px * var(--project-phone-scale));
    height: calc(868px * var(--project-phone-scale));
    padding-bottom: 0;
}

.project-device-real {
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: top center;
    backface-visibility: hidden;
}

.project-device-real-desktop {
    transform: translateX(-50%) scale(var(--project-mac-scale));
}

.project-device-real-mobile {
    transform: translateX(-50%) scale(var(--project-phone-scale));
}

.project-device-real .device-frame {
    overflow: hidden;
}

.project-device-real .device-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
        rgba(247,248,251,0.98);
}

.project-device-real-desktop.device-macbook-pro .device-frame {
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.06),
        0 22px 40px rgba(2,6,23,0.18);
}

.project-device-real-desktop.device-macbook-pro .device-screen {
    filter: brightness(.96) saturate(.98) contrast(1.02);
}

.project-device-real-mobile.device-iphone-14-pro .device-frame {
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08),
        0 24px 46px rgba(2,6,23,0.24);
}

.project-device-real-mobile.device-iphone-14-pro .device-screen {
    filter: brightness(.98) saturate(1) contrast(1.02);
}

.project-device-real-mobile.device-iphone-14-pro.device-black .device-frame {
    border-color: rgba(134,137,145,0.96);
    box-shadow:
        inset 0 0 4px 2px rgba(255,255,255,0.72),
        inset 0 0 0 6px rgba(116,118,125,0.96);
}

.project-device-real-mobile.device-iphone-14-pro .device-btns,
.project-device-real-mobile.device-iphone-14-pro .device-btns::after,
.project-device-real-mobile.device-iphone-14-pro .device-btns::before,
.project-device-real-mobile.device-iphone-14-pro .device-power {
    background: rgba(116,118,125,0.98);
}

.project-device-real-mobile.device-iphone-14-pro .device-screen {
    border-radius: 49px;
}

.project-device-laptop-shell--real .project-showcase-caption-desktop {
    left: .8rem;
}

.project-device-phone-shell--real .project-showcase-caption-mobile {
    bottom: -1.25rem;
}

.project-card.visible .project-device-real-desktop .device-screen {
    animation: showcaseScreenDriftDesktop 15s cubic-bezier(.37,0,.25,1) infinite;
}

.project-card.visible .project-device-real-mobile .device-screen {
    animation: showcaseScreenDriftMobile 14s cubic-bezier(.37,0,.25,1) infinite;
}

@media (max-width: 980px) {
    .project-showcase-mystaroptic {
        --project-mac-scale: .84;
        --project-phone-scale: .4;
    }
}

@media (max-width: 768px) {
    .project-showcase-mystaroptic {
        --project-mac-scale: .72;
        --project-phone-scale: .35;
    }

    .project-device-laptop-shell--real .project-showcase-caption-desktop {
        left: .5rem;
    }
}

@media (max-width: 520px) {
    .project-showcase-mystaroptic {
        --project-mac-scale: .58;
        --project-phone-scale: .29;
    }
}

.project-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(7,7,15,0.02), transparent 22%, transparent 78%, rgba(7,7,15,0.08) 100%);
    z-index: 2;
}
.project-body {
    padding: 1.35rem 1.3rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.project-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.project-type { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--a1); }
.project-year { font-size: .75rem; color: var(--t3); font-weight: 500; }
.project-name { font-family: var(--ff-d); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: var(--space-2); line-height: 1.2; }
.project-desc { font-size: .9375rem; color: var(--t2); line-height: 1.7; margin-bottom: var(--space-5); flex: 1; }
.project-tech { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: var(--space-5); }
.project-card.featured .project-meta {
    margin-bottom: .8rem;
}
.project-card.featured .project-name {
    font-size: 1.1rem;
    margin-bottom: .7rem;
}
.project-card.featured .project-desc {
    font-size: .865rem;
    line-height: 1.62;
    margin-bottom: 1rem;
    color: color-mix(in srgb, var(--t1) 74%, var(--t2));
}
.project-card.featured .project-tech {
    gap: .45rem;
    margin-bottom: 1rem;
}
.project-card.featured .project-tech-tag {
    font-size: .69rem;
    padding: .28rem .62rem;
}
.project-card.featured .project-btn {
    padding: .78rem 1rem;
    font-size: .78rem;
}
.project-tech-tag {
    font-size: .75rem;
    font-weight: 500;
    padding: .3rem .7rem;
    border-radius: .4rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--t2);
    transition: all .25s;
}
.project-card:hover .project-tech-tag { border-color: rgba(99,102,241,0.25); color: var(--t1); }
.project-actions { display: flex; gap: var(--space-2); }
.project-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: .8rem 1.25rem;
    border-radius: .625rem;
    font-family: var(--ff-d);
    font-size: .8125rem;
    font-weight: 600;
    transition: all .25s var(--ease);
}
.project-btn-primary { background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; }
.project-btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(99,102,241,0.35); }
.project-btn-ghost { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--t1); }
.project-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--border-hi); transform: translateY(-1px); }
.project-btn svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
    .project-card.featured {
        grid-template-columns: 1fr;
    }
    .project-card.featured .project-visual {
        min-height: 470px;
        height: 470px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .project-showcase {
        padding: 1rem 1rem 1.8rem;
    }
    .project-showcase-desktop {
        padding-right: 7.4rem;
    }
    .project-device-laptop-shell {
        width: min(100%, 740px);
        padding-bottom: 2rem;
    }
    .project-device-desktop {
        width: 100%;
        transform: none;
    }
    .project-showcase-mobile {
        right: .55rem;
        bottom: .15rem;
    }
    .project-device-mobile {
        width: 170px;
        transform: none;
    }
    .project-device-phone-shell {
        padding-top: .72rem;
        padding-bottom: 2.05rem;
    }
    .project-body {
        padding: 1.2rem 1.15rem 1.15rem;
    }
}

@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
    .project-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    .project-card.featured .project-visual {
        min-height: 410px;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .project-showcase {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: .45rem;
        padding: 1rem .95rem 1.35rem;
    }
    .project-showcase-desktop {
        width: 100%;
        padding-right: 0;
    }
    .project-device-desktop {
        width: 100%;
        transform: none;
    }
    .project-showcase-mobile {
        position: relative;
        right: auto;
        bottom: auto;
        margin-left: 0;
        justify-self: end;
    }
    .project-device-mobile {
        width: 156px;
        transform: none;
    }
    .project-showcase-caption {
        min-width: 9rem;
        max-width: 9.6rem;
        padding: .68rem .78rem .76rem;
    }
    .project-showcase-caption-desktop {
        left: .5rem;
        bottom: 0;
    }
    .project-showcase-caption-mobile {
        bottom: 0;
        min-width: 8rem;
        max-width: 8rem;
    }
    .project-showcase-caption-kicker {
        font-size: .48rem;
    }
    .project-showcase-caption-title {
        font-size: .8rem;
    }
    .project-body {
        padding: 1.15rem 1.05rem 1.1rem;
    }
}

@media (max-width: 520px) {
    .project-card.featured .project-visual {
        min-height: 338px;
    }
    .project-showcase {
        gap: .3rem;
        padding: .82rem .72rem 1.08rem;
    }
    .project-showcase-desktop {
        padding-right: 0;
    }
    .project-showcase-mobile {
        margin-left: 0;
    }
    .project-device-laptop-shell {
        padding-bottom: 1.72rem;
    }
    .project-device-mobile {
        width: 126px;
    }
    .project-showcase-caption {
        min-width: 7.2rem;
        max-width: 7.6rem;
        padding: .54rem .62rem .58rem;
        border-radius: .92rem;
    }
    .project-showcase-caption::before {
        width: 1.45rem;
        height: .16rem;
    }
    .project-showcase-caption-kicker {
        font-size: .42rem;
        letter-spacing: .15em;
    }
    .project-showcase-caption-title {
        font-size: .68rem;
    }
    .project-showcase-caption-mobile {
        min-width: 6.7rem;
        max-width: 6.7rem;
    }
    .project-card.featured .project-name {
        font-size: 1.02rem;
    }
    .project-card.featured .project-desc {
        font-size: .82rem;
        line-height: 1.56;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-card,
    .project-card::before,
    .project-card::after,
    .project-visual::before,
    .project-visual::after,
    .project-visual-inner,
    .scroll-indicator,
    .scroll-indicator-mouse,
    .scroll-indicator-mouse::before,
    .scroll-indicator-mouse::after,
    .scroll-indicator-wheel,
    .about-image-wrap::before,
    .about-image-wrap::after,
    .about-avatar,
    .about-avatar::after,
    .about-avatar-aura,
    .about-avatar-photo,
    .about-avatar-decoration,
    .about-avatar-decoration-2,
    .about-floating-badge,
    .skills::before,
    .skills::after,
    .skill-category-icon,
    .skill-chips::before,
    .job-experience::after,
    .job-experience-panel::after,
    .job-timeline::after,
    .job-card::before,
    .experience::before,
    .process-step::before,
    .contact::before,
    .contact::after,
    .contact-form::before {
        transition: none;
        animation: none;
    }
}

/* ── MyStar homepage case study ─────────────────────────────────── */
.projects.section {
    padding-block: 3.25rem;
}

.projects > .container {
    position: relative;
    z-index: 1;
}

.case-study-intro {
    margin-bottom: 1.25rem;
}

.case-study-intro .section-label {
    margin-bottom: 1rem;
}

.case-study-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr);
    align-items: end;
    gap: 2rem;
}

.case-study-intro .section-title {
    max-width: 23ch;
    margin-bottom: .65rem;
    font-size: clamp(2rem, 3.4vw, 2.55rem);
}

.case-study-lead {
    max-width: 47rem;
    color: var(--t1);
    font-size: .98rem;
    line-height: 1.65;
}

.case-study-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.case-study-meta li,
.case-study-capabilities li,
.case-study-contributions li {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: .42rem .68rem;
    border: 1px solid var(--border);
    border-radius: .7rem;
    background: color-mix(in srgb, var(--card) 78%, transparent);
    color: var(--t1);
    font-family: var(--ff-d);
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.25;
}

.case-study-meta li::before {
    content: '';
    width: .35rem;
    height: .35rem;
    margin-right: .45rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a1), var(--a3));
    box-shadow: 0 0 0 4px rgba(99,102,241,.08);
}

.case-study-surface {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--card-h) 82%, transparent), color-mix(in srgb, var(--card) 92%, transparent)),
        color-mix(in srgb, var(--bg-1) 76%, transparent);
    box-shadow:
        0 20px 54px rgba(2,6,23,.14),
        inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(18px) saturate(125%);
}

.case-study-overview {
    display: grid;
    grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
    min-height: 360px;
    margin-bottom: 1rem;
}

.case-study-overview-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .82rem;
    padding: 1.45rem 1.5rem;
}

.case-study-ownership {
    align-self: flex-start;
    padding: .48rem .72rem;
    border: 1px solid rgba(99,102,241,.24);
    border-radius: 999px;
    background: rgba(99,102,241,.08);
    color: var(--a1);
    font-family: var(--ff-d);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .035em;
}

.case-study-summary + .case-study-summary {
    padding-top: .78rem;
    border-top: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

.case-study-summary h3,
.case-study-highlight h3,
.case-study-prescription h3,
.case-study-proof-heading h3,
.case-study-outcomes h3 {
    font-family: var(--ff-d);
    color: var(--t0);
    letter-spacing: -.02em;
}

.case-study-summary h3 {
    margin-bottom: .2rem;
    color: var(--a1);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.case-study-summary p {
    color: var(--t1);
    font-size: .81rem;
    line-height: 1.52;
}

.case-study-primary-visual {
    min-width: 0;
    position: relative;
    border-left: 1px solid var(--border);
    background:
        radial-gradient(circle at 18% 18%, rgba(99,102,241,.26), transparent 36%),
        radial-gradient(circle at 84% 78%, rgba(34,211,238,.13), transparent 34%),
        linear-gradient(145deg, #0b0d19, #171229 50%, #0b1724);
}

.case-study-device-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 360px;
    padding: 1.25rem 6rem 2rem 1.2rem;
}

.case-study-laptop-shell {
    position: relative;
    width: calc(740px * .72);
    max-width: 100%;
    height: calc(434px * .72);
}

.case-study-laptop-device {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(.72);
    transform-origin: top center;
}

.case-study-laptop-device .device-screen,
.case-study-phone-device .device-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.case-study-phone-shell {
    position: absolute;
    right: 1rem;
    bottom: 1.2rem;
    width: calc(428px * .29);
    height: calc(868px * .29);
    filter: drop-shadow(0 22px 28px rgba(2,6,23,.32));
}

.case-study-phone-device {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(.29) rotate(-1deg);
    transform-origin: top center;
}

.case-study-primary-visual figcaption,
.case-study-prescription-visual figcaption,
.case-study-proof-card figcaption {
    position: absolute;
    z-index: 3;
    left: 1rem;
    bottom: .9rem;
    max-width: calc(100% - 2rem);
    padding: .52rem .68rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: .65rem;
    background: rgba(7,10,18,.74);
    box-shadow: 0 12px 30px rgba(2,6,23,.2);
    color: rgba(255,255,255,.92);
    font-family: var(--ff-d);
    font-size: .65rem;
    font-weight: 650;
    line-height: 1.3;
    backdrop-filter: blur(14px);
}

.case-study-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.case-study-highlight {
    min-height: 120px;
    padding: .9rem 1.05rem;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.case-study-highlight:hover {
    transform: translateY(-3px);
    border-color: rgba(99,102,241,.25);
    box-shadow: 0 18px 42px rgba(2,6,23,.18);
}

.case-study-number {
    display: block;
    margin-bottom: .45rem;
    color: var(--a1);
    font-family: var(--ff-d);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.case-study-highlight h3 {
    margin-bottom: .3rem;
    font-size: .95rem;
}

.case-study-highlight p {
    color: var(--t1);
    font-size: .76rem;
    line-height: 1.5;
}

.case-study-prescription {
    display: grid;
    grid-template-columns: minmax(390px, 1.05fr) minmax(0, .95fr);
    min-height: 340px;
    margin-bottom: 1rem;
}

.case-study-prescription::before {
    content: '';
    position: absolute;
    inset: -40% auto auto -16%;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.15), transparent 70%);
    pointer-events: none;
}

.case-study-prescription-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.15rem 1.25rem;
}

.case-study-kicker {
    margin-bottom: .45rem;
    color: var(--a1);
    font-family: var(--ff-d);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.case-study-prescription h3 {
    max-width: 24ch;
    margin-bottom: .65rem;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.2;
}

.case-study-prescription-copy > p {
    color: var(--t1);
    font-size: .7rem;
    line-height: 1.5;
}

.case-study-contributions {
    display: flex;
    flex-wrap: wrap;
    gap: .42rem;
    margin-top: .9rem;
}

.case-study-contributions li {
    min-height: 1.8rem;
    padding: .34rem .55rem;
    font-size: .62rem;
}

.case-study-prescription-visual {
    position: relative;
    min-width: 0;
    min-height: 340px;
    overflow: hidden;
    border-left: 1px solid var(--border);
    background: #f7f7f7;
}

.case-study-prescription-visual img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    object-position: center center;
}

.case-study-proof {
    margin-bottom: 1rem;
}

.case-study-proof-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .65rem;
}

.case-study-proof-heading .case-study-kicker {
    margin-bottom: 0;
}

.case-study-proof-heading h3 {
    font-size: 1rem;
}

.case-study-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    height: 190px;
}

.case-study-proof-card {
    position: relative;
    min-width: 0;
}

.case-study-proof-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-proof-card-collection img {
    object-position: center 58%;
}

.case-study-proof-card-product img {
    object-position: center top;
}

.case-study-outcomes {
    padding: 1.2rem 1.25rem;
}

.case-study-outcomes-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.case-study-outcomes-heading .case-study-kicker {
    margin-bottom: 0;
}

.case-study-outcomes-heading h3 {
    max-width: 38rem;
    font-size: 1rem;
    text-align: right;
}

.case-study-outcome-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .6rem;
    margin-bottom: .8rem;
}

.case-study-outcome-grid li {
    position: relative;
    min-height: 3.25rem;
    padding: .7rem .68rem .65rem 1.6rem;
    border: 1px solid var(--border);
    border-radius: .75rem;
    background: color-mix(in srgb, var(--card) 72%, transparent);
    color: var(--t1);
    font-family: var(--ff-d);
    font-size: .68rem;
    font-weight: 600;
    line-height: 1.35;
}

.case-study-outcome-grid li::before {
    content: '';
    position: absolute;
    top: .98rem;
    left: .7rem;
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a1), var(--a3));
    box-shadow: 0 0 0 4px rgba(99,102,241,.08);
}

.case-study-outcomes-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.case-study-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: .38rem;
}

.case-study-capabilities li {
    min-height: 1.75rem;
    padding: .32rem .52rem;
    font-size: .6rem;
}

.case-study-cta {
    flex: 0 0 auto;
    min-width: 10rem;
    padding: .72rem 1rem;
}

.case-study-cta:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--a3) 68%, white);
    outline-offset: 4px;
}

@media (max-width: 980px) {
    .case-study-intro-grid,
    .case-study-overview,
    .case-study-prescription {
        grid-template-columns: 1fr;
    }

    .case-study-meta {
        max-width: 34rem;
    }

    .case-study-overview-copy {
        order: 2;
    }

    .case-study-primary-visual {
        order: 1;
        min-height: 360px;
        border-left: 0;
        border-bottom: 1px solid var(--border);
    }

    .case-study-device-stage {
        min-height: 360px;
    }

    .case-study-prescription-visual {
        min-height: 300px;
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .case-study-prescription-visual img {
        min-height: 300px;
    }

    .case-study-proof-grid {
        grid-template-columns: 1fr 1fr;
    }

    .case-study-outcome-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-study-outcomes-footer {
        align-items: flex-end;
    }
}

@media (max-width: 700px) {
    .projects.section {
        padding-block: 4rem;
    }

    .case-study-intro-grid {
        gap: 1rem;
    }

    .case-study-highlights {
        grid-template-columns: 1fr;
        gap: 0;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: var(--r-lg);
        background: color-mix(in srgb, var(--card) 88%, transparent);
    }

    .case-study-highlight {
        min-height: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .case-study-highlight + .case-study-highlight {
        border-top: 1px solid var(--border);
    }

    .case-study-highlight:hover {
        transform: none;
        box-shadow: none;
    }

    .case-study-proof-grid {
        display: block;
        height: 230px;
    }

    .case-study-proof-card {
        height: 230px;
    }

    .case-study-proof-card-product {
        display: none;
    }

    .case-study-outcomes-heading,
    .case-study-proof-heading {
        display: block;
    }

    .case-study-outcomes-heading h3 {
        margin-top: .2rem;
        text-align: left;
    }

    .case-study-outcomes-footer {
        display: block;
    }

    .case-study-cta {
        width: 100%;
        margin-top: .85rem;
    }
}

@media (max-width: 520px) {
    .projects.section {
        padding-block: 1.25rem;
    }

    .projects > .container {
        padding-inline: 1rem;
    }

    .case-study-intro {
        margin-bottom: .55rem;
    }

    .case-study-intro .section-label {
        margin-bottom: .55rem;
    }

    .case-study-intro-grid {
        gap: .5rem;
    }

    .case-study-intro .section-title {
        max-width: none;
        margin-bottom: .4rem;
        font-size: 1.6rem;
        line-height: 1.12;
    }

    .case-study-lead {
        font-size: .76rem;
        line-height: 1.45;
    }

    .case-study-meta {
        display: flex;
        gap: .35rem;
        overflow-x: auto;
        padding-bottom: .18rem;
        scrollbar-width: none;
    }

    .case-study-meta::-webkit-scrollbar {
        display: none;
    }

    .case-study-meta li {
        flex: 0 0 auto;
        min-height: 1.85rem;
        padding: .36rem .5rem;
        font-size: .6rem;
    }

    .case-study-surface,
    .case-study-highlights {
        border-radius: 1.25rem;
    }

    .case-study-overview {
        margin-bottom: .55rem;
    }

    .case-study-primary-visual,
    .case-study-device-stage {
        min-height: 156px;
    }

    .case-study-device-stage {
        padding: .5rem;
    }

    .case-study-laptop-shell {
        width: 100%;
        height: 140px;
    }

    .case-study-laptop-device.device-macbook-pro {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 140px;
        transform: none;
    }

    .case-study-laptop-device.device-macbook-pro .device-frame {
        width: 100%;
        height: 140px;
        padding: 0;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 1rem;
        background: #fff;
        box-shadow: 0 18px 38px rgba(2,6,23,.24);
    }

    .case-study-laptop-device.device-macbook-pro .device-screen {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
        object-fit: cover;
        object-position: top center;
    }

    .case-study-laptop-device > .device-stripe,
    .case-study-laptop-device > .device-header,
    .case-study-laptop-device > .device-sensors,
    .case-study-laptop-device > .device-btns,
    .case-study-laptop-device > .device-power,
    .case-study-laptop-device > .device-home,
    .case-study-phone-shell {
        display: none;
    }

    .case-study-primary-visual figcaption,
    .case-study-prescription-visual figcaption,
    .case-study-proof-card figcaption {
        left: .65rem;
        bottom: .6rem;
        max-width: calc(100% - 1.3rem);
        padding: .43rem .54rem;
        font-size: .58rem;
    }

    .case-study-overview-copy {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .38rem .6rem;
        padding: .65rem;
    }

    .case-study-ownership {
        grid-column: 1 / -1;
        padding: .4rem .58rem;
        font-size: .58rem;
    }

    .case-study-summary + .case-study-summary {
        padding-top: 0;
        border-top: 0;
    }

    .case-study-summary:last-child {
        grid-column: 1 / -1;
    }

    .case-study-summary h3 {
        font-size: .6rem;
    }

    .case-study-summary p {
        font-size: .66rem;
        line-height: 1.32;
    }

    .case-study-highlights,
    .case-study-prescription,
    .case-study-proof {
        margin-bottom: .55rem;
    }

    .case-study-highlight {
        min-width: 15.5rem;
        padding: .6rem .8rem;
        scroll-snap-align: start;
    }

    .case-study-highlights {
        display: grid;
        grid-template-columns: repeat(3, minmax(15.5rem, 1fr));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .case-study-highlights::-webkit-scrollbar {
        display: none;
    }

    .case-study-highlight + .case-study-highlight {
        border-top: 0;
        border-left: 1px solid var(--border);
    }

    .case-study-number {
        margin-bottom: .25rem;
        font-size: .58rem;
    }

    .case-study-highlight h3 {
        margin-bottom: .2rem;
        font-size: .84rem;
    }

    .case-study-highlight p {
        font-size: .66rem;
        line-height: 1.42;
    }

    .case-study-prescription-copy {
        padding: .65rem;
    }

    .case-study-prescription h3 {
        margin-bottom: .4rem;
        font-size: .92rem;
    }

    .case-study-prescription-copy > p {
        font-size: .62rem;
        line-height: 1.42;
    }

    .case-study-contributions {
        flex-wrap: nowrap;
        gap: .32rem;
        margin-top: .45rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .case-study-contributions::-webkit-scrollbar {
        display: none;
    }

    .case-study-contributions li {
        flex: 0 0 auto;
        min-height: 1.65rem;
        padding: .3rem .45rem;
        font-size: .52rem;
    }

    .case-study-prescription-visual,
    .case-study-prescription-visual img {
        min-height: 140px;
        height: 140px;
    }

    .case-study-prescription-visual img {
        object-position: center 20%;
    }

    .case-study-proof-heading {
        margin-bottom: .35rem;
    }

    .case-study-proof-heading h3,
    .case-study-outcomes-heading h3 {
        font-size: .84rem;
    }

    .case-study-proof-grid,
    .case-study-proof-card {
        height: 135px;
    }

    .case-study-outcomes {
        padding: .65rem;
    }

    .case-study-outcomes-heading {
        margin-bottom: .45rem;
    }

    .case-study-outcome-grid {
        gap: .32rem;
        margin-bottom: .45rem;
    }

    .case-study-outcome-grid li {
        min-height: 2.5rem;
        padding: .5rem .45rem .48rem 1.25rem;
        font-size: .59rem;
    }

    .case-study-outcome-grid li::before {
        top: .73rem;
        left: .52rem;
    }

    .case-study-capabilities {
        display: none;
    }

    .case-study-outcomes-footer {
        gap: 0;
    }

    .case-study-cta {
        margin-top: 0;
    }

    .case-study-capabilities li {
        min-height: 1.65rem;
        padding: .28rem .45rem;
        font-size: .55rem;
    }

    .case-study-capabilities li:nth-child(n + 6) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .case-study-highlight,
    .case-study-laptop-device,
    .case-study-phone-device {
        transition: none !important;
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
    PROCESS
═══════════════════════════════════════════════════════════════════ */
.experience {
    position: relative;
    overflow: hidden;
    background: var(--bg-0);
}
.experience::before {
    content: '';
    position: absolute;
    left: -10rem;
    top: 16%;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.075) 0%, transparent 70%);
    opacity: .52;
    pointer-events: none;
}
.experience::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
}

.process-section.section {
    padding-block: 3.75rem;
}

.process-editorial {
    position: relative;
    z-index: 1;
    max-width: 76rem;
    margin: 0 auto;
}

.process-header {
    margin-bottom: 3rem;
}

.process-header .section-label {
    margin-bottom: 1.25rem;
}

.process-header-row {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(20rem, .88fr);
    align-items: end;
    gap: clamp(3rem, 7vw, 7rem);
}

.process-header .section-title {
    max-width: 38rem;
    margin: 0;
    text-wrap: balance;
}

.process-intro {
    max-width: 34rem;
    margin: 0;
    color: var(--t1);
    font-size: 1.0625rem;
    line-height: 1.75;
    text-wrap: pretty;
}

.process-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: .25rem;
    right: .25rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(139,92,246,.7), rgba(99,102,241,.52) 48%, rgba(34,211,238,.62));
    opacity: .72;
    pointer-events: none;
}

.process-flow-item {
    position: relative;
    min-width: 0;
    padding-right: clamp(1.5rem, 2.5vw, 2.5rem);
}

.process-flow-item:not(:first-child) {
    padding-left: clamp(1.15rem, 2.15vw, 2.1rem);
}

.process-flow-item:last-child {
    padding-right: 0;
}

.process-step-marker {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2rem;
    margin-bottom: 1.45rem;
}

.process-step-number {
    font-family: var(--ff-d);
    position: relative;
    z-index: 1;
    display: inline-block;
    padding-right: .8rem;
    background: var(--bg-0);
    color: color-mix(in srgb, var(--a1) 74%, var(--t0) 26%);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
}

.process-step-content {
    min-width: 0;
}

.process-step-title {
    max-width: 15rem;
    margin: 0 0 .85rem;
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: clamp(1.05rem, 1.35vw, 1.3rem);
    font-weight: 600;
    line-height: 1.28;
    text-wrap: balance;
}

.process-step-description {
    max-width: 17rem;
    margin: 0;
    color: color-mix(in srgb, var(--t2) 88%, var(--t1) 12%);
    font-size: .9rem;
    line-height: 1.7;
    text-wrap: pretty;
}

.process-support-note {
    position: relative;
    max-width: 35rem;
    margin: 3rem 0 0;
    padding-top: 1.15rem;
    color: var(--t2);
    font-size: .875rem;
    line-height: 1.65;
}

.process-support-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--a1), var(--a3));
    opacity: .72;
}

@media (max-width: 900px) {
    .process-header-row {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.35rem;
    }

    .process-intro {
        max-width: 41rem;
    }
}

@media (max-width: 768px) {
    .process-section.section {
        padding-block: 2.875rem;
    }

    .process-header {
        margin-bottom: 1.5rem;
    }

    .process-header .section-label {
        margin-bottom: 1rem;
    }

    .process-header-row {
        gap: 1.1rem;
    }

    .process-intro {
        font-size: .95rem;
        line-height: 1.62;
    }

    .process-flow {
        grid-template-columns: 1fr;
    }

    .process-flow::before {
        top: .35rem;
        right: auto;
        bottom: .65rem;
        left: 1.05rem;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, rgba(139,92,246,.72), rgba(99,102,241,.5) 48%, rgba(34,211,238,.62));
    }

    .process-flow-item,
    .process-flow-item:not(:first-child) {
        display: grid;
        grid-template-columns: 2.45rem minmax(0, 1fr);
        gap: .75rem;
        padding: 0 0 1.125rem;
    }

    .process-flow-item:last-child {
        padding-bottom: 0;
    }

    .process-step-marker {
        align-items: flex-start;
        min-height: 0;
        margin: 0;
    }

    .process-step-number {
        min-width: 2.15rem;
        padding: .12rem 0 .3rem;
        background: var(--bg-0);
        font-size: 1.05rem;
        text-align: center;
    }

    .process-step-title {
        max-width: none;
        margin-bottom: .65rem;
        font-size: 1.08rem;
    }

    .process-step-description {
        max-width: 37rem;
        font-size: .875rem;
        line-height: 1.58;
    }

    .process-support-note {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════
    GUARANTEE
═══════════════════════════════════════════════════════════════════ */
.guarantee {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
}
.guarantee .section-title {
    max-width: 14ch;
    margin-inline: auto;
    margin-bottom: 1.25rem;
}
.guarantee-copy {
    max-width: 680px;
    margin: 0 auto;
}
.guarantee-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--t1);
}
.guarantee-text + .guarantee-text {
    margin-top: 1rem;
}
.guarantee-signoff {
    margin-top: 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.guarantee-signature-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: 0;
    min-height: 0;
    background: none;
    border: 0;
    box-shadow: none;
}
.guarantee-signoff-meta {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    align-items: center;
}
.guarantee-name {
    font-family: var(--ff-d);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--t0);
}
.guarantee-role {
    color: var(--a1);
    font-size: .9rem;
    font-weight: 600;
}
.guarantee-signature-note {
    color: var(--t3);
    font-size: .78rem;
    line-height: 1.55;
    max-width: 28rem;
}

@media (max-width: 640px) {
    .guarantee-signature-frame {
        padding: 0;
    }
    .guarantee-signoff,
    .guarantee-signoff-meta {
        align-items: flex-start;
        justify-content: flex-start;
    }
    .guarantee .section-title,
    .guarantee-copy {
        margin-inline: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════
    CONTACT
═══════════════════════════════════════════════════════════════════ */
.contact {
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: none;
    opacity: .56;
}
.contact::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: 3rem;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,0.08) 0%, transparent 72%);
    pointer-events: none;
    opacity: .45;
}
.contact.in-view::after { animation: ambientFloatAlt 16s ease-in-out infinite; }
.contact-email-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--ff-d);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--a1);
    margin-top: var(--space-5);
    transition: all .25s;
}
.contact-email-link:hover { color: var(--a2); gap: .875rem; }
.contact-email-link svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════════════════════════════════
    FOOTER
═══════════════════════════════════════════════════════════════════ */
.footer { padding-block: var(--space-7); border-top: 1px solid var(--border); background: var(--bg-0); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }
.footer-copy { font-size: .8125rem; color: var(--t3); }
.footer-copy a { color: var(--a1); transition: color .2s; }
.footer-copy a:hover { color: var(--a2); }
.footer-links { display: flex; gap: var(--space-6); }
.footer-links a { font-size: .8125rem; color: var(--t3); transition: color .25s; }
.footer-links a:hover { color: var(--t1); }

/* ── Divider ──────────────────────────────────────────────────────── */
.divider {
    --divider-strength: 0;
    --divider-travel: .5;
    position: relative;
    height: 1px;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: calc(.42 + (var(--divider-strength) * .42));
    transform: scaleX(calc(.9 + (var(--divider-strength) * .1)));
    transition:
        opacity .9s cubic-bezier(.22,1,.36,1),
        transform .9s cubic-bezier(.22,1,.36,1);
    background:
        linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.04) 10%,
        rgba(255,255,255,calc(.12 + (var(--divider-strength) * .08))) 50%,
        rgba(255,255,255,0.04) 90%,
        transparent 100%);
    box-shadow:
        0 0 calc(10px + (var(--divider-strength) * 22px)) rgba(99,102,241,calc(.06 + (var(--divider-strength) * .08)));
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.divider::before {
    inset: -34px 8% -34px;
    background:
        radial-gradient(ellipse at calc(50% + ((var(--divider-travel) - .5) * 42%)) 50%,
        rgba(255,255,255,calc(.05 + (var(--divider-strength) * .08))) 0%,
        rgba(99,102,241,calc(.12 + (var(--divider-strength) * .18))) 16%,
        rgba(34,211,238,calc(.08 + (var(--divider-strength) * .12))) 32%,
        transparent 72%);
    opacity: calc(.18 + (var(--divider-strength) * .72));
    filter: blur(calc(18px + (var(--divider-strength) * 10px)));
    transform: scaleX(calc(.82 + (var(--divider-strength) * .24)));
    transform-origin: center;
    transition:
        transform 1.05s cubic-bezier(.22,1,.36,1),
        opacity .7s cubic-bezier(.22,1,.36,1),
        filter .7s cubic-bezier(.22,1,.36,1);
}

.divider::after {
    inset: -10px auto -10px -22%;
    width: 22%;
    background:
        linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.02) 18%,
        rgba(255,255,255,calc(.45 + (var(--divider-strength) * .28))) 50%,
        rgba(255,255,255,0.02) 82%,
        transparent 100%);
    opacity: calc(.16 + (var(--divider-strength) * .58));
    filter: blur(calc(7px + (var(--divider-strength) * 5px)));
    transform: translateX(calc(var(--divider-travel) * 560%));
    transition:
        opacity .55s cubic-bezier(.22,1,.36,1),
        transform .75s cubic-bezier(.22,1,.36,1),
        filter .55s cubic-bezier(.22,1,.36,1);
}

.divider.visible {
    opacity: 1;
    transform: scaleX(1);
}

.divider.visible::before {
    opacity: 1;
    transform: scaleX(calc(.92 + (var(--divider-strength) * .18)));
}

.divider.visible::after {
    opacity: calc(.22 + (var(--divider-strength) * .62));
    animation: dividerSheen 2s cubic-bezier(.22,1,.36,1) .1s both;
}

@keyframes dividerSheen {
    from {
        transform: translateX(-6%);
        opacity: 0;
    }
    22% {
        opacity: .75;
    }
    to {
        transform: translateX(560%);
        opacity: 0;
    }
}

/* ── Noise overlay ────────────────────────────────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
    .section { padding-block: var(--space-10); }
    .container { padding-inline: var(--space-4); }
    .hero > .container { width: 100%; min-width: 0; }
    .hero-stats { gap: var(--space-2); }
    .hero-stat { flex: 1 1 0; min-width: 0; text-align: center; }
    .hero-stat-value { font-size: 1rem; overflow-wrap: anywhere; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-ctas { flex-direction: column; }
    .section-title { font-size: 1.875rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }

    [data-premium-section]::before,
    [data-premium-section]::after {
        display: none;
    }

    [data-premium-section] > .container::before {
        width: min(18rem, 78vw);
        height: min(18rem, 78vw);
        filter: blur(18px);
    }

    [data-premium-section] > .container::after {
        inset: -.75rem 0;
        border-radius: 1.35rem;
        background-size: auto, 48px 48px, 48px 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    [data-premium-section].in-view > .container,
    [data-premium-section]::before,
    [data-premium-section]::after,
    [data-premium-section] > .container::before,
    [data-premium-section] > .container::after,
    [data-premium-section] > .container > *,
    .about-highlight,
    #skills .skill-category,
    .education-panel,
    .education-card,
    .certificate-card,
    .job-card,
    .project-card,
    .process-step,
    .testimonials-slider,
    .testimonials-slider::before,
    .testimonials-slider::after,
    .guarantee-card,
    .contact-form,
    .contact-social,
    .service-badge,
    .testimonial-slider-viewport::after,
    .testimonial-slider-track,
    .testimonial-slider-counter,
    .testimonial-slider-controls,
    .testimonial-slide-layout,
    .testimonial-slide-copy,
    .testimonial-person,
    .testimonial-quote-mark,
    .testimonial-quote,
    .testimonial-person-name,
    .testimonial-person-note,
    .about-text,
    .job-experience-copy,
    .job-timeline,
    .education-intro,
    .education-cards,
    .certificates-header,
    .projects-header,
    .experience-left,
    .process-steps,
    .testimonials-header,
    .divider {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }

    .divider::before,
    .divider::after {
        animation: none !important;
        transition: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
}

html.performance-mode .hero-orb,
html.performance-mode .hero-badge,
html.performance-mode .hero-badge-dot,
html.performance-mode .hero-name,
html.performance-mode .hero-title,
html.performance-mode .hero-desc,
html.performance-mode .hero-ctas,
html.performance-mode .hero-stats,
html.performance-mode .scroll-indicator,
html.performance-mode .scroll-indicator-mouse,
html.performance-mode .scroll-indicator-mouse::before,
html.performance-mode .scroll-indicator-mouse::after,
html.performance-mode .scroll-indicator-wheel,
html.performance-mode [data-premium-section]::before,
html.performance-mode [data-premium-section]::after,
html.performance-mode [data-premium-section] > .container,
html.performance-mode [data-premium-section] > .container::before,
html.performance-mode [data-premium-section] > .container::after,
html.performance-mode [data-premium-section] > .container > *,
html.performance-mode .skills::before,
html.performance-mode .skills::after,
html.performance-mode .job-experience::after,
html.performance-mode .experience::before,
html.performance-mode .projects::before,
html.performance-mode .projects::after,
html.performance-mode .contact::before,
html.performance-mode .contact::after,
html.performance-mode .testimonial-slider-viewport::after,
html.performance-mode .testimonial-slider-track,
html.performance-mode .divider,
html.performance-mode .divider::before,
html.performance-mode .divider::after {
    animation: none !important;
    transition: none !important;
}

html.performance-mode .reveal,
html.performance-mode .scroll-reveal-line,
html.performance-mode .scroll-reveal-line-base,
html.performance-mode .scroll-reveal-line-ink {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    text-shadow: none !important;
    transition: none !important;
}

html.performance-mode .hero-badge,
html.performance-mode .hero-name,
html.performance-mode .hero-title,
html.performance-mode .hero-desc,
html.performance-mode .hero-ctas,
html.performance-mode .hero-stats,
html.performance-mode .scroll-indicator {
    opacity: 1 !important;
    transform: none !important;
}

html.performance-mode .hero-stats,
html.performance-mode .about-highlight,
html.performance-mode #skills .skill-category,
html.performance-mode .education-panel,
html.performance-mode .education-card,
html.performance-mode .certificate-card,
html.performance-mode .job-card,
html.performance-mode .project-card,
html.performance-mode .process-step,
html.performance-mode .testimonials-slider,
html.performance-mode .guarantee-card,
html.performance-mode .contact-form,
html.performance-mode .contact-social,
html.performance-mode .service-badge,
html.performance-mode .hero-stats > *,
html.performance-mode .about-highlight > *,
html.performance-mode #skills .skill-category > *,
html.performance-mode .education-panel > *,
html.performance-mode .education-card > *,
html.performance-mode .certificate-card > *,
html.performance-mode .job-card > *,
html.performance-mode .project-card > *,
html.performance-mode .process-step > *,
html.performance-mode .testimonials-slider > *,
html.performance-mode .guarantee-card > *,
html.performance-mode .contact-form > *,
html.performance-mode .contact-social > *,
html.performance-mode .service-badge > *,
html.performance-mode .hero-stat > *,
html.performance-mode #skills .skill-category-info,
html.performance-mode #skills .skill-chips,
html.performance-mode .about-text,
html.performance-mode .job-experience-copy,
html.performance-mode .job-timeline,
html.performance-mode .education-intro,
html.performance-mode .education-cards,
html.performance-mode .certificates-header,
html.performance-mode .projects-header,
html.performance-mode .experience-left,
html.performance-mode .process-steps,
html.performance-mode .testimonials-header,
html.performance-mode .certificate-card-preview,
html.performance-mode .certificate-card-body,
html.performance-mode .job-card-header,
html.performance-mode .project-visual,
html.performance-mode .project-body,
html.performance-mode .process-step-number,
html.performance-mode .process-step-content,
html.performance-mode .testimonials-slider-head,
html.performance-mode .testimonial-slider-viewport,
html.performance-mode .testimonial-slide-copy,
html.performance-mode .testimonial-person,
html.performance-mode .guarantee-badge,
html.performance-mode .guarantee-signature-frame,
html.performance-mode .contact-form .form-group,
html.performance-mode .contact-form .form-submit,
html.performance-mode .hero-stat-divider {
    transform: none !important;
    filter: none !important;
    will-change: auto !important;
}

/* ═══════════════════════════════════════════════════════════════════
   NAV CONTROLS  (language switcher)
═══════════════════════════════════════════════════════════════════ */
.nav-controls {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .28rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.lang-toggle,
.lang-toggle-mobile {
    display: flex;
    align-items: center;
    gap: .2rem;
    padding: 0;
    border-radius: 99px;
    border: none;
    background: transparent;
    height: auto;
}
.lang-btn {
    font-family: var(--ff-d);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .07em;
    color: var(--t3);
    min-width: 46px;
    min-height: 40px;
    padding: .55rem .75rem;
    border-radius: 99px;
    border: none;
    background: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
    line-height: 1;
}
.lang-btn.active {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    color: #fff;
    box-shadow: 0 10px 18px rgba(99,102,241,0.24);
}
.lang-btn:not(.active):hover {
    color: var(--t0);
    background: rgba(99,102,241,0.08);
}

.nav-inner.nav-fit-compact {
    gap: .8rem;
}
.nav-inner.nav-fit-compact .nav-links {
    gap: .15rem;
    padding: .28rem;
}
.nav-inner.nav-fit-compact .nav-links a {
    padding: .64rem .8rem;
    font-size: .8125rem;
}
.nav-inner.nav-fit-compact .nav-cta {
    padding-inline: 1rem;
    font-size: .8125rem;
}
.nav-inner.nav-fit-compact .nav-controls {
    gap: .28rem;
}

.nav-inner.nav-fit-tight {
    gap: .7rem;
}
.nav-inner.nav-fit-tight .nav-links a {
    padding: .6rem .72rem;
    font-size: .78rem;
}
.nav-inner.nav-fit-tight .nav-cta {
    display: none;
}
.nav-inner.nav-fit-tight .nav-logo-text {
    font-size: 1rem;
}
.nav-inner.nav-fit-tight .lang-btn {
    min-width: 40px;
    padding-inline: .58rem;
}

/* Mobile-nav controls row */
.nav-mobile-controls {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    margin-top: 0;
    padding: .35rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}
.nav-mobile-controls .lang-toggle-mobile {
    flex: 1;
}
.nav-mobile-controls .lang-btn {
    flex: 1;
}

@media (max-width: 860px) {
    .nav-controls {
        gap: .25rem;
        padding: .22rem;
    }
    .lang-btn {
        min-width: 40px;
        min-height: 36px;
        padding: .45rem .55rem;
        font-size: .625rem;
    }
}

/* Static locale navigation — compact trigger with an accessible link menu. */
.language-menu {
    position: relative;
    min-width: 0;
}

.language-menu-trigger {
    min-width: 58px;
    min-height: 44px;
    padding: .65rem .72rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--t1);
    font-family: var(--ff-d);
    font-size: .6875rem;
    font-weight: 750;
    letter-spacing: .08em;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    transition: color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}

.language-menu-trigger svg {
    width: .66rem;
    height: .44rem;
    flex: 0 0 auto;
    transition: transform .18s var(--ease);
}

.language-menu-trigger:hover,
.language-menu.is-open .language-menu-trigger {
    color: #fff;
    background: rgba(99,102,241,.13);
    box-shadow: inset 0 0 0 1px rgba(139,92,246,.15);
}

.language-menu.is-open .language-menu-trigger svg {
    transform: rotate(180deg);
}

.language-menu-popover {
    position: absolute;
    z-index: 1200;
    top: calc(100% + .62rem);
    right: 0;
    width: 12.25rem;
    max-width: calc(100vw - 2rem);
    padding: .42rem;
    border: 1px solid rgba(148,163,184,.17);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--bg-1) 92%, transparent);
    box-shadow: 0 22px 55px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.055);
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    display: grid;
    gap: .2rem;
    animation: languageMenuIn .16s var(--ease) both;
}

.language-menu-popover[hidden] {
    display: none;
}

.language-menu-option {
    min-height: 44px;
    padding: .72rem .78rem;
    border-radius: .72rem;
    color: var(--t2);
    font-family: var(--ff-d);
    font-size: .82rem;
    font-weight: 650;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color .16s var(--ease), background .16s var(--ease);
}

.language-menu-option:hover,
.language-menu-option:focus-visible {
    color: var(--t0);
    background: rgba(99,102,241,.11);
}

.language-menu-option.is-current {
    color: #fff;
    background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(6,182,212,.1));
}

.language-menu-option.is-disabled,
.language-menu-option.is-disabled:hover,
.language-menu-option.is-disabled:focus-visible {
    color: var(--t3);
    background: transparent;
    cursor: not-allowed;
    opacity: .62;
}

.language-menu-option-status {
    color: var(--t3);
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.language-menu-option-code {
    color: var(--t3);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.language-menu-option.is-current .language-menu-option-code {
    color: var(--a3);
}

.nav-mobile-controls .language-menu {
    width: 100%;
}

.nav-mobile-controls .language-menu-trigger {
    width: 100%;
    justify-content: space-between;
    padding-inline: .9rem;
}

.nav-mobile-controls .language-menu-popover {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin-top: 0;
}

@keyframes languageMenuIn {
    from { opacity: 0; transform: translateY(-.3rem) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .language-menu-trigger,
    .language-menu-trigger svg,
    .language-menu-option,
    .language-menu-popover {
        animation: none !important;
        transition: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   APPLE POLISH
═══════════════════════════════════════════════════════════════════ */
:root {
    --ff-d: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
    --ff-b: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    --apple-surface-1:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012)),
        rgba(7,10,20,0.82);
    --apple-surface-2:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
        rgba(8,11,22,0.76);
    --apple-surface-3:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
        rgba(11,15,28,0.68);
    --apple-stroke: rgba(99,102,241,0.18);
    --apple-stroke-strong: rgba(99,102,241,0.34);
    --apple-shadow-sm: 0 14px 34px rgba(2,6,23,0.14);
    --apple-shadow-md: 0 24px 60px rgba(2,6,23,0.18);
    --apple-shadow-lg: 0 32px 84px rgba(2,6,23,0.22);
    --apple-highlight: inset 0 1px 0 rgba(255,255,255,0.045);
    --apple-accent-wash: linear-gradient(135deg, rgba(99,102,241,0.16), rgba(34,211,238,0.06));
    --apple-card-glow: 0 0 54px rgba(99,102,241,0.12), 0 0 26px rgba(34,211,238,0.06);
    --apple-card-border-glow: inset 0 0 0 1px rgba(99,102,241,0.16), inset 0 1px 0 rgba(255,255,255,0.04);
}

body {
    letter-spacing: -.011em;
    text-rendering: optimizeLegibility;
}

.section-title,
.hero-name,
.hero-title,
.project-name,
.job-company-name,
.testimonial-quote,
.guarantee-name {
    letter-spacing: -.03em;
}

.section-title {
    font-weight: 650;
    line-height: 1.04;
}

.section-subtitle,
.project-desc,
.job-summary,
.process-step-desc,
.testimonial-person-note,
.guarantee-text,
.about-text-block,
.experience-text-block {
    color: color-mix(in srgb, var(--t1) 78%, var(--t2));
}

.about-text,
.job-experience-copy,
.education-intro,
.certificates-header,
.projects-header,
.experience-left,
.testimonials-header {
    position: relative;
    z-index: 1;
    transform: translate3d(0, calc(var(--section-parallax-reverse) * .18), 0);
    transition: transform .82s cubic-bezier(.22,1,.36,1);
    will-change: transform;
}

.education-cards,
.process-steps {
    position: relative;
    z-index: 1;
    transform: translate3d(0, calc(var(--section-parallax-mid) * .16), 0);
    transition: transform .88s cubic-bezier(.22,1,.36,1);
    will-change: transform;
}

.nav-inner,
.about-highlight,
.skill-category,
.skill-category-info,
.skill-chips,
.education-panel,
.education-card,
.certificate-card,
.job-experience-panel,
.job-card,
.project-card,
.process-step,
.testimonials-slider,
.testimonial-slide-copy,
.testimonial-person,
.guarantee-card,
.contact-form,
.contact-social {
    background:
        radial-gradient(circle at 100% 0%, rgba(99,102,241,0.12), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(34,211,238,0.08), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
        var(--apple-surface-2);
    border-color: var(--apple-stroke);
    box-shadow:
        var(--apple-shadow-md),
        var(--apple-highlight),
        var(--apple-card-border-glow),
        var(--apple-card-glow);
}

[data-premium-section] > .container {
    perspective: 1800px;
    transform-style: preserve-3d;
}

.hero-stats,
.about-highlight,
#skills .skill-category,
.education-panel,
.education-card,
.certificate-card,
.job-card,
.project-card,
.process-step,
.testimonials-slider,
.guarantee-card,
.contact-form,
.contact-social,
.service-badge {
    --surface-tilt-x: 0deg;
    --surface-tilt-y: 0deg;
    --surface-hover-lift: 0px;
    --surface-scale: 1;
    --surface-shadow-x: 0px;
    --surface-shadow-y: 0px;
    --surface-shadow-blur: 34px;
    --surface-shadow-alpha: .16;
    --surface-glow-blur: 16px;
    --surface-glow-alpha: .04;
    --surface-content-shift-x: 0px;
    --surface-content-shift-y: 0px;
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform-origin: center center;
    transform: translate3d(0, var(--surface-hover-lift), 0) rotateX(var(--surface-tilt-x)) rotateY(var(--surface-tilt-y)) scale(var(--surface-scale));
    transition:
        transform .55s cubic-bezier(.22,1,.36,1),
        filter .45s cubic-bezier(.22,1,.36,1),
        box-shadow .4s cubic-bezier(.22,1,.36,1),
        border-color .3s var(--ease),
        background .3s var(--ease),
        color .3s var(--ease);
    will-change: transform, box-shadow;
    filter:
        drop-shadow(var(--surface-shadow-x) calc(18px + var(--surface-shadow-y)) var(--surface-shadow-blur) rgba(2,6,23,var(--surface-shadow-alpha)))
        drop-shadow(0 0 var(--surface-glow-blur) rgba(99,102,241,var(--surface-glow-alpha)));
}

.hero-stats > *,
.about-highlight > *,
#skills .skill-category > *,
.education-panel > *,
.education-card > *,
.certificate-card > *,
.job-card > *,
.project-card > *,
.process-step > *,
.testimonials-slider > *,
.guarantee-card > *,
.contact-form > *,
.contact-social > *,
.service-badge > * {
    transform: translate3d(
        calc(var(--surface-content-shift-x) * .42),
        calc((var(--surface-content-shift-y) * .42) + (var(--section-parallax-soft) * .14)),
        18px
    );
}

.hero-stat > *,
#skills .skill-category-info,
#skills .skill-chips,
.certificate-card-preview,
.certificate-card-body,
.job-card-header,
.project-visual,
.project-body,
.process-step-number,
.process-step-content,
.testimonials-slider-head,
.testimonial-slider-viewport,
.guarantee-badge,
.guarantee-signature-frame,
.contact-form .form-group,
.contact-form .form-submit {
    transform: translate3d(
        calc(var(--surface-content-shift-x) * .9),
        calc((var(--surface-content-shift-y) * .9) + (var(--section-parallax-mid) * .18)),
        34px
    );
}

.hero-stat-divider {
    transform: translateZ(10px);
}

.project-visual-inner,
.job-brand-mark,
.skill-category-icon,
.certificate-card-preview-inner,
.process-step-number,
.testimonial-slide-copy,
.testimonial-person {
    transform: translate3d(
        calc(var(--surface-content-shift-x) * 1.15),
        calc((var(--surface-content-shift-y) * 1.15) + (var(--section-parallax-strong) * .2)),
        42px
    );
    transition: transform .55s cubic-bezier(.22,1,.36,1);
}

.hero-stat-value,
.hero-stat-label {
    transition: transform .55s cubic-bezier(.22,1,.36,1);
}

.hero-stats:hover .hero-stat-value,
.hero-stats:hover .hero-stat-label {
    transform: translate3d(calc(var(--surface-content-shift-x) * .4), calc(var(--surface-content-shift-y) * .4), 26px);
}

.skill-category:hover .skill-category-icon {
    transform: translate3d(calc(var(--surface-content-shift-x) * .55), calc((var(--surface-content-shift-y) * .55) - 1px), 24px) scale(1.015);
}

.job-card:hover .job-brand-mark {
    transform: translate3d(calc(var(--surface-content-shift-x) * .55), calc((var(--surface-content-shift-y) * .55) - 1px), 24px) scale(1.015);
}

.project-card:hover .project-visual-inner {
    transform: translate3d(calc(var(--surface-content-shift-x) * .6), calc(var(--surface-content-shift-y) * .6), 24px) scale(1.012);
}

.process-step:hover .process-step-number {
    transform: translate3d(calc(var(--surface-content-shift-x) * .5), calc((var(--surface-content-shift-y) * .5) - 1px), 24px) scale(1.015);
}

.hero-stats {
    animation: none;
}

:is(.about-highlight, #skills .skill-category, .education-panel, .education-card, .certificate-card, .job-card, .project-card, .process-step, .testimonials-slider, .guarantee-card, .contact-form, .contact-social, .service-badge).visible {
    animation: none;
    box-shadow:
        var(--apple-shadow-md),
        var(--apple-highlight),
        var(--apple-card-border-glow),
        var(--apple-card-glow);
}

@media (hover: none), (pointer: coarse), (max-width: 820px) {
    .hero-stats,
    .about-highlight,
    #skills .skill-category,
    .education-panel,
    .education-card,
    .certificate-card,
    .job-card,
    .project-card,
    .process-step,
    .testimonials-slider,
    .guarantee-card,
    .contact-form,
    .contact-social,
    .service-badge,
    .hero-stats > *,
    .about-highlight > *,
    #skills .skill-category > *,
    .education-panel > *,
    .education-card > *,
    .certificate-card > *,
    .job-card > *,
    .project-card > *,
    .process-step > *,
    .testimonials-slider > *,
    .guarantee-card > *,
    .contact-form > *,
    .contact-social > *,
    .service-badge > *,
    .hero-stat > *,
    #skills .skill-category-info,
    #skills .skill-chips,
    .certificate-card-preview,
    .certificate-card-body,
    .job-card-header,
    .project-visual,
    .project-body,
    .process-step-number,
    .process-step-content,
    .testimonials-slider-head,
    .testimonial-slider-viewport,
    .guarantee-badge,
    .guarantee-signature-frame,
    .contact-form .form-group,
    .contact-form .form-submit,
    .hero-stat-divider,
    .about-text,
    .job-experience-copy,
    .job-timeline,
    .education-intro,
    .education-cards,
    .certificates-header,
    .projects-header,
    .experience-left,
    .process-steps,
    .testimonials-header {
        transform: none !important;
        will-change: auto;
    }

    .hero-stats,
    .education-panel,
    .education-card,
    .certificate-card,
    .project-card.featured,
    .testimonials-slider,
    .guarantee-card,
    .contact-form {
        animation: none !important;
        filter: none;
    }
}

.nav-inner {
    background: var(--apple-surface-1);
    border-color: var(--apple-stroke-strong);
    border-radius: 1.75rem;
    box-shadow: var(--apple-shadow-lg), var(--apple-highlight);
    backdrop-filter: blur(22px) saturate(145%);
}

.nav.scrolled .nav-inner {
    transform: translateY(0);
    box-shadow: 0 26px 72px rgba(2,6,23,0.24), var(--apple-highlight);
}

.nav-links,
.nav-controls {
    background: var(--apple-surface-3);
    border-color: var(--apple-stroke);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.nav-links a::after {
    background: var(--apple-accent-wash);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 10px 24px rgba(2,6,23,0.12);
}

.nav-cta,
.btn-primary,
.project-btn-primary,
.form-submit,
.nav-mobile-cta {
    border-radius: 999px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--a1) 88%, white 12%), color-mix(in srgb, var(--a2) 78%, white 22%));
    box-shadow: 0 16px 34px rgba(99,102,241,0.22), inset 0 1px 0 rgba(255,255,255,0.2);
}

.form-submit {
    box-shadow: 0 10px 22px rgba(99,102,241,0.16), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn,
.project-btn,
.form-submit {
    font-weight: 600;
    letter-spacing: -.015em;
}

.btn-ghost,
.project-btn-ghost {
    border-radius: 999px;
    background: var(--apple-surface-3);
    border-color: var(--apple-stroke);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-stats {
    padding: 1.05rem 1.25rem;
    border-radius: 1.75rem;
    border: 1px solid var(--apple-stroke);
    background: var(--apple-surface-2);
    box-shadow: var(--apple-shadow-sm), var(--apple-highlight);
    backdrop-filter: blur(18px) saturate(130%);
}

.hero-stat {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.hero-stat-divider {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
}

.about-highlight,
.service-badge,
.job-meta-pill,
.job-period,
.project-tech-tag,
.testimonial-slider-status-label,
.guarantee-badge {
    background: var(--apple-surface-3);
    border: 1px solid var(--apple-stroke);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.about-highlight,
.service-badge,
.process-step,
.job-card,
.project-card,
.contact-social,
.project-btn,
.btn {
    transition:
        transform .28s var(--ease),
        border-color .28s var(--ease),
        background .28s var(--ease),
        box-shadow .28s var(--ease),
        color .28s var(--ease);
}

.about-highlight:hover,
.service-badge:hover,
.process-step:hover {
    --surface-hover-lift: -1px;
    --surface-scale: 1.004;
    border-color: var(--apple-stroke-strong);
    box-shadow:
        var(--apple-shadow-lg),
        inset 0 0 0 1px rgba(99,102,241,0.22),
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 0 46px rgba(99,102,241,0.14),
        0 0 20px rgba(34,211,238,0.08);
}

.job-card:hover {
    --surface-hover-lift: -2px;
    --surface-scale: 1.005;
}

.project-card:hover {
    --surface-hover-lift: -2px;
    --surface-scale: 1.006;
}

.contact-social:hover {
    --surface-hover-lift: -1px;
    --surface-scale: 1.004;
}

@media (hover: hover) and (pointer: fine) {
    .education-panel,
    .education-card,
    .certificate-card,
    .job-card,
    .project-card,
    .testimonials-slider,
    .guarantee-card,
    .contact-form,
    #skills .skill-category {
        transition:
            transform .28s var(--ease),
            border-color .28s var(--ease),
            background .28s var(--ease),
            box-shadow .28s var(--ease),
            color .28s var(--ease),
            backdrop-filter .38s var(--ease),
            -webkit-backdrop-filter .38s var(--ease);
    }

    .education-panel:hover,
    .education-panel:focus-within,
    .education-card:hover,
    .education-card:focus-within,
    .certificate-card:hover,
    .certificate-card:focus-within,
    .job-card:hover,
    .job-card:focus-within,
    .project-card:hover,
    .project-card:focus-within,
    .testimonials-slider:hover,
    .testimonials-slider:focus-within,
    .guarantee-card:hover,
    .guarantee-card:focus-within,
    .contact-form:hover,
    .contact-form:focus-within,
    #skills .skill-category:hover,
    #skills .skill-category:focus-within {
        backdrop-filter: blur(24px) saturate(145%);
        -webkit-backdrop-filter: blur(24px) saturate(145%);
    }

    .education-card:hover::before,
    .education-card:focus-within::before,
    .certificate-card:hover::before,
    .certificate-card:focus-within::before,
    .job-card:hover::after,
    .job-card:focus-within::after,
    .project-card:hover::before,
    .project-card:focus-within::before,
    .guarantee-card:hover::before,
    .guarantee-card:focus-within::before,
    .testimonials-slider:hover::before,
    .testimonials-slider:focus-within::before,
    #skills .skill-category:hover::before,
    #skills .skill-category:focus-within::before {
        background:
            radial-gradient(circle at 16% 14%, rgba(255,255,255,0.09), transparent 18%),
            var(--apple-accent-wash),
            linear-gradient(115deg, transparent 18%, rgba(255,255,255,0.18) 42%, rgba(255,255,255,0.05) 52%, transparent 74%);
        background-size: auto, auto, 220% 100%;
        background-position: center, center, 135% 0;
        animation: glassSheenSlide 1.1s cubic-bezier(.22,1,.36,1) both;
    }

    .education-panel:hover::after,
    .education-panel:focus-within::after {
        opacity: .72;
        animation: ambientSheen 1.2s cubic-bezier(.22,1,.36,1) both;
    }

    .contact-form:hover::before,
    .contact-form:focus-within::before {
        opacity: .95;
        background:
            radial-gradient(circle at 18% 18%, rgba(99,102,241,0.08) 0%, transparent 52%),
            radial-gradient(circle at 18% 18%, rgba(99,102,241,0.08) 0%, transparent 52%),
            linear-gradient(115deg, transparent 24%, rgba(255,255,255,0.12) 48%, transparent 70%);
        background-size: auto, auto, 220% 100%;
        background-position: center, center, 135% 0;
        animation: glassSheenSlide 1.15s cubic-bezier(.22,1,.36,1) both;
    }
}

.education-panel:hover,
.education-card:hover,
.certificate-card:hover,
.job-experience-panel:hover,
.job-card:hover,
.project-card:hover,
.testimonials-slider:hover,
.guarantee-card:hover,
.contact-form:hover,
#skills .skill-category:hover {
    border-color: var(--apple-stroke-strong);
    box-shadow:
        var(--apple-shadow-lg),
        inset 0 0 0 1px rgba(99,102,241,0.24),
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 0 48px rgba(99,102,241,0.15),
        0 0 22px rgba(34,211,238,0.08);
}

.contact-form:hover {
    box-shadow:
        var(--apple-shadow-md),
        inset 0 0 0 1px rgba(99,102,241,0.14),
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 0 18px rgba(99,102,241,0.08);
}

.skill-category,
.job-card,
.project-card,
.testimonials-slider,
.guarantee-card,
.contact-form {
    border-radius: 2rem;
}

.skill-category {
    backdrop-filter: blur(18px) saturate(125%);
}

.skill-category::before,
.job-card::after,
.project-card::before,
.guarantee-card::before,
.testimonials-slider::before {
    background:
        radial-gradient(circle at 16% 14%, rgba(255,255,255,0.08), transparent 18%),
        var(--apple-accent-wash);
    opacity: .72;
}

.skill-category-info,
.skill-chips,
.testimonial-slide-copy,
.testimonial-person {
    border-radius: 1.6rem;
}

.skill-category-info::before {
    background: rgba(255,255,255,0.035);
    border-color: var(--apple-stroke);
    color: color-mix(in srgb, var(--t2) 84%, var(--t3));
}

.skill-category .skill-category-name,
.job-role,
.project-type,
.testimonial-person-role,
.guarantee-role {
    font-weight: 600;
}

.skill-chip {
    min-height: 2.85rem;
    border-radius: 1rem;
    background: var(--apple-surface-3);
    border-color: var(--apple-stroke);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.skill-chip:hover {
    transform: translateY(-1px);
    border-color: var(--apple-stroke-strong);
    box-shadow: var(--apple-shadow-sm), inset 0 1px 0 rgba(255,255,255,0.08);
}

.job-experience-panel,
.testimonials-slider,
.guarantee-card,
.contact-form {
    backdrop-filter: blur(20px) saturate(130%);
}

.job-brand-mark,
.skill-category-icon {
    border-radius: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 30px rgba(2,6,23,0.12);
}

.project-visual-overlay {
    background: linear-gradient(to bottom, rgba(7,7,15,0.02) 28%, rgba(7,7,15,0.72) 100%);
}

.project-body,
.testimonial-slide,
.guarantee-card,
.contact-form {
    padding: clamp(1.4rem, 2.5vw, 2rem);
}

.testimonial-slider-btn,
.contact-social {
    border-radius: 50%;
    background: var(--apple-surface-3);
    border-color: var(--apple-stroke);
}

.testimonial-slider-btn:hover,
.contact-social:hover {
    background: var(--apple-accent-wash);
}

.contact-form {
    padding: 1.45rem;
    border: 1px solid var(--apple-stroke);
}

.form-input,
.form-textarea {
    border-radius: 1rem;
    background: color-mix(in srgb, var(--bg-1) 76%, transparent);
    border-color: var(--apple-stroke);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: color-mix(in srgb, var(--t2) 72%, var(--t1) 28%);
    opacity: .96;
    transition: color .24s var(--ease), opacity .24s var(--ease);
}

.form-input:focus,
.form-textarea:focus {
    border-color: color-mix(in srgb, var(--a1) 70%, white 10%);
    background: color-mix(in srgb, var(--bg-2) 85%, transparent);
    box-shadow:
        0 0 0 4px color-mix(in srgb, var(--a1) 12%, transparent),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
    color: color-mix(in srgb, var(--a1) 54%, var(--t1) 46%);
    opacity: 1;
}

@media (max-width: 768px) {
    .skill-category,
    .job-card,
    .project-card,
    .testimonials-slider,
    .guarantee-card,
    .contact-form {
        border-radius: 1.65rem;
    }

    .project-body,
    .testimonial-slide,
    .contact-form {
        padding: 1.2rem;
    }
}

/* ── Typography Consistency ──────────────────────────────────────── */
:root {
    --fs-meta: .8125rem;
    --fs-body-sm: .9375rem;
    --fs-body: 1rem;
    --fs-body-lg: 1.0625rem;
    --fs-title-md: 1.25rem;
    --fs-title-lg: clamp(2.1rem, 3.8vw, 3.05rem);
    --fs-display: clamp(3.35rem, 7.8vw, 5.25rem);
    --fs-hero-lead: clamp(1.18rem, 2.5vw, 1.55rem);
    --lh-tight: 1.06;
    --lh-title: 1.14;
    --lh-copy: 1.72;
}

body {
    font-family: var(--ff-b);
    font-size: var(--fs-body);
    line-height: var(--lh-copy);
    letter-spacing: -.012em;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

.section-title,
.hero-name,
.hero-title,
.project-name,
.job-company-name,
.testimonial-quote,
.guarantee-name,
.skill-category .skill-category-name {
    font-family: var(--ff-d);
    letter-spacing: -.03em;
}

.section-title {
    font-size: var(--fs-title-lg);
    line-height: var(--lh-title);
    font-weight: 650;
}

.section-subtitle,
.hero-desc,
.about-text-block,
.experience-text-block,
.guarantee-text {
    font-size: var(--fs-body-lg);
    line-height: 1.78;
}

.section-subtitle,
.skill-category-desc,
.job-summary,
.education-card-desc,
.certificate-card-desc,
.project-desc,
.process-step-desc,
.testimonial-quote,
.testimonial-person-role,
.testimonial-person-note,
.guarantee-text,
.contact-email-link,
.scroll-line-reveal,
.scroll-reveal-line,
.scroll-reveal-line-base,
.scroll-reveal-line-ink {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.about-text,
.job-experience-copy,
.experience-left,
.guarantee-copy,
.contact-grid > .skill-category-content {
    max-width: 56rem;
}

.hero-name {
    font-size: var(--fs-display);
    line-height: var(--lh-tight);
}

.hero-title {
    font-size: var(--fs-hero-lead);
    line-height: 1.32;
    font-weight: 520;
}

.hero-title strong,
.process-step-title,
.project-name,
.guarantee-name,
.contact-email-link,
.skill-category .skill-category-name {
    font-weight: 600;
}

.project-name,
.testimonial-quote,
.contact-email-link {
    font-size: var(--fs-title-md);
    line-height: 1.28;
}

.testimonial-quote {
    letter-spacing: -.024em;
    line-height: 1.58;
}

.skill-category .skill-category-name {
    font-size: 1.22rem;
    line-height: 1.2;
}

.skill-category .skill-category-desc,
.project-desc,
.process-step-desc,
.testimonial-person-note,
.form-input,
.form-textarea {
    font-size: var(--fs-body-sm);
    line-height: 1.68;
}

.section-label,
.nav-links a,
.nav-cta,
.btn,
.project-btn,
.service-badge,
.project-tech-tag,
.testimonial-slider-status-label,
.guarantee-badge,
.form-label,
.footer-copy,
.footer-links a,
.lang-btn {
    font-size: var(--fs-meta);
}

.section-label,
.project-type,
.testimonial-slider-status-label,
.skill-category-info::before {
    letter-spacing: .12em;
}

.hero-stat-value,
.process-step-number,
.testimonial-slider-counter {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
    :root {
        --fs-title-lg: 1.92rem;
        --fs-display: clamp(2.85rem, 12vw, 4rem);
        --fs-hero-lead: 1.1rem;
        --fs-title-md: 1.14rem;
        --fs-body-lg: 1rem;
        --fs-body-sm: .9rem;
    }
}

/* ── Services Section ───────────────────────────────────────────── */
.services.section {
    padding-block: clamp(3.75rem, 5.5vw, 4.15rem);
    scroll-margin-top: 6.5rem;
}

.services-shell {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: clamp(1.2rem, 2vw, 1.5rem);
    border: 1px solid var(--apple-stroke);
    border-radius: 2rem;
    background:
        radial-gradient(circle at top right, rgba(99,102,241,0.1), transparent 28%),
        radial-gradient(circle at bottom left, rgba(34,211,238,0.06), transparent 30%),
        var(--apple-surface-1);
    box-shadow: var(--apple-shadow-lg), var(--apple-highlight);
    overflow: hidden;
    isolation: isolate;
}

.services-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), transparent 22%),
        linear-gradient(135deg, rgba(255,255,255,0.025), transparent 50%);
    pointer-events: none;
    opacity: .75;
}

.services-header,
.services-grid,
.services-footer {
    position: relative;
    z-index: 1;
}

.services-header .section-label {
    margin-bottom: .75rem;
}

.services-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr);
    align-items: end;
    gap: clamp(1.5rem, 4vw, 4rem);
}

.services-intro-grid .section-title {
    max-width: 17ch;
    margin-bottom: 0;
    font-size: clamp(2.1rem, 3.1vw, 2.65rem);
    line-height: 1.08;
}

.services-intro {
    max-width: 39rem;
    color: color-mix(in srgb, var(--t1) 82%, var(--t2));
    font-size: .96rem;
    line-height: 1.58;
    text-wrap: pretty;
}

.services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 1rem;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    min-height: 100%;
    padding: 1.1rem;
    border: 1px solid var(--apple-stroke);
    border-radius: 1.7rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
        rgba(8,11,22,0.66);
    box-shadow:
        0 18px 38px rgba(2,6,23,0.14),
        inset 0 1px 0 rgba(255,255,255,0.055);
    backdrop-filter: blur(18px) saturate(130%);
    transition:
        transform .28s var(--ease),
        border-color .28s var(--ease),
        box-shadow .28s var(--ease),
        background .28s var(--ease);
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 22%),
        linear-gradient(135deg, rgba(99,102,241,0.06), transparent 50%);
    opacity: .8;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: var(--apple-stroke-strong);
    box-shadow:
        0 24px 54px rgba(2,6,23,0.18),
        inset 0 1px 0 rgba(255,255,255,0.07);
}

.service-card-top,
.service-card-title,
.service-card-desc,
.service-card-points {
    position: relative;
    z-index: 1;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.service-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035)),
        rgba(255,255,255,0.02);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.14),
        0 14px 28px rgba(2,6,23,0.12);
    color: var(--a1);
    flex-shrink: 0;
}

.service-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.service-card-icon.violet { color: #8b5cf6; }
.service-card-icon.cyan { color: #22d3ee; }
.service-card-icon.purple { color: #818cf8; }
.service-card-icon.emerald { color: #34d399; }

.service-card-eyebrow {
    color: color-mix(in srgb, var(--t3) 82%, var(--t2));
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.service-card-title {
    max-width: 20ch;
    font-family: var(--ff-d);
    font-size: 1.25rem;
    line-height: 1.14;
    letter-spacing: -.03em;
    font-weight: 620;
}

.service-card-desc {
    color: color-mix(in srgb, var(--t1) 76%, var(--t2));
    font-size: .84rem;
    line-height: 1.55;
}

.service-card-points {
    display: grid;
    gap: .48rem;
    margin-top: auto;
    padding-top: .15rem;
}

.service-card-point {
    display: flex;
    align-items: flex-start;
    gap: .62rem;
    color: color-mix(in srgb, var(--t1) 84%, var(--t2));
    font-size: .82rem;
    line-height: 1.42;
}

.service-card-point-dot {
    width: .46rem;
    height: .46rem;
    margin-top: .38rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
    flex-shrink: 0;
}

.services-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: .85rem 1rem;
    border: 1px solid var(--apple-stroke);
    border-radius: 1.5rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
        rgba(255,255,255,0.02);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 12px 28px rgba(2,6,23,0.08);
}

.services-expertise {
    display: grid;
    grid-template-columns: minmax(10rem, .72fr) minmax(0, 1.8fr);
    align-items: center;
    gap: 1rem;
}

.services-expertise-label {
    font-family: var(--ff-d);
    color: var(--t1);
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.42;
    text-wrap: balance;
}

.services-capabilities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem 1rem;
}

.services-capability {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    color: color-mix(in srgb, var(--t1) 82%, var(--t2));
    font-size: .78rem;
    line-height: 1.35;
}

.services-capability::before {
    content: "";
    width: .35rem;
    height: .35rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a1), var(--a3));
    box-shadow: 0 0 8px rgba(99,102,241,0.28);
    flex: 0 0 auto;
}

.services-cta {
    min-height: 44px;
    justify-content: center;
}

.services-cta:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--a3) 72%, white 28%);
    outline-offset: 4px;
}

@media (max-width: 980px) {
    .services-intro-grid {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .services-intro-grid .section-title {
        max-width: 21ch;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-footer,
    .services-expertise {
        grid-template-columns: 1fr;
    }

    .services-cta {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .services.section {
        padding-block: 2.25rem;
    }

    .services .container {
        padding-inline: 1rem;
    }

    .services-shell {
        padding: .8rem;
        gap: .6rem;
        border-radius: 1.6rem;
    }

    .services-header .section-label {
        margin-bottom: .5rem;
    }

    .services-intro-grid {
        gap: .4rem;
    }

    .services-intro-grid .section-title {
        font-size: clamp(1.65rem, 7.7vw, 2rem);
        line-height: 1.1;
    }

    .services-intro {
        font-size: .86rem;
        line-height: 1.5;
    }

    .service-card {
        padding: .75rem;
        gap: .45rem;
        border-radius: 1.35rem;
    }

    .service-card-top {
        align-items: center;
    }

    .service-card-icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .service-card-title {
        max-width: none;
        font-size: 1.08rem;
    }

    .service-card-desc {
        font-size: .81rem;
        line-height: 1.48;
    }

    .service-card-points {
        gap: .3rem;
        padding-top: 0;
    }

    .service-card-point {
        gap: .52rem;
        font-size: .79rem;
        line-height: 1.38;
    }

    .services-footer {
        gap: .65rem;
        padding: .7rem;
        border-radius: 1.2rem;
    }

    .services-expertise {
        gap: .5rem;
    }

    .services-capabilities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .35rem .7rem;
    }

    .services-grid {
        gap: .75rem;
    }

    .services-capability {
        font-size: .72rem;
    }
}

/* ── Guarantee Premium Pass ─────────────────────────────────────── */
#guarantee {
    --ambient-size: 36rem;
    --ambient-primary-opacity: .58;
    --ambient-grid-opacity: .12;
}

.guarantee-card {
    max-width: 1020px;
    padding: clamp(2.4rem, 4vw, 4.3rem);
    border-radius: 2.25rem;
    border: 1px solid rgba(129,140,248,0.16);
    background:
        radial-gradient(circle at top center, rgba(255,255,255,0.08), transparent 32%),
        radial-gradient(circle at 18% 88%, rgba(99,102,241,0.14), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(34,211,238,0.08), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        rgba(10,13,26,0.9);
    box-shadow:
        0 32px 94px rgba(2,6,23,0.24),
        0 0 72px rgba(99,102,241,0.12),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 0 0 1px rgba(129,140,248,0.05);
    backdrop-filter: blur(26px) saturate(135%);
    text-align: center;
}

.guarantee-card::before {
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.12), transparent 26%),
        radial-gradient(circle at 14% 82%, rgba(99,102,241,0.18), transparent 26%),
        radial-gradient(circle at 86% 14%, rgba(34,211,238,0.1), transparent 20%),
        linear-gradient(135deg, rgba(129,140,248,0.12), transparent 36%, rgba(34,211,238,0.05) 100%);
    opacity: .92;
}

.guarantee-card::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: calc(2.25rem - 14px);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 0 0 1px rgba(129,140,248,0.04);
    pointer-events: none;
    z-index: 0;
}

.guarantee-header {
    gap: .9rem;
    margin-bottom: 1.15rem;
}

.guarantee-header .section-label,
.guarantee-badge {
    min-height: 2.7rem;
}

.guarantee-badge {
    padding: .62rem 1.05rem;
    border-color: rgba(129,140,248,0.18);
    background:
        linear-gradient(135deg, rgba(129,140,248,0.14), rgba(255,255,255,0.03)),
        rgba(255,255,255,0.025);
    color: rgba(255,255,255,0.78);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 26px rgba(99,102,241,0.08);
}

.guarantee .section-title {
    max-width: 13.8ch;
    margin-bottom: 1.3rem;
    font-size: clamp(2.75rem, 5.8vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.guarantee-copy {
    max-width: 64rem;
    display: grid;
    gap: .95rem;
    margin: 0 auto;
    text-align: center;
    justify-items: center;
}

.guarantee-text {
    max-width: 58rem;
    margin: 0;
    color: color-mix(in srgb, var(--t0) 82%, var(--t1));
    font-size: clamp(1.06rem, 1.55vw, 1.18rem);
    line-height: 1.78;
    text-wrap: pretty;
    text-align: center;
}

.guarantee-text + .guarantee-text {
    margin-top: 0;
}

.guarantee-signoff {
    position: relative;
    width: min(100%, 430px);
    margin: 2rem auto 0;
    padding: 1.45rem 1.15rem 1.1rem;
    border-radius: 1.8rem;
    border: 1px solid rgba(129,140,248,0.16);
    background:
        radial-gradient(circle at top center, rgba(129,140,248,0.14), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
        rgba(8,11,22,0.56);
    box-shadow:
        0 24px 54px rgba(2,6,23,0.18),
        0 0 40px rgba(99,102,241,0.1),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 0 0 1px rgba(129,140,248,0.04);
    gap: .72rem;
}

.guarantee-signoff::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 96px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(129,140,248,0.95), transparent);
    box-shadow: 0 0 18px rgba(99,102,241,0.45);
}

.guarantee-signoff::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 9px;
    height: 9px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(129,140,248,0.92));
    box-shadow:
        0 0 0 4px rgba(99,102,241,0.1),
        0 0 16px rgba(99,102,241,0.3);
}

.guarantee-signature-frame {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(244,247,255,0.96);
    overflow: hidden;
}

.guarantee-signature-svg {
    width: clamp(170px, 22vw, 240px);
    max-width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}

.guarantee-signature-path {
    transform-origin: center center;
}

.guarantee-signature-path-ghost {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.05;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.guarantee-signature-path-fill {
    fill: currentColor;
    opacity: 1;
    filter:
        drop-shadow(0 10px 18px rgba(99,102,241,0.1))
        drop-shadow(0 0 10px rgba(255,255,255,0.025));
    transition:
        opacity .62s cubic-bezier(.22,1,.36,1),
        filter .62s cubic-bezier(.22,1,.36,1);
}

.guarantee-signoff-meta {
    align-items: center;
    gap: .3rem;
}

.guarantee-name {
    font-size: 1.04rem;
    font-weight: 650;
}

.guarantee-role {
    color: color-mix(in srgb, var(--a1) 78%, white 10%);
    font-size: .88rem;
    letter-spacing: -.01em;
}

.guarantee-signature-note {
    max-width: 28rem;
    margin-top: .05rem;
    color: color-mix(in srgb, var(--t2) 86%, var(--t3));
    font-size: .76rem;
    line-height: 1.52;
}

@media (max-width: 720px) {
    .guarantee-card {
        padding: 1.45rem 1rem 1.1rem;
        border-radius: 1.7rem;
        text-align: center;
    }

    .guarantee-card::after {
        inset: 10px;
        border-radius: calc(1.7rem - 10px);
    }

    .guarantee-header {
        gap: .65rem;
        margin-bottom: 1rem;
        justify-content: center;
    }

    .guarantee .section-title {
        max-width: 12.5ch;
        font-size: clamp(2.2rem, 11vw, 3.2rem);
        margin-bottom: 1rem;
        margin-inline: auto;
    }

    .guarantee-copy {
        gap: .85rem;
        margin-inline: auto;
        text-align: center;
        justify-items: center;
    }

    .guarantee-text {
        max-width: 100%;
        font-size: .98rem;
        line-height: 1.72;
        text-align: center;
    }

    .guarantee-signoff {
        width: min(100%, 360px);
        margin-top: 1.6rem;
        padding: 1.3rem .95rem 1rem;
        border-radius: 1.4rem;
        align-items: center;
    }

    .guarantee-signature-svg {
        width: min(190px, 100%);
    }
}

/* Guarantee signature: static centered image */
.guarantee-signature-frame {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    overflow: hidden;
    transform: none !important;
}

.guarantee-signature-svg {
    width: clamp(148px, 22vw, 220px);
    max-width: 100%;
    display: block;
    margin-inline: auto;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    transform: none;
    transition: none;
}

.guarantee-signature-path-ghost,
.guarantee-signature-path-draw,
.guarantee-signature-tip,
.guarantee-signature-tip-glow,
.guarantee-signature-tip-core {
    display: none;
}

.guarantee-signature-path-fill {
    opacity: 1 !important;
    transition: none;
}

.guarantee-signature-frame.is-ready .guarantee-signature-svg,
.guarantee-signature-frame.is-signing .guarantee-signature-svg,
.guarantee-signature-frame.is-signed .guarantee-signature-svg {
    opacity: 1;
    transform: none;
}

@media (max-width: 720px) {
    .guarantee-signature-frame {
        justify-content: center;
    }

    .guarantee-signature-svg {
        width: min(180px, 100%);
    }
}

/* ── Section Gradient Pass ──────────────────────────────────────── */
.about-grid,
.job-experience-grid,
.experience-grid,
.testimonials-shell,
.contact-grid > .skill-category-content {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.about-grid,
.job-experience-grid,
.experience-grid,
.testimonials-shell {
    padding: clamp(1.2rem, 2.2vw, 1.7rem);
    border: 1px solid rgba(129,140,248,0.08);
    border-radius: 2rem;
    background:
        radial-gradient(circle at top left, rgba(129,140,248,0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(34,211,238,0.05), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
    box-shadow:
        0 22px 58px rgba(2,6,23,0.12),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.about-grid::before,
.job-experience-grid::before,
.experience-grid::before,
.testimonials-shell::before,
.contact-grid > .skill-category-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.035), transparent 42%),
        radial-gradient(circle at 78% 18%, rgba(99,102,241,0.08), transparent 22%);
    pointer-events: none;
    opacity: .82;
    z-index: 0;
}

.about-grid > *,
.job-experience-grid > *,
.experience-grid > *,
.testimonials-shell > *,
.contact-grid > .skill-category-content > * {
    position: relative;
    z-index: 1;
}

.about-grid {
    background:
        radial-gradient(circle at 12% 22%, rgba(129,140,248,0.12), transparent 24%),
        radial-gradient(circle at 86% 78%, rgba(34,211,238,0.05), transparent 22%),
        linear-gradient(135deg, rgba(99,102,241,0.035), rgba(255,255,255,0.01) 42%, rgba(34,211,238,0.018) 100%);
}

.job-experience-grid {
    background:
        radial-gradient(circle at 14% 18%, rgba(99,102,241,0.1), transparent 24%),
        radial-gradient(circle at 82% 84%, rgba(139,92,246,0.08), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.008));
}

.experience-grid {
    background:
        radial-gradient(circle at 18% 16%, rgba(129,140,248,0.1), transparent 24%),
        radial-gradient(circle at 88% 24%, rgba(34,211,238,0.06), transparent 24%),
        linear-gradient(135deg, rgba(99,102,241,0.028), rgba(255,255,255,0.01) 48%, rgba(34,211,238,0.016) 100%);
}

.testimonials-shell {
    background:
        radial-gradient(circle at 14% 14%, rgba(34,211,238,0.08), transparent 22%),
        radial-gradient(circle at 86% 20%, rgba(129,140,248,0.12), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.024), rgba(255,255,255,0.008));
}

.contact-grid > .skill-category-content {
    padding: clamp(1.2rem, 2.2vw, 1.6rem);
    border: 1px solid rgba(129,140,248,0.08);
    border-radius: 1.85rem;
    background:
        radial-gradient(circle at 14% 16%, rgba(129,140,248,0.1), transparent 24%),
        radial-gradient(circle at 86% 86%, rgba(34,211,238,0.05), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.024), rgba(255,255,255,0.008));
    box-shadow:
        0 20px 48px rgba(2,6,23,0.12),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

@media (max-width: 720px) {
    .about-grid,
    .job-experience-grid,
    .experience-grid,
    .testimonials-shell,
    .contact-grid > .skill-category-content {
        padding: 1rem;
        border-radius: 1.45rem;
    }
}

/* ── Hero Title Premium Pass ────────────────────────────────────── */
.hero-title {
    display: inline-grid;
    position: relative;
    isolation: isolate;
    gap: .72rem;
    width: min(100%, 58rem);
    max-width: 58rem;
    padding: 1.22rem 1.4rem 1.34rem;
    border: 1px solid rgba(129,140,248,0.18);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 2% 2%, rgba(129,140,248,0.18), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(34,211,238,0.1), transparent 38%),
        linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,255,255,0.015) 42%, rgba(255,255,255,0.04) 100%),
        rgba(8,11,22,0.56);
    box-shadow:
        0 30px 70px rgba(2,6,23,0.32),
        0 0 42px rgba(99,102,241,0.12),
        0 0 68px rgba(56,189,248,0.05),
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 0 0 1px rgba(129,140,248,0.08);
    backdrop-filter: blur(22px) saturate(135%);
    overflow: hidden;
}

.hero-title::before,
.hero-title::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-title::before {
    inset: 1px;
    border-radius: calc(2rem - 1px);
    border: 1px solid rgba(255,255,255,0.05);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.1), transparent 22%, transparent 72%, rgba(34,211,238,0.08)),
        radial-gradient(circle at 14% 0%, rgba(129,140,248,0.16), transparent 30%);
    opacity: .9;
    z-index: -1;
}

.hero-title::after {
    inset: auto 1.3rem 0.85rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(129,140,248,0), rgba(129,140,248,0.34), rgba(56,189,248,0.28), rgba(56,189,248,0));
    opacity: .75;
    filter: blur(.2px);
}

.hero-title-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 3.4rem;
    padding: .46rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(129,140,248,0.24);
    background:
        linear-gradient(135deg, rgba(129,140,248,0.2), rgba(255,255,255,0.045) 50%, rgba(56,189,248,0.08)),
        rgba(255,255,255,0.03);
    color: rgba(243,247,255,0.94);
    font-size: .96rem;
    font-weight: 620;
    letter-spacing: .16em;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 10px 24px rgba(2,6,23,0.16),
        0 0 24px rgba(99,102,241,0.14);
}

.hero-title-copy {
    display: block;
    font-family: var(--ff-d);
    max-width: 18ch;
    font-size: clamp(1.9rem, 3.9vw, 3.3rem);
    font-weight: 560;
    line-height: 1.03;
    letter-spacing: -.05em;
    color: color-mix(in srgb, var(--t0) 94%, white 6%);
    text-wrap: balance;
    text-shadow: 0 10px 26px rgba(4,8,20,0.2);
}

.hero-title-copy-secondary {
    max-width: 20ch;
    color: color-mix(in srgb, var(--t0) 88%, var(--t1) 12%);
}

.hero-title strong {
    font-weight: 650;
    background: linear-gradient(135deg, #f4f7ff 0%, #a78bfa 36%, #6366f1 62%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 10px 22px rgba(99,102,241,0.16));
}

@media (min-width: 961px) {
    .hero > .container {
        width: min(100%, 840px);
    }

    .hero-content {
        max-width: 1280px;
    }

    .hero-title {
        width: min(100%, 72rem);
        max-width: 72rem;
        padding: 1.45rem 1.65rem 1.52rem;
    }

    .hero-desc {
        max-width: 68rem;
        width: min(100%, 68rem);
    }
}

@media (max-width: 640px) {
    .hero-title {
        gap: .5rem;
        padding: 1rem 1rem 1.08rem;
        border-radius: 1.35rem;
    }

    .hero-title::after {
        inset: auto 1rem 0.7rem;
    }

    .hero-title-role {
        min-height: 2.55rem;
        padding: .32rem .95rem;
        font-size: .74rem;
        letter-spacing: .13em;
    }

    .hero-title-copy {
        max-width: 100%;
        font-size: clamp(1.45rem, 6vw, 2rem);
        line-height: 1.06;
    }

    .hero-title-copy-secondary {
        max-width: 100%;
    }
}

/* ── Spacing Cleanup ────────────────────────────────────────────── */
.about-grid,
.job-experience-grid,
.experience-grid,
.testimonials-shell {
    padding: clamp(1rem, 1.8vw, 1.35rem);
    border-radius: 1.75rem;
}

.contact-grid > .skill-category-content {
    padding: clamp(1rem, 1.8vw, 1.25rem);
    border-radius: 1.6rem;
}

.job-experience-grid {
    gap: clamp(2rem, 4vw, 3.35rem);
}

.experience-grid {
    gap: clamp(2rem, 4vw, 3.8rem);
}

.education-shell {
    gap: clamp(2rem, 4vw, 3.15rem);
}

.job-experience-panel,
.education-panel {
    padding: 1.5rem;
}

.job-card,
.education-card {
    padding: 1.6rem;
}

.certificate-card {
    padding: 1.05rem;
}

.testimonials-slider,
.guarantee-card,
.contact-form {
    padding: clamp(1.35rem, 2.2vw, 1.8rem);
}

/* ── Apple Section Motion ───────────────────────────────────────── */
.skills-categories,
.about-grid,
.job-experience-grid,
.education-shell,
.certificates-grid,
.projects-grid,
.experience-grid,
.testimonials-shell,
.guarantee-card,
.contact-grid {
    opacity: .01;
    transform: translate3d(0, 34px, 0) scale(.982);
    filter: blur(10px) saturate(.9);
    transform-origin: center top;
    will-change: transform, opacity, filter, box-shadow;
}

#about.section-animated .about-grid,
#skills.section-animated .skills-categories,
#job-experience.section-animated .job-experience-grid,
#education.section-animated .education-shell,
#certificates.section-animated .certificates-grid,
#projects.section-animated .projects-grid,
#experience.section-animated .experience-grid,
#testimonials.section-animated .testimonials-shell,
#guarantee.section-animated .guarantee-card,
#contact.section-animated .contact-grid {
    animation: appleSectionSettle 1.2s cubic-bezier(.22,1,.36,1) both;
}

#about.section-animated .about-grid,
#skills.section-animated .skills-categories,
#job-experience.section-animated .job-experience-grid,
#experience.section-animated .experience-grid,
#testimonials.section-animated .testimonials-shell,
#guarantee.section-animated .guarantee-card {
    animation:
        appleSectionSettle 1.2s cubic-bezier(.22,1,.36,1) both,
        appleSectionBreath 9.5s cubic-bezier(.37,0,.25,1) 1.2s infinite;
}

/* ── Section Width Alignment ───────────────────────────────────── */
.skills-categories,
.about-grid,
.job-experience-grid,
.education-shell,
.certificates-grid,
.projects-grid,
.experience-grid,
.testimonials-shell,
.guarantee-card,
.contact-grid {
    width: calc(100% + (var(--space-6) * 2));
    max-width: none;
    margin-inline: calc(var(--space-6) * -1);
}

.testimonials-slider {
    width: 100%;
    max-width: none;
}

@media (max-width: 900px) {
    .skills-categories,
    .about-grid,
    .job-experience-grid,
    .education-shell,
    .certificates-grid,
    .projects-grid,
    .experience-grid,
    .testimonials-shell,
    .guarantee-card,
    .contact-grid {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
    }

    .about-grid,
    .job-experience-grid,
    .experience-grid,
    .testimonials-shell,
    .contact-grid > .skill-category-content {
        padding: 1rem;
        border-radius: 1.45rem;
    }

    .job-card,
    .education-card,
    .education-panel {
        padding: 1.3rem;
    }

    .education-shell { gap: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .skills-categories,
    .about-grid,
    .job-experience-grid,
    .education-shell,
    .certificates-grid,
    .projects-grid,
    .experience-grid,
    .testimonials-shell,
    .guarantee-card,
    .contact-grid {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

@media (max-width: 768px) {
    .job-experience-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        padding: .95rem;
        border-radius: 1.35rem;
    }

    #job-experience .section-label {
        margin-bottom: .8rem;
    }

    #job-experience .section-title {
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.08;
        margin-bottom: .8rem;
        text-wrap: pretty;
    }

    #job-experience .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        max-width: none;
    }

    .job-experience-copy,
    .job-timeline,
    .job-company,
    .job-company > div,
    .job-period-wrap,
    .job-experience-panel-item > .scroll-line-reveal {
        min-width: 0;
    }

    .job-experience-panel {
        margin-top: .9rem;
        padding: 1rem;
        border-radius: 1.35rem;
        box-shadow:
            0 14px 32px rgba(2,6,23,0.14),
            inset 0 1px 0 rgba(255,255,255,0.04);
        backdrop-filter: blur(14px) saturate(120%);
        -webkit-backdrop-filter: blur(14px) saturate(120%);
    }

    .job-experience-panel::after {
        display: none;
    }

    .job-experience-panel-label {
        margin-bottom: .8rem;
        font-size: .9rem;
    }

    .job-experience-panel-list {
        gap: .8rem;
    }

    .job-experience-panel-item {
        display: grid;
        grid-template-columns: .6rem minmax(0, 1fr);
        column-gap: .78rem;
        align-items: start;
        font-size: .94rem;
        line-height: 1.62;
    }

    .job-experience-panel-item > .scroll-line-reveal {
        width: 100%;
        gap: .16em;
    }

    .job-experience-panel-dot {
        width: .52rem;
        height: .52rem;
        margin-top: .45rem;
    }

    .job-timeline {
        padding-left: 0;
        gap: .9rem;
        margin-top: .15rem;
    }

    .job-timeline::before,
    .job-timeline::after,
    .job-card::before {
        display: none;
    }

    .job-card {
        padding: 1.05rem;
        border-radius: 1.35rem;
        filter: none;
        box-shadow:
            0 14px 30px rgba(2,6,23,0.16),
            inset 0 1px 0 rgba(255,255,255,0.04);
    }

    .job-card::after {
        opacity: .38;
    }

    .job-card-header {
        flex-direction: column;
        align-items: stretch;
        gap: .85rem;
    }

    .job-company {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        gap: .85rem;
    }

    .job-brand-mark {
        width: 48px;
        height: 48px;
        border-radius: .9rem;
    }

    .job-brand-mark img {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        padding: .24rem;
        border-radius: calc(.9rem - .24rem);
    }

    .job-brand-mark--nelt img {
        padding: .34rem;
    }

    .job-brand-mark--bvk img {
        padding: .15rem;
    }

    .job-company-name {
        font-size: 1.05rem;
        margin-bottom: .16rem;
        overflow-wrap: anywhere;
    }

    .job-role {
        font-size: .92rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .job-period-wrap {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        gap: .5rem;
    }

    .job-current-badge,
    .job-period,
    .job-meta-pill {
        padding: .5rem .74rem;
        max-width: 100%;
        white-space: normal;
        text-align: left;
        line-height: 1.2;
    }

    .job-summary {
        font-size: .98rem;
        line-height: 1.62;
        margin-bottom: .9rem;
    }

    .job-meta {
        gap: .5rem;
    }

    .job-meta-pill {
        flex: 0 1 auto;
    }

    .education-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        isolation: isolate;
        gap: 1rem;
        padding: .95rem;
        border-radius: 1.35rem;
    }

    .education-intro,
    .education-cards,
    .education-card-top,
    .education-card-awards,
    .education-panel-item > .scroll-line-reveal {
        min-width: 0;
    }

    #education .scroll-line-reveal {
        display: block;
        gap: 0;
    }

    .education-intro {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
        padding-bottom: clamp(5.25rem, 17vw, 6.5rem);
    }

    #education .section-label {
        margin-bottom: .8rem;
    }

    #education .section-title {
        font-size: clamp(2rem, 8.8vw, 2.5rem);
        line-height: 1.08;
        margin-bottom: .8rem;
        text-wrap: pretty;
    }

    #education .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        max-width: none;
    }

    .education-panel {
        margin-top: .9rem;
        padding: 1rem;
        border-radius: 1.35rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-shadow:
            0 8px 18px rgba(2,6,23,0.12),
            inset 0 1px 0 rgba(255,255,255,0.04);
        backdrop-filter: blur(14px) saturate(120%);
        -webkit-backdrop-filter: blur(14px) saturate(120%);
    }

    .education-panel::after {
        display: none;
    }

    .education-panel-label {
        margin-bottom: .8rem;
        font-size: .82rem;
        letter-spacing: .07em;
    }

    .education-panel-list {
        gap: .75rem;
        overflow: hidden;
    }

    .education-panel-item {
        display: grid;
        grid-template-columns: .6rem minmax(0, 1fr);
        column-gap: .78rem;
        align-items: start;
        padding: .82rem .88rem;
        border-radius: 1rem;
        font-size: .94rem;
        line-height: 1.6;
    }

    .education-panel-item > .scroll-line-reveal {
        width: 100%;
        gap: .16em;
    }

    .education-panel-dot {
        width: .52rem;
        height: .52rem;
        margin-top: .42rem;
    }

    .education-cards {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 100%;
        gap: 1rem;
        margin-top: .9rem;
        padding-top: 0;
    }

    .education-card {
        min-height: 0;
        padding: 1rem;
        border-radius: 1.35rem;
        filter: none;
        box-shadow:
            0 8px 18px rgba(2,6,23,0.12),
            inset 0 1px 0 rgba(255,255,255,0.04);
    }

    .education-card::after {
        border-radius: calc(1.35rem - 1px);
    }

    .education-card::before,
    .education-card-featured::before {
        opacity: .3;
    }

    .education-card-top {
        grid-template-columns: 1fr;
        align-items: start;
        gap: .72rem;
        margin-bottom: .75rem;
        min-height: 0;
    }

    .education-card-brand,
    .education-card-brand-its {
        width: 7.25rem;
        min-width: 7.25rem;
        height: 4.1rem;
        padding: .58rem .8rem;
        border-radius: 1rem;
    }

    .education-card-brand-its img {
        transform: none;
    }

    .education-card-awards {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
        gap: .45rem;
        margin-left: 0;
    }

    .education-card-award {
        width: auto;
        min-height: 1.82rem;
        max-width: 100%;
        padding: .42rem .68rem;
        justify-content: flex-start;
        font-size: .6rem;
        letter-spacing: .08em;
        line-height: 1.2;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.08),
            0 8px 18px rgba(99,102,241,0.1);
    }

    .education-card-eyebrow {
        margin-bottom: .72rem;
        font-size: .64rem;
        letter-spacing: .12em;
    }

    .education-card-title {
        max-width: none;
        font-size: 1.16rem;
        line-height: 1.14;
        margin-bottom: .65rem;
        overflow-wrap: anywhere;
    }

    .education-card-desc,
    .education-card-featured .education-card-desc {
        max-width: none;
        font-size: .96rem;
        line-height: 1.62;
        margin-bottom: .9rem;
    }

    .education-card-meta {
        gap: .5rem;
        padding-top: .78rem;
    }

    .education-card-pill {
        max-width: 100%;
        white-space: normal;
        text-align: left;
        line-height: 1.24;
    }
}

/* ── Section Bridge Transitions ─────────────────────────────────── */
:root {
    --section-bridge-height: 2px;
    --section-bridge-side: clamp(.9rem, 4vw, 2.8rem);
    --section-bridge-gap: clamp(.42rem, .9vw, .78rem);
}

.divider {
    --divider-shell-shift: 0px;
    --divider-line-shift: 0px;
    --divider-line-drift: 0px;
    position: relative;
    height: var(--section-bridge-height);
    margin: 0;
    overflow: visible;
    pointer-events: none;
    isolation: isolate;
    z-index: 4;
    opacity: 1;
    transform: translate3d(0, calc(var(--divider-shell-shift) * .18), 0);
    background: none;
    filter: none;
    transition:
        transform .85s cubic-bezier(.22,1,.36,1),
        opacity .7s cubic-bezier(.22,1,.36,1);
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.divider::before {
    inset: 0 var(--section-bridge-side);
    background:
        linear-gradient(90deg,
        transparent 0%,
        rgba(129,140,248,0) 12%,
        var(--divider-violet) 24%,
        var(--divider-core) 50%,
        var(--divider-cyan) 80%,
        rgba(56,189,248,0) 88%,
        transparent 100%) center 50% / 100% 2px no-repeat,
        linear-gradient(90deg,
        transparent 0%,
        rgba(129,140,248,0) 18%,
        var(--divider-violet) 32%,
        var(--divider-core-soft) 50%,
        var(--divider-pink) 66%,
        var(--divider-cyan) 82%,
        rgba(56,189,248,0) 92%,
        transparent 100%) center 50% / 78% 1px no-repeat;
    opacity: calc(.82 + (var(--divider-strength) * .18));
    transform: translate3d(var(--divider-line-drift), var(--divider-line-shift), 0) scaleX(calc(.96 + (var(--divider-strength) * .04)));
    transition:
        opacity .7s cubic-bezier(.22,1,.36,1),
        transform .85s cubic-bezier(.22,1,.36,1);
    filter: drop-shadow(0 0 10px var(--divider-shadow));
    animation: dividerLinesDrift 8.5s ease-in-out infinite;
}

.divider::after {
    inset: 0 var(--section-bridge-side);
    background:
        linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0) 18%,
        var(--divider-core) 50%,
        rgba(255,255,255,0) 82%,
        transparent 100%) -16rem 50% / 16rem 2px no-repeat;
    opacity: calc(.68 + (var(--divider-strength) * .2));
    transform: translate3d(var(--divider-line-drift), var(--divider-line-shift), 0);
    transition:
        opacity .6s cubic-bezier(.22,1,.36,1),
        transform .8s cubic-bezier(.22,1,.36,1);
    filter: drop-shadow(0 0 6px var(--divider-shadow));
    animation: dividerSignal 7.2s cubic-bezier(.22,1,.36,1) infinite;
}

.divider.visible::before,
.divider.visible::after {
    opacity: 1;
}

.divider.visible::before {
    transform: translate3d(var(--divider-line-drift), var(--divider-line-shift), 0) scaleX(calc(.98 + (var(--divider-strength) * .05)));
}

.divider.visible::after {
    transform: translate3d(var(--divider-line-drift), var(--divider-line-shift), 0);
    animation: dividerSignal 7.2s cubic-bezier(.22,1,.36,1) infinite;
}

[data-premium-section] {
    z-index: 1;
}

@media (max-width: 900px) {
    :root {
        --section-bridge-height: .9rem;
        --section-bridge-side: .75rem;
        --section-bridge-gap: .34rem;
    }
}

@keyframes dividerLinesDrift {
    0%, 100% {
        background-position:
            50% 50%,
            50% 50%;
        opacity: calc(.78 + (var(--divider-strength) * .16));
    }
    50% {
        background-position:
            calc(50% - .65rem) 50%,
            calc(50% + .45rem) 50%;
        opacity: calc(.96 + (var(--divider-strength) * .12));
    }
}

@keyframes dividerSignal {
    0% {
        background-position:
            calc(50% + var(--divider-line-drift)) 50%,
            -16rem 50%;
        opacity: .48;
    }
    48% {
        opacity: calc(.88 + (var(--divider-strength) * .12));
    }
    100% {
        background-position:
            calc(50% - var(--divider-line-drift)) 50%,
            calc(100% + 16rem) 50%;
        opacity: .48;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   EXPERIENCE & EDUCATION — CONNECTED CREDIBILITY CHAPTER
═══════════════════════════════════════════════════════════════════ */
.credibility-chapter {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.6rem, 4.2vw, 3.9rem);
    background:
        radial-gradient(circle at 12% 16%, rgba(99,102,241,.075), transparent 27%),
        radial-gradient(circle at 86% 68%, rgba(34,211,238,.055), transparent 25%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1) 48%, var(--bg-0));
}

.credibility-chapter::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 7%, rgba(129,140,248,.05) 7% calc(7% + 1px), transparent calc(7% + 1px)),
        linear-gradient(90deg, transparent 0 93%, rgba(34,211,238,.04) 93% calc(93% + 1px), transparent calc(93% + 1px));
    opacity: .65;
}

.credibility-chapter > .container {
    position: relative;
    z-index: 1;
}

.credibility-chapter-header {
    max-width: 70rem;
    margin-bottom: 2.25rem;
}

.credibility-chapter-header .section-title {
    max-width: 70rem;
    margin-bottom: 1.15rem;
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    line-height: 1.04;
    text-wrap: balance;
}

.credibility-chapter-header .section-subtitle {
    max-width: 52rem;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.72;
}

.credibility-subsection {
    position: relative;
}

.credibility-subsection-header {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibility-subsection-index {
    padding-top: .24rem;
    font-family: var(--ff-d);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    color: color-mix(in srgb, var(--a2) 72%, var(--t1));
}

.credibility-subsection-header h3 {
    margin: 0;
    font-family: var(--ff-d);
    font-size: clamp(1.8rem, 2.8vw, 2.55rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.current-role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.professional-role {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 21.5rem;
    padding: 1.7rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
    border-radius: 1.65rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.014)),
        color-mix(in srgb, var(--card) 76%, transparent);
    box-shadow:
        0 18px 48px rgba(2,6,23,.16),
        inset 0 1px 0 rgba(255,255,255,.045);
}

.professional-role::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    pointer-events: none;
}

.professional-role--codersy::before {
    background: linear-gradient(90deg, var(--a1), var(--a2), transparent 78%);
}

.professional-role--bvk::before {
    background: linear-gradient(90deg, var(--a3), var(--a1), transparent 78%);
}

.professional-role-header {
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.credibility-brand-mark,
.academic-brand-mark {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 12px 26px rgba(2,6,23,.18);
}

.credibility-brand-mark {
    width: 3.75rem;
    height: 3.75rem;
    padding: .62rem;
    border-radius: 1rem;
}

.credibility-brand-mark img,
.academic-brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.credibility-brand-mark--bvk {
    padding: .34rem;
}

.credibility-brand-mark--nelt {
    padding: .52rem;
}

.professional-role-identity,
.earlier-role-identity,
.academic-foundation-identity,
.academic-foundation-degree {
    min-width: 0;
}

.professional-role-identity h4,
.earlier-role-identity h4,
.academic-institution-header h4,
.academic-foundation-identity h4 {
    margin: 0;
    font-family: var(--ff-d);
    font-weight: 700;
    letter-spacing: -.025em;
}

.professional-role-identity h4 {
    font-size: 1.16rem;
    line-height: 1.2;
}

.professional-role-identity p {
    margin: .25rem 0 0;
    color: var(--t2);
    font-size: .78rem;
    line-height: 1.4;
}

.credibility-current {
    align-self: start;
    padding: .42rem .66rem;
    border: 1px solid color-mix(in srgb, var(--a1) 32%, var(--border));
    border-radius: 999px;
    background: color-mix(in srgb, var(--a1) 11%, transparent);
    color: color-mix(in srgb, var(--a2) 70%, var(--t0));
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.professional-role-primary {
    margin-bottom: 1.15rem;
    padding-bottom: 1.05rem;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
}

.professional-role-title {
    margin: 0;
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
}

.credibility-date {
    margin: .35rem 0 0;
    color: var(--t2);
    font-size: .78rem;
    font-weight: 550;
    letter-spacing: .025em;
    line-height: 1.5;
}

.professional-role-description {
    margin: auto 0 0;
    color: color-mix(in srgb, var(--t1) 76%, var(--t2));
    font-size: .91rem;
    line-height: 1.7;
}

.role-progression {
    position: relative;
    display: grid;
    gap: .8rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.role-progression::before {
    content: '';
    position: absolute;
    left: .28rem;
    top: .58rem;
    bottom: .58rem;
    width: 1px;
    background: linear-gradient(var(--a3), color-mix(in srgb, var(--a1) 38%, transparent));
}

.role-progression-item {
    position: relative;
    display: grid;
    grid-template-columns: .62rem minmax(0, 1fr);
    gap: .72rem;
}

.role-progression-marker {
    position: relative;
    z-index: 1;
    width: .58rem;
    height: .58rem;
    margin-top: .3rem;
    border: 2px solid color-mix(in srgb, var(--a1) 54%, var(--bg-0));
    border-radius: 50%;
    background: var(--bg-1);
}

.role-progression-item--current .role-progression-marker {
    border-color: var(--a3);
    background: var(--a3);
    box-shadow: 0 0 0 5px rgba(34,211,238,.08);
}

.earlier-role-row {
    display: grid;
    grid-template-columns: 3.45rem minmax(12rem, .7fr) auto minmax(18rem, 1.3fr);
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.1rem;
    padding: 1.15rem 1.35rem;
    border-block: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
    background: linear-gradient(90deg, rgba(255,255,255,.018), rgba(255,255,255,.006));
}

.earlier-role-row .credibility-brand-mark {
    width: 3.45rem;
    height: 3.45rem;
}

.earlier-role-label,
.academic-stage {
    display: block;
    margin-bottom: .28rem;
    color: color-mix(in srgb, var(--a2) 66%, var(--t2));
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.earlier-role-identity h4 {
    font-size: 1.02rem;
}

.earlier-role-identity .professional-role-title {
    margin-top: .22rem;
    font-size: .86rem;
}

.earlier-role-date {
    margin: 0;
    white-space: nowrap;
}

.earlier-role-description {
    margin: 0;
    font-size: .84rem;
    line-height: 1.62;
}

.credibility-transition {
    position: relative;
    height: 1px;
    margin: clamp(2.35rem, 3vw, 2.6rem) 0;
    background: linear-gradient(90deg, transparent, rgba(129,140,248,.38) 20%, rgba(34,211,238,.3) 78%, transparent);
}

.credibility-transition::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: .44rem;
    height: .44rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a1), var(--a3));
    box-shadow: 0 0 16px rgba(99,102,241,.34);
    transform: translate(-50%, -50%);
}

.credibility-education-header {
    max-width: 61rem;
}

.credibility-education-header p {
    max-width: 50rem;
    margin: .7rem 0 0;
    color: var(--t1);
    font-size: .96rem;
    line-height: 1.68;
}

.academic-feature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(17rem, .78fr) minmax(0, 1.22fr);
    gap: 1.7rem;
    padding: 1.8rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--a1) 20%, var(--border));
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at 13% 18%, rgba(99,102,241,.11), transparent 27%),
        radial-gradient(circle at 88% 78%, rgba(34,211,238,.075), transparent 29%),
        linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.014)),
        color-mix(in srgb, var(--card) 78%, transparent);
    box-shadow:
        0 24px 60px rgba(2,6,23,.17),
        inset 0 1px 0 rgba(255,255,255,.05);
}

.academic-degree {
    min-width: 0;
    padding-right: 1.7rem;
    border-right: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.academic-institution-header {
    display: grid;
    grid-template-columns: 8.2rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.academic-brand-mark {
    width: 8.2rem;
    height: 4.2rem;
    padding: .68rem .85rem;
    border-radius: 1rem;
}

.academic-brand-mark--ict {
    width: 3.7rem;
    height: 3.7rem;
    padding: .52rem;
}

.academic-institution-header h4 {
    font-size: 1.08rem;
    line-height: 1.28;
}

.academic-degree-title {
    max-width: 27rem;
    margin: 0;
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.academic-date {
    margin-top: .55rem;
}

.academic-gpa {
    display: flex;
    align-items: baseline;
    gap: .8rem;
    margin-top: 1.65rem;
    padding-top: 1.35rem;
    border-top: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
}

.academic-gpa strong {
    font-family: var(--ff-d);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 760;
    line-height: .9;
    letter-spacing: -.06em;
    background: linear-gradient(110deg, var(--a2), var(--a3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.academic-gpa strong span {
    font-size: .48em;
    letter-spacing: -.02em;
}

.academic-gpa > span {
    color: var(--t2);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.recognition-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
}

.recognition-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: .25rem 1.45rem .2rem;
}

.recognition-group:first-child {
    padding-left: 0;
}

.recognition-group + .recognition-group {
    border-left: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
}

.recognition-group-header {
    margin-bottom: 1rem;
}

.recognition-year {
    display: block;
    margin-bottom: .42rem;
    font-family: var(--ff-d);
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -.02em;
    color: color-mix(in srgb, var(--a2) 76%, var(--t0));
}

.recognition-group h5 {
    margin: 0;
    color: var(--t1);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.recognition-group ul {
    display: grid;
    gap: .75rem;
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
}

.recognition-group li {
    position: relative;
    padding-left: 1rem;
    color: color-mix(in srgb, var(--t1) 80%, var(--t2));
    font-size: .84rem;
    line-height: 1.55;
}

.recognition-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55rem;
    width: .35rem;
    height: .35rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a2), var(--a3));
    box-shadow: 0 0 10px rgba(129,140,248,.28);
}

.verification-link {
    width: fit-content;
    margin-top: auto;
    padding-block: .28rem;
    color: color-mix(in srgb, var(--a3) 68%, var(--t1));
    font-size: .74rem;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    text-underline-offset: .24em;
    transition: color .22s ease, text-decoration-color .22s ease;
}

.verification-link:hover {
    color: var(--t0);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--a3) 68%, transparent);
}

.verification-link:focus-visible {
    outline: 2px solid var(--a3);
    outline-offset: 4px;
    border-radius: .2rem;
}

.academic-foundation-row {
    display: grid;
    grid-template-columns: 3.7rem minmax(12rem, .7fr) minmax(17rem, 1.2fr) minmax(17rem, 1fr);
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.1rem;
    padding: 1.25rem 1.4rem;
    border-block: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
    background: linear-gradient(90deg, rgba(255,255,255,.018), rgba(255,255,255,.006));
}

.academic-foundation-identity h4 {
    font-size: 1rem;
    line-height: 1.3;
}

.academic-foundation-degree p,
.academic-foundation-description {
    margin: 0;
}

.academic-foundation-degree > p:first-child {
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: .88rem;
    font-weight: 620;
    line-height: 1.48;
}

.academic-foundation-description {
    color: color-mix(in srgb, var(--t1) 74%, var(--t2));
    font-size: .82rem;
    line-height: 1.58;
}

@media (max-width: 1040px) {
    .professional-role-header {
        grid-template-columns: 3.5rem minmax(0, 1fr);
    }

    .credibility-brand-mark {
        width: 3.5rem;
        height: 3.5rem;
    }

    .credibility-current {
        grid-column: 2;
        justify-self: start;
        margin-top: -.45rem;
    }

    .earlier-role-row {
        grid-template-columns: 3.45rem minmax(0, .8fr) minmax(0, 1.2fr);
    }

    .earlier-role-date {
        grid-column: 2;
    }

    .earlier-role-description {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .academic-feature {
        grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr);
    }

    .recognition-group {
        padding-inline: 1rem;
    }

    .academic-foundation-row {
        grid-template-columns: 3.7rem minmax(0, .7fr) minmax(0, 1.3fr);
    }

    .academic-foundation-description {
        grid-column: 3;
    }
}

@media (max-width: 768px) {
    .credibility-chapter {
        padding-block: 2.9rem;
    }

    .credibility-chapter::before {
        opacity: .34;
    }

    .credibility-chapter-header {
        margin-bottom: 2.1rem;
    }

    .credibility-chapter-header .section-label {
        margin-bottom: .8rem;
    }

    .credibility-chapter-header .section-title {
        margin-bottom: .9rem;
        font-size: clamp(1.95rem, 8.2vw, 2.15rem);
        line-height: 1.04;
        text-wrap: pretty;
    }

    .credibility-chapter-header .section-subtitle {
        font-size: .94rem;
        line-height: 1.58;
    }

    .credibility-subsection-header {
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: .7rem;
        margin-bottom: 1.15rem;
    }

    .credibility-subsection-header h3 {
        font-size: 1.65rem;
    }

    .current-role-grid {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .professional-role {
        min-height: 0;
        padding: 1rem;
        border-radius: 1.3rem;
    }

    .professional-role-header {
        grid-template-columns: 3.15rem minmax(0, 1fr) auto;
        gap: .78rem;
        margin-bottom: 1rem;
    }

    .credibility-brand-mark {
        width: 3.15rem;
        height: 3.15rem;
        padding: .52rem;
        border-radius: .85rem;
    }

    .credibility-brand-mark--bvk {
        padding: .28rem;
    }

    .professional-role-identity h4 {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .professional-role-identity p {
        font-size: .7rem;
    }

    .credibility-current {
        grid-column: auto;
        align-self: start;
        margin-top: 0;
        padding: .35rem .5rem;
        font-size: .58rem;
    }

    .professional-role-primary {
        margin-bottom: .9rem;
        padding-bottom: .82rem;
    }

    .professional-role-title {
        font-size: .94rem;
    }

    .professional-role-description {
        font-size: .85rem;
        line-height: 1.56;
    }

    .role-progression {
        gap: .7rem;
        margin-bottom: .9rem;
    }

    .earlier-role-row {
        grid-template-columns: 3.15rem minmax(0, 1fr);
        gap: .7rem .85rem;
        margin-top: .85rem;
        padding: .8rem .15rem;
        background: none;
    }

    .earlier-role-row .credibility-brand-mark {
        width: 3.15rem;
        height: 3.15rem;
    }

    .earlier-role-date {
        grid-column: 2;
    }

    .earlier-role-description {
        grid-column: 1 / -1;
        grid-row: auto;
        margin-top: .15rem;
    }

    .credibility-transition {
        margin-block: 1.8rem;
    }

    .credibility-education-header p {
        margin-top: .55rem;
        font-size: .88rem;
        line-height: 1.55;
    }

    .academic-feature {
        grid-template-columns: 1fr;
        gap: .95rem;
        padding: 1rem;
        border-radius: 1.35rem;
    }

    .academic-degree {
        padding: 0 0 1.15rem;
        border-right: 0;
        border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
    }

    .academic-institution-header {
        grid-template-columns: 5.8rem minmax(0, 1fr);
        gap: .8rem;
        margin-bottom: 1rem;
    }

    .academic-brand-mark {
        width: 5.8rem;
        height: 3.35rem;
        padding: .5rem .62rem;
    }

    .academic-institution-header h4 {
        font-size: .98rem;
        overflow-wrap: anywhere;
    }

    .academic-degree-title {
        font-size: 1.1rem;
    }

    .academic-gpa {
        margin-top: 1.2rem;
        padding-top: 1rem;
    }

    .academic-gpa strong {
        font-size: 2.65rem;
    }

    .recognition-groups {
        grid-template-columns: 1fr;
    }

    .recognition-group,
    .recognition-group:first-child {
        padding: 0;
    }

    .recognition-group + .recognition-group {
        margin-top: 1.1rem;
        padding-top: 1.1rem;
        border-top: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
        border-left: 0;
    }

    .recognition-group-header {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: baseline;
        gap: .65rem;
        margin-bottom: .65rem;
    }

    .recognition-year {
        margin-bottom: 0;
        font-size: 1.02rem;
    }

    .recognition-group ul {
        gap: .46rem;
        margin-bottom: .65rem;
    }

    .recognition-group li {
        font-size: .83rem;
        line-height: 1.5;
    }

    .verification-link {
        min-height: 2.5rem;
        display: inline-flex;
        align-items: center;
        padding-block: .5rem;
    }

    .academic-foundation-row {
        grid-template-columns: 3.15rem minmax(0, 1fr);
        gap: .7rem .85rem;
        margin-top: .85rem;
        padding: .8rem .15rem;
        background: none;
    }

    .academic-brand-mark--ict {
        width: 3.15rem;
        height: 3.15rem;
        padding: .44rem;
    }

    .academic-foundation-degree,
    .academic-foundation-description {
        grid-column: 1 / -1;
    }

    .academic-foundation-degree {
        margin-top: .15rem;
    }

    .academic-foundation-description {
        font-size: .8rem;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .professional-role,
    .earlier-role-row,
    .academic-feature,
    .academic-foundation-row,
    .verification-link {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ── Personal standard, contact and footer ────────────────────── */
#guarantee {
    position: relative;
    min-height: 42.5rem;
    display: flex;
    align-items: center;
    padding-block: 6.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 48%, rgba(99,102,241,.1), transparent 28%),
        linear-gradient(180deg, var(--bg-0), var(--bg-1));
}

#guarantee::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 8%;
    width: min(32rem, 42vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129,140,248,.38), rgba(34,211,238,.22), transparent);
    pointer-events: none;
}

.guarantee-editorial {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(18rem, 2fr);
    align-items: center;
    gap: clamp(4rem, 8vw, 8rem);
}

.guarantee-copy {
    display: block;
    max-width: 46rem;
}

#guarantee .section-title {
    max-width: 15ch;
    margin: 1.1rem 0 1.45rem;
    font-size: clamp(2.85rem, 4.8vw, 4.85rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.guarantee-text {
    max-width: 43rem;
    color: var(--t1);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.75;
}

.guarantee-followup {
    position: relative;
    margin-top: 1.4rem;
    padding-left: 1.25rem;
    color: var(--t0);
    font-weight: 600;
    line-height: 1.6;
}

.guarantee-followup::before {
    content: '';
    position: absolute;
    top: .2em;
    bottom: .2em;
    left: 0;
    width: 2px;
    background: linear-gradient(var(--a1), var(--a2));
}

.guarantee-signoff {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    text-align: center;
}

.guarantee-signature-frame {
    width: min(100%, 18rem);
    display: flex;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: visible;
}

.guarantee-signature-svg {
    width: min(100%, 14.5rem);
    height: auto;
    display: block;
    color: rgba(238,242,255,.92);
    filter: drop-shadow(0 14px 26px rgba(99,102,241,.2));
}

.guarantee-signature-path-ghost {
    display: block;
    fill: currentColor;
    stroke: none;
    opacity: .08;
    transform: translate(129px, 11px);
}

.guarantee-signature-path-fill {
    display: block;
    fill: currentColor;
    opacity: 1 !important;
    transition: none;
}

.guarantee-signoff-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .28rem;
}

.guarantee-name {
    color: var(--t0);
    font-size: 1.05rem;
    font-weight: 650;
}

.guarantee-role {
    color: color-mix(in srgb, var(--a1) 78%, white 10%);
    font-size: .88rem;
}

.guarantee-signature-note {
    max-width: 24rem;
    margin-top: .3rem;
    color: var(--t3);
    font-size: .78rem;
    line-height: 1.55;
}

.contact {
    position: relative;
    min-height: 0;
    padding-block: 6.25rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

.contact::before {
    width: min(62rem, 90vw);
    height: 28rem;
    opacity: .42;
    animation: none !important;
}

.contact::after {
    display: none;
}

.contact-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, .9fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.contact-copy .section-title {
    max-width: 18ch;
    margin: 1.05rem 0 1.3rem;
    font-size: clamp(2.65rem, 4.45vw, 4.45rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.contact-intro {
    max-width: 35rem;
    color: var(--t1);
    font-size: 1.02rem;
    line-height: 1.72;
}

.contact-action {
    position: relative;
    padding: 1.5rem 0 1.5rem clamp(1.5rem, 3.5vw, 3.25rem);
    border-left: 1px solid color-mix(in srgb, var(--a1) 34%, var(--border));
}

.contact-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 4.5rem;
    background: linear-gradient(var(--a1), var(--a2), transparent);
}

.contact-email-label {
    margin-bottom: .8rem;
    color: var(--t2);
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-email-link {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0;
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: clamp(1.2rem, 1.9vw, 1.7rem);
    font-weight: 650;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    transition: color .25s ease;
}

.contact-email-link:hover {
    color: var(--a2);
}

.contact-email-link:focus-visible {
    outline: 2px solid var(--a2);
    outline-offset: .4rem;
    border-radius: .2rem;
}

.contact-support {
    max-width: 28rem;
    margin-top: 1.05rem;
    color: var(--t2);
    font-size: .9rem;
    line-height: 1.65;
}

.footer {
    min-height: 6.25rem;
    display: flex;
    align-items: center;
    padding-block: 1.75rem;
    border-top: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
    background: var(--bg-0);
}

.footer-copy,
.footer-links a {
    font-size: .8rem;
}

.footer-copy a:focus-visible,
.footer-links a:focus-visible {
    outline: 2px solid var(--a2);
    outline-offset: .3rem;
    border-radius: .15rem;
}

@media (max-width: 720px) {
    #guarantee {
        min-height: 0;
        display: block;
        padding-block: 4.9rem;
    }

    #guarantee::before {
        top: 67%;
        right: -8rem;
        width: 24rem;
    }

    .guarantee-editorial {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    #guarantee .section-title {
        max-width: 13ch;
        margin: .9rem 0 1.15rem;
        font-size: clamp(2.35rem, 11vw, 3.15rem);
    }

    .guarantee-text {
        font-size: .96rem;
        line-height: 1.7;
    }

    .guarantee-followup {
        margin-top: 1.15rem;
    }

    .guarantee-signature-frame {
        width: 8.75rem;
        margin-bottom: .7rem;
    }

    .guarantee-signature-svg {
        width: 8.25rem;
    }

    #contact.contact {
        padding-block: 3.5rem;
    }

    .contact-editorial {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .contact-copy .section-title {
        max-width: 12ch;
        margin: .9rem 0 1.1rem;
        font-size: clamp(2.3rem, 10.5vw, 3.05rem);
    }

    .contact-intro {
        font-size: .96rem;
        line-height: 1.68;
    }

    .contact-action {
        padding: 1.35rem 0 0;
        border-top: 1px solid color-mix(in srgb, var(--a1) 34%, var(--border));
        border-left: 0;
    }

    .contact-action::before {
        top: -1px;
        left: 0;
        width: 5rem;
        height: 2px;
        background: linear-gradient(90deg, var(--a1), var(--a2), transparent);
    }

    .contact-email-link {
        min-height: 2.75rem;
        font-size: clamp(1.12rem, 5.2vw, 1.36rem);
    }

    .footer {
        min-height: 8.5rem;
        padding-block: 1.45rem;
    }

    .footer-inner {
        justify-content: center;
        gap: 1rem;
        text-align: center;
    }

    .footer-copy {
        width: 100%;
    }

    .footer-links {
        width: min(100%, 18rem);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-email-link,
    .footer-copy a,
    .footer-links a {
        transition: none !important;
    }
}

/* ── Baseline accessibility ─────────────────────────────────────── */
.skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 2000;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1rem;
    border: 2px solid rgba(255,255,255,.72);
    border-radius: .75rem;
    background: var(--bg-0);
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: .875rem;
    font-weight: 700;
    box-shadow: 0 14px 36px rgba(2,6,23,.5), 0 0 0 3px rgba(99,102,241,.38);
    transform: translateY(calc(-100% - 1.5rem));
    transition: transform .2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid color-mix(in srgb, var(--a3) 72%, white 28%);
    outline-offset: 3px;
}

.nav-logo,
.nav-links a,
.lang-btn,
.language-menu-trigger,
.language-menu-option,
.nav-hamburger,
.nav-cta,
.nav-mobile-link,
.nav-mobile-cta,
.contact-email-link {
    min-height: 44px;
}

.lang-btn,
.nav-inner.nav-fit-tight .lang-btn {
    min-width: 44px;
}

.nav-logo:focus-visible,
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.nav-hamburger:focus-visible,
.nav-mobile-link:focus-visible,
.nav-mobile-cta:focus-visible,
.lang-btn:focus-visible,
.language-menu-trigger:focus-visible,
.language-menu-option:focus-visible,
.btn:focus-visible,
.project-btn:focus-visible,
.verification-link:focus-visible,
.contact-email-link:focus-visible,
.footer-copy a:focus-visible,
.footer-links a:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--a3) 72%, white 28%);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .skip-link,
    .nav,
    .nav-inner,
    .nav-mobile,
    .nav-mobile-panel,
    .nav-mobile-close {
        transition: none !important;
    }
}

/* ── Client feedback (rendered only with approved entries) ───────── */
.client-feedback.section {
    padding-block: clamp(5.75rem, 8vw, 7.25rem);
}

.client-feedback-header {
    margin-bottom: clamp(2.5rem, 4vw, 3.25rem);
}

.client-feedback-header-row {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(20rem, .88fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: end;
}

.client-feedback-header .section-label {
    width: max-content;
    max-width: 100%;
    justify-self: start;
    gap: .42rem;
    padding: .36rem .68rem;
    border-color: rgba(99,102,241,.2);
    background: rgba(99,102,241,.055);
    font-size: .69rem;
    margin: 0 0 1.25rem;
}

.client-feedback-header .section-label::before {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 7px color-mix(in srgb, var(--a1) 72%, transparent);
}

.client-feedback-header .section-title {
    max-width: 38rem;
    margin: 0;
    text-wrap: balance;
}

.client-feedback-intro {
    max-width: 34rem;
    margin: 0;
    color: var(--t1);
    font-size: 1.0625rem;
    line-height: 1.75;
    text-wrap: pretty;
}

.client-feedback-slider {
    position: relative;
    overflow: clip;
    padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(1.4rem, 2.5vw, 2rem);
    border-top: 1px solid color-mix(in srgb, var(--a1) 38%, var(--border));
    border-bottom: 1px solid var(--border);
    touch-action: pan-y;
}

.client-feedback-slider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: min(11rem, 32vw);
    height: 2px;
    background: linear-gradient(90deg, var(--a1), var(--a2), transparent);
    pointer-events: none;
}

.client-feedback-viewport {
    width: 100%;
    overflow: hidden;
    transition: height .38s cubic-bezier(.22,1,.36,1);
}

.client-feedback-stage {
    min-width: 0;
}

.client-feedback-track {
    display: flex;
    align-items: flex-start;
    gap: clamp(1.5rem, 2.4vw, 2.25rem);
    width: 100%;
}

.client-feedback-slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 86%;
    min-width: 0;
    opacity: 1;
    transform: translateX(0);
    transition: opacity .36s var(--ease), filter .36s var(--ease), transform .46s cubic-bezier(.22,1,.36,1);
}

.client-feedback-slide[aria-hidden='true'] {
    opacity: .22;
    filter: blur(.35px);
    cursor: pointer;
    user-select: none;
}

.client-feedback-slide[aria-hidden='true']:hover {
    opacity: .3;
}

.client-feedback-slide.is-entering {
    opacity: 0;
    transform: translateX(1rem);
}

.client-feedback-slide.is-entering[data-direction='previous'] {
    transform: translateX(-1rem);
}

.client-feedback-quote {
    margin: 0;
    max-width: 50rem;
}

.client-feedback-quote p {
    margin: 0;
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: clamp(1.75rem, 3.2vw, 3.15rem);
    font-weight: 540;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.client-feedback-quote p + p {
    margin-top: 1.05em;
}

.client-feedback-slide-long .client-feedback-quote p {
    font-size: clamp(1.35rem, 1.8vw, 1.8rem);
    letter-spacing: -.02em;
    line-height: 1.48;
}

.client-feedback-person {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    max-width: 34rem;
    margin-top: clamp(2rem, 3.5vw, 2.75rem);
    padding-top: 1.35rem;
    border-top: 1px solid var(--border);
}

.client-feedback-person-identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: .9rem;
}

.client-feedback-person-copy {
    min-width: 0;
}

.client-feedback-avatar {
    width: 58px;
    height: 58px;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--a1) 30%, var(--border));
    border-radius: 1rem;
    background: var(--bg-2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 28px rgba(2,6,23,.2);
    object-fit: cover;
    object-position: center;
}

.client-feedback-avatar-fallback {
    display: inline-grid;
    place-items: center;
    background:
        radial-gradient(circle at 28% 22%, rgba(139,92,246,.2), transparent 52%),
        linear-gradient(145deg, rgba(99,102,241,.14), rgba(34,211,238,.07)),
        var(--bg-2);
    color: color-mix(in srgb, var(--t0) 88%, var(--a3));
    font-family: var(--ff-d);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .08em;
}

.client-feedback-person-name,
.client-feedback-person-role,
.client-feedback-location,
.client-feedback-service {
    margin: 0;
}

.client-feedback-person-name {
    color: var(--t0);
    font-size: 1rem;
    font-weight: 700;
}

.client-feedback-verified {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .3rem;
    color: color-mix(in srgb, var(--a3) 62%, var(--t2));
    font-size: .68rem;
    font-weight: 650;
    letter-spacing: .035em;
    line-height: 1.25;
}

.client-feedback-verified svg {
    width: .72rem;
    height: .72rem;
    flex: 0 0 auto;
    color: color-mix(in srgb, var(--a2) 70%, var(--a3));
}

.client-feedback-person-role,
.client-feedback-service {
    margin-top: .35rem;
    color: var(--t2);
    font-size: .82rem;
    line-height: 1.55;
}

.client-feedback-location {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: .18rem;
    color: color-mix(in srgb, var(--t2) 78%, transparent);
    font-size: .72rem;
    line-height: 1.45;
}

.client-feedback-location svg {
    width: .72rem;
    height: .72rem;
    flex: 0 0 auto;
    color: color-mix(in srgb, var(--a3) 52%, var(--t2));
}

.client-feedback-service {
    color: color-mix(in srgb, var(--a3) 68%, var(--t1));
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.client-feedback-person .client-feedback-service {
    margin-top: 0;
}

.client-feedback-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.1rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.client-feedback-buttons {
    display: flex;
    gap: .65rem;
}

.client-feedback-button {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(255,255,255,.025);
    color: var(--t1);
    cursor: pointer;
    transition: border-color .24s var(--ease), background .24s var(--ease), color .24s var(--ease), transform .24s var(--ease);
}

.client-feedback-button:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--a1) 52%, var(--border));
    background: rgba(99,102,241,.1);
    color: var(--t0);
}

.client-feedback-button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--a3) 72%, white 28%);
    outline-offset: 4px;
}

.client-feedback-button svg {
    width: 1.05rem;
    height: 1.05rem;
}

.client-feedback-counter {
    min-width: 4.25rem;
    color: var(--t2);
    font-family: var(--ff-d);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-align: right;
}

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

@media (max-width: 900px) {
    .client-feedback-header-row {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.35rem;
    }

    .client-feedback-intro {
        max-width: 41rem;
    }

    .client-feedback-track {
        gap: 1rem;
    }

    .client-feedback-slide {
        flex-basis: 88%;
    }
}

@media (max-width: 720px) {
    .client-feedback.section {
        padding-block: 4.5rem;
    }

    .client-feedback-header {
        margin-bottom: 2.35rem;
    }

    .client-feedback-header .section-label {
        margin-bottom: 1rem;
    }

    .client-feedback-header-row {
        gap: 1.1rem;
    }

    .client-feedback-intro {
        font-size: .95rem;
        line-height: 1.62;
    }

    .client-feedback-stage {
        display: block;
        overflow: visible;
    }

    .client-feedback-viewport {
        width: 100%;
        min-height: 0;
    }

    .client-feedback-track {
        gap: .75rem;
    }

    .client-feedback-slide {
        flex-basis: 91.5%;
    }

    .client-feedback-quote {
        max-width: none;
    }

    .client-feedback-quote p,
    .client-feedback-slide-long .client-feedback-quote p {
        font-size: clamp(1.08rem, 4.9vw, 1.2rem);
        letter-spacing: -.012em;
        line-height: 1.5;
    }

    .client-feedback-quote p + p {
        margin-top: 1.15rem;
    }

    .client-feedback-person {
        gap: .8rem;
        margin-top: 1.35rem;
        padding-top: .9rem;
    }

    .client-feedback-person-identity {
        gap: .75rem;
    }

    .client-feedback-verified {
        margin-top: .2rem;
    }

    .client-feedback-person-role {
        margin-top: .25rem;
    }

    .client-feedback-location {
        margin-top: .1rem;
    }

    .client-feedback-avatar {
        width: 52px;
        height: 52px;
        border-radius: .9rem;
    }

    .client-feedback-controls {
        justify-content: space-between;
        margin-top: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-feedback-viewport,
    .client-feedback-slide,
    .client-feedback-button {
        transition: none !important;
    }

    .client-feedback-slide.is-entering {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive production containment ─────────────────────────── */
[data-premium-section] {
    overflow-x: clip;
}

.about-body {
    overflow: clip;
    overflow-clip-margin: 1rem;
}

@media (max-width: 350px) {
    .nav-inner > .nav-right .nav-controls {
        display: none;
    }

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

/* ═══════════════════════════════════════════════════════════════════
   PHASE 9 — EDITORIAL REFINEMENT
═══════════════════════════════════════════════════════════════════ */

/* Calm, open Hero composition with one deliberate emphasis. */
.hero-orb,
.hero-badge-dot {
    animation: none !important;
}

.hero-orb-1 { opacity: .72; }
.hero-orb-2 { opacity: .62; }
.hero-orb-3 { opacity: .52; }

.hero > .container {
    width: min(100%, 1120px);
}

.hero-content {
    max-width: 1120px;
}

.hero-name {
    max-width: 13ch;
    margin-bottom: 1.35rem;
    font-size: clamp(2.75rem, 5.5vw, 4.8rem);
    letter-spacing: -.045em;
}

.hero-title {
    position: relative;
    display: grid;
    gap: .62rem;
    width: min(100%, 70rem);
    max-width: 70rem;
    margin-bottom: 1.6rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-title::before,
.hero-title::after {
    display: none;
}

.hero-title-role {
    min-height: 0;
    margin-bottom: .35rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: color-mix(in srgb, var(--a3) 70%, var(--t1));
    font-size: .75rem;
    font-weight: 650;
    letter-spacing: .16em;
}

.hero-title-copy {
    max-width: 23ch;
    font-size: clamp(2.9rem, 5.35vw, 5.25rem);
    font-weight: 610;
    line-height: .99;
    letter-spacing: -.058em;
    color: color-mix(in srgb, var(--t0) 94%, white 6%);
    text-wrap: balance;
}

.hero-title-copy-secondary {
    max-width: 18ch;
    color: color-mix(in srgb, var(--t1) 82%, var(--t0));
}

.hero-title-copy-secondary strong {
    font-weight: 650;
    background: linear-gradient(110deg, #f7f9ff 0%, #c4b5fd 46%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

.hero-desc {
    max-width: 58rem;
    width: min(100%, 58rem);
    margin-bottom: 2.25rem;
    font-size: 1rem;
    line-height: 1.72;
}

.hero-ctas {
    margin-bottom: 3.4rem;
}

/* Full-width service chapters: one focused offer at a time. */
.services-shell {
    gap: clamp(1.6rem, 3vw, 2.5rem);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    isolation: auto;
}

.services-shell::before {
    display: none;
}

.services-header {
    padding-inline: clamp(.2rem, 1.2vw, 1rem);
}

.services-offers {
    position: relative;
    border-block: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
}

.service-offer {
    --offer-accent: var(--a3);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2.35rem, 6.35vw, 6rem);
    min-height: clamp(24rem, 38vw, 31rem);
    padding: clamp(3.2rem, 6.5vw, 5.5rem) clamp(.4rem, 2.3vw, 2rem);
    overflow: clip;
}

.service-offer-products { --offer-accent: #818cf8; }
.service-offer-commerce { --offer-accent: #a78bfa; }

.service-offer::before {
    content: "";
    position: absolute;
    width: min(34rem, 58vw);
    aspect-ratio: 1;
    right: -14%;
    top: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--offer-accent) 11%, transparent), transparent 68%);
    filter: blur(8px);
    opacity: .72;
    transform: translateY(-50%);
    pointer-events: none;
}

.service-offer-products::before {
    right: auto;
    left: -14%;
}

.service-offer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--offer-accent) 52%, var(--border)), var(--a3), transparent);
    opacity: .35;
    transform: scaleX(.14);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(.22,1,.36,1) .12s, opacity .7s ease .12s;
}

.service-offer.visible::after {
    opacity: .82;
    transform: scaleX(1);
}

.service-offer-identity,
.service-offer-details {
    position: relative;
    z-index: 1;
    transition: transform .9s cubic-bezier(.22,1,.36,1), opacity .75s ease;
}

.service-offer.reveal .service-offer-identity {
    opacity: .5;
    transform: translateY(16px);
}

.service-offer.reveal .service-offer-details {
    opacity: .42;
    transform: translateY(22px);
    transition-delay: .12s;
}

.service-offer.reveal.visible .service-offer-identity,
.service-offer.reveal.visible .service-offer-details {
    opacity: 1;
    transform: translateY(0);
}

.service-offer-identity {
    display: grid;
    align-content: center;
    gap: 1.2rem;
}

.service-offer-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.service-offer-eyebrow,
.service-offer-group-label {
    font-family: var(--ff-d);
    font-size: .68rem;
    font-weight: 680;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-offer-eyebrow {
    color: color-mix(in srgb, var(--offer-accent) 72%, var(--t1));
}

.service-offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid color-mix(in srgb, var(--offer-accent) 22%, var(--border));
    border-radius: 1.2rem;
    background: linear-gradient(145deg, color-mix(in srgb, var(--offer-accent) 10%, transparent), rgba(255,255,255,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 40px rgba(2,6,23,.16);
    color: var(--offer-accent);
    flex: 0 0 auto;
}

.service-offer-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.service-offer-title {
    max-width: 15ch;
    font-family: var(--ff-d);
    font-size: clamp(2rem, 3.6vw, 3.35rem);
    font-weight: 620;
    letter-spacing: -.045em;
    line-height: 1.04;
    text-wrap: balance;
}

.service-offer-positioning {
    max-width: 37ch;
    color: color-mix(in srgb, var(--t1) 86%, var(--t2));
    font-size: clamp(.95rem, 1.25vw, 1.08rem);
    line-height: 1.65;
    text-wrap: pretty;
}

.service-offer-details {
    display: grid;
    gap: clamp(1.85rem, 3.5vw, 2.7rem);
    padding-left: clamp(1.85rem, 4.5vw, 4rem);
    border-left: 1px solid color-mix(in srgb, var(--offer-accent) 18%, var(--border));
}

.service-offer-products .service-offer-identity {
    grid-column: 2;
    grid-row: 1;
}

.service-offer-products .service-offer-details {
    grid-column: 1;
    grid-row: 1;
    padding-right: clamp(1.85rem, 4.5vw, 4rem);
    padding-left: 0;
    border-right: 1px solid color-mix(in srgb, var(--offer-accent) 18%, var(--border));
    border-left: 0;
}

.service-offer-best-for,
.service-offer-value {
    display: grid;
    gap: .9rem;
}

.service-offer-group-label {
    color: color-mix(in srgb, var(--offer-accent) 76%, var(--t0));
}

.service-offer-points {
    display: grid;
    gap: .8rem;
}

.service-offer-point {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: color-mix(in srgb, var(--t1) 88%, var(--t0));
    font-size: .92rem;
    line-height: 1.5;
}

.service-offer-point-dot {
    width: .46rem;
    height: .46rem;
    margin-top: .46rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--offer-accent), var(--a3));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--offer-accent) 10%, transparent);
    flex: 0 0 auto;
}

.service-offer-value {
    position: relative;
    margin-top: -.1rem;
    padding: 1.35rem 1.45rem 1.4rem 1.65rem;
    background: linear-gradient(90deg, color-mix(in srgb, var(--offer-accent) 7%, transparent), transparent 85%);
}

.service-offer-value::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--offer-accent), var(--a3));
    box-shadow: 0 0 18px color-mix(in srgb, var(--offer-accent) 22%, transparent);
}

.service-offer-solution {
    max-width: 39ch;
    color: color-mix(in srgb, var(--t0) 88%, var(--t1));
    font-size: clamp(.95rem, 1.3vw, 1.08rem);
    font-weight: 560;
    line-height: 1.58;
    text-wrap: pretty;
}

.services-footer {
    margin-top: -.35rem;
    opacity: .92;
}

@media (max-width: 820px) {
    .service-offer {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        min-height: 0;
        padding: clamp(2.8rem, 9vw, 4rem) clamp(.25rem, 2vw, 1rem);
    }

    .service-offer-products .service-offer-identity,
    .service-offer-products .service-offer-details {
        grid-column: 1;
    }

    .service-offer-products .service-offer-identity {
        grid-row: 1;
    }

    .service-offer-products .service-offer-details {
        grid-row: 2;
    }

    .service-offer-details,
    .service-offer-products .service-offer-details {
        padding: 1.75rem 0 0;
        border-top: 1px solid color-mix(in srgb, var(--offer-accent) 18%, var(--border));
        border-right: 0;
        border-left: 0;
    }

    .service-offer-title {
        max-width: 18ch;
    }
}

@media (max-width: 640px) {
    .services-header {
        padding-inline: .15rem;
    }

    .service-offer {
        gap: 1.7rem;
        padding-block: 2.7rem;
    }

    .service-offer-identity {
        gap: .95rem;
    }

    .service-offer-icon {
        width: 3rem;
        height: 3rem;
        border-radius: 1rem;
    }

    .service-offer-title {
        font-size: clamp(1.72rem, 8.4vw, 2.15rem);
        line-height: 1.08;
    }

    .service-offer-positioning {
        font-size: .9rem;
        line-height: 1.58;
    }

    .service-offer-details {
        gap: 1.55rem;
        padding-top: 1.45rem;
    }

    .service-offer-point {
        font-size: .84rem;
    }

    .service-offer-value {
        padding: 1.05rem .75rem 1.05rem 1.2rem;
    }

    .service-offer-solution {
        font-size: .9rem;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-offer::after,
    .service-offer-identity,
    .service-offer-details {
        transition: none !important;
    }

    .service-offer.reveal .service-offer-identity,
    .service-offer.reveal .service-offer-details {
        opacity: 1;
        transform: none;
    }
}

/* One coherent case-study disclosure keeps the first read concise. */
.case-study-disclosure {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.case-study-disclosure-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .72rem 1.05rem;
    border: 1px solid color-mix(in srgb, var(--a1) 34%, var(--border));
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
    transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.case-study-disclosure-button:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--a3) 48%, var(--border));
    background: rgba(99,102,241,.08);
}

.case-study-disclosure-button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--a3) 72%, white 28%);
    outline-offset: 4px;
}

.case-study-disclosure-button svg {
    width: 1rem;
    height: 1rem;
    transition: transform .3s var(--ease);
}

.case-study-disclosure-button[aria-expanded='true'] svg {
    transform: rotate(180deg);
}

.case-study-details[hidden] {
    display: none;
}

.case-study-details.is-expanded {
    animation: caseStudyDetailsReveal .48s cubic-bezier(.22,1,.36,1) both;
}

@keyframes caseStudyDetailsReveal {
    from { opacity: 0; transform: translateY(.7rem); }
    to { opacity: 1; transform: translateY(0); }
}

.case-study-details-copy {
    display: grid;
    grid-template-columns: minmax(12rem, .65fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 1.1rem 1.2rem;
}

.case-study-details-copy h3 {
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: 1rem;
    line-height: 1.3;
}

.case-study-details-copy p {
    color: var(--t1);
    font-size: .82rem;
    line-height: 1.6;
}

.case-study-details > .case-study-capabilities {
    margin: 0 0 1rem;
}

/* MyStar's first read stays visual and concise; the analytical layer follows on demand. */
.case-study-primary-visual-feature {
    min-height: 310px;
    margin-bottom: 1rem;
    border-left: 1px solid var(--border);
}

.case-study-primary-visual-feature .case-study-device-stage {
    min-height: 310px;
    padding-inline: 4rem 8rem;
}

.case-study-primary-visual-feature .case-study-laptop-shell {
    width: calc(740px * .7);
    height: calc(395px * .7);
}

.case-study-primary-visual-feature .case-study-laptop-device {
    transform: translateX(-50%) scale(.7);
}

.case-study-primary-visual-feature .case-study-phone-shell {
    right: 5%;
}

/* Premium device apertures follow the exact approved screenshot ratios. */
.case-study-laptop-device.device-macbook-pro {
    height: 395px;
}

.case-study-laptop-device.device-macbook-pro .device-frame {
    width: 620px;
    height: 375px;
    padding: 9px 10px 24px;
    overflow: visible;
    border: 1px solid rgba(143, 148, 160, .42);
    border-radius: 18px;
    background: linear-gradient(145deg, #30343b 0%, #111318 18%, #090a0e 78%, #242830 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .08),
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 26px 52px rgba(2, 6, 23, .32);
}

.case-study-laptop-device.device-macbook-pro .device-frame::after {
    left: 2px;
    bottom: 2px;
    width: 614px;
    height: 22px;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, rgba(40, 44, 52, .96), rgba(10, 11, 15, .98));
}

.case-study-laptop-device.device-macbook-pro .device-screen {
    width: 600px;
    height: 342px;
    overflow: hidden;
    border: 1px solid rgba(4, 5, 8, .92);
    border-radius: 10px 10px 2px 2px;
    background: #f7f7f8;
    object-fit: contain;
    object-position: center;
    clip-path: inset(0 round 10px 10px 2px 2px);
    filter: saturate(.98) contrast(1.015);
}

.case-study-laptop-device.device-macbook-pro .device-header {
    top: 10px;
    height: 9px;
    background: rgba(4, 5, 7, .96);
}

.case-study-laptop-device.device-macbook-pro .device-power {
    height: 20px;
    margin-top: -6px;
    border-color: #30343a;
    background: linear-gradient(180deg, #747982 0%, #454951 38%, #25282e 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -3px 8px rgba(0, 0, 0, .38),
        0 10px 18px rgba(2, 6, 23, .24);
}

.case-study-laptop-device.device-macbook-pro .device-power::after {
    background: linear-gradient(180deg, #92969d, #555961);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .28);
}

.case-study-phone-shell {
    height: calc(798px * .29);
}

.case-study-phone-device.device-iphone-14-pro {
    height: 798px;
}

.case-study-phone-device.device-iphone-14-pro .device-frame {
    width: 428px;
    height: 798px;
    padding: 19px;
    overflow: visible;
    border: 1px solid rgba(135, 140, 150, .72);
    border-radius: 66px;
    background: linear-gradient(145deg, #5d626b 0%, #17191e 9%, #07080b 88%, #4a4f58 100%);
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, .08),
        inset 0 0 0 7px rgba(70, 74, 82, .88),
        inset 0 1px 2px rgba(255, 255, 255, .35),
        0 28px 54px rgba(2, 6, 23, .38);
}

.case-study-phone-device.device-iphone-14-pro .device-screen {
    width: 390px;
    height: 760px;
    overflow: hidden;
    border: 1px solid rgba(4, 5, 8, .95);
    border-radius: 48px;
    background: #f7f7f8;
    object-fit: contain;
    object-position: center;
    clip-path: inset(0 round 48px);
    filter: saturate(.98) contrast(1.015);
}

.case-study-phone-device.device-iphone-14-pro .device-header {
    top: 28px;
    background: rgba(3, 4, 6, .98);
}

.case-study-phone-device.device-iphone-14-pro .device-btns,
.case-study-phone-device.device-iphone-14-pro .device-btns::after,
.case-study-phone-device.device-iphone-14-pro .device-btns::before,
.case-study-phone-device.device-iphone-14-pro .device-power {
    background: #555a63;
}

.case-study-phone-shell {
    filter: drop-shadow(0 24px 32px rgba(2, 6, 23, .34));
}

.case-study-prescription-visual {
    isolation: isolate;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 42%),
        #11141b;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045);
}

.case-study-prescription-visual::after {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 1px 0 0 rgba(255, 255, 255, .055),
        inset 0 1px 0 rgba(255, 255, 255, .045);
    pointer-events: none;
}

.case-study-prescription-visual img {
    background: #f7f7f8;
    object-fit: contain;
    object-position: center;
    filter: saturate(.98) contrast(1.01);
}

.case-study-snapshot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
    padding: .8rem 1.1rem;
}

.case-study-snapshot-item {
    min-width: 0;
    padding: .05rem 1.15rem .1rem;
}

.case-study-snapshot-item:first-child {
    padding-left: .25rem;
}

.case-study-snapshot-item + .case-study-snapshot-item {
    border-left: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
}

.case-study-snapshot-item .case-study-number {
    margin-bottom: .3rem;
}

.case-study-snapshot-item h3,
.case-study-prescription-detail h3 {
    color: var(--t0);
    font-family: var(--ff-d);
    letter-spacing: -.02em;
}

.case-study-snapshot-item h3 {
    margin-bottom: .35rem;
    font-size: .94rem;
}

.case-study-snapshot-item p {
    color: var(--t1);
    font-size: .75rem;
    line-height: 1.5;
}

.case-study-outcomes-heading h3.case-study-kicker {
    max-width: none;
    font-size: .64rem;
    text-align: left;
}

@media (min-width: 981px) {
    .case-study-prescription {
        min-height: 280px;
    }

    .case-study-prescription-visual,
    .case-study-prescription-visual img {
        min-height: 280px;
    }
}

@media (min-width: 701px) and (max-width: 980px) {
    .case-study-prescription {
        grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
        min-height: 280px;
    }

    .case-study-prescription-visual,
    .case-study-prescription-visual img {
        min-height: 280px;
    }

    .case-study-prescription-visual {
        border-top: 0;
        border-left: 1px solid var(--border);
    }
}

.case-study-overview-detail {
    display: block;
    min-height: 0;
}

.case-study-overview-detail .case-study-overview-copy {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 1.1rem 1.2rem;
}

.case-study-overview-detail .case-study-ownership {
    grid-column: 1 / -1;
    margin-bottom: .8rem;
}

.case-study-overview-detail .case-study-summary {
    min-width: 0;
    padding: .1rem 1rem;
}

.case-study-overview-detail .case-study-summary:first-of-type {
    padding-left: 0;
}

.case-study-overview-detail .case-study-summary + .case-study-summary {
    padding-top: .1rem;
    border-top: 0;
    border-left: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}

.case-study-prescription-detail {
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
}

.case-study-prescription-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, .65fr);
    align-items: end;
    gap: 2rem;
}

.case-study-prescription-detail h3 {
    margin-bottom: .4rem;
    font-size: 1rem;
    line-height: 1.3;
}

.case-study-prescription-detail p {
    color: var(--t1);
    font-size: .78rem;
    line-height: 1.55;
}

.case-study-prescription-detail .case-study-contributions {
    justify-content: flex-end;
    margin-top: 0;
}

.case-study-outcomes-footer {
    justify-content: flex-end;
}

@media (min-width: 981px) {
    .case-study-outcomes {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            'heading heading'
            'outcomes action';
        align-items: center;
        column-gap: 1rem;
    }

    .case-study-outcomes-heading {
        grid-area: heading;
    }

    .case-study-outcome-grid {
        grid-area: outcomes;
        margin-bottom: 0;
    }

    .case-study-outcomes-footer {
        grid-area: action;
        align-self: center;
    }
}

/* A slightly clearer process rail, without introducing animation. */
.process-flow::before {
    height: 2px;
    opacity: .78;
}

.process-step-marker::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 50%;
    right: .1rem;
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--a3) 72%, white 28%);
    box-shadow: 0 0 0 5px rgba(34,211,238,.07);
    transform: translateY(-50%);
}

.process-flow-item:last-child .process-step-marker::after {
    right: 0;
}

/* Contact now supports direct email and a real future POST endpoint. */
.contact {
    padding-block: clamp(5rem, 7vw, 7.5rem);
}

.contact-editorial {
    grid-template-columns: minmax(18rem, .76fr) minmax(32rem, 1.24fr);
    grid-template-areas:
        'copy form'
        'direct form';
    align-items: start;
    gap: 2rem clamp(3rem, 7vw, 7rem);
}

.contact-copy { grid-area: copy; }
.contact-direct { grid-area: direct; }
.contact-form-editorial { grid-area: form; }

.contact-direct {
    position: relative;
    padding: 1.35rem 0 1.35rem 1.35rem;
    border-left: 1px solid color-mix(in srgb, var(--a1) 34%, var(--border));
}

.contact-direct::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 4.5rem;
    background: linear-gradient(var(--a1), var(--a2), transparent);
}

.contact-form-editorial {
    position: relative;
    padding: clamp(1.35rem, 2.5vw, 2rem);
    border: 1px solid var(--apple-stroke);
    border-radius: 2rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)),
        rgba(8,11,22,.68);
    box-shadow: var(--apple-shadow-lg), inset 0 1px 0 rgba(255,255,255,.06);
}

.contact-form-header {
    margin-bottom: 1.45rem;
}

.contact-form-header h3 {
    margin-bottom: .4rem;
    color: var(--t0);
    font-family: var(--ff-d);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    letter-spacing: -.035em;
}

.contact-form-header p {
    color: var(--t2);
    font-size: .88rem;
    line-height: 1.55;
}

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

.contact-field,
.contact-field label {
    min-width: 0;
}

.contact-field-wide {
    grid-column: 1 / -1;
}

.contact-field label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .45rem;
    color: var(--t1);
    font-size: .75rem;
    font-weight: 650;
}

.contact-field label small {
    color: var(--t3);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 48px;
    padding: .78rem .9rem;
    border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
    border-radius: .9rem;
    outline: 0;
    background: rgba(255,255,255,.025);
    color: var(--t0);
    font: inherit;
    font-size: .88rem;
    line-height: 1.45;
    transition: border-color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}

.contact-field textarea {
    min-height: 8rem;
    resize: vertical;
}

.contact-field select {
    color-scheme: dark;
}

.contact-field textarea::placeholder,
.contact-field input::placeholder {
    color: var(--t3);
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
    border-color: color-mix(in srgb, var(--a1) 30%, var(--border));
}

.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
    border-color: color-mix(in srgb, var(--a3) 62%, var(--border));
    background: rgba(255,255,255,.04);
    box-shadow: 0 0 0 4px rgba(34,211,238,.09);
}

.contact-field [aria-invalid='true'] {
    border-color: rgba(248,113,113,.7);
    box-shadow: 0 0 0 3px rgba(248,113,113,.08);
}

.contact-field-error {
    display: block;
    min-height: 1.1rem;
    padding-top: .28rem;
    color: #fca5a5;
    font-size: .68rem;
    line-height: 1.35;
}

.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: .45rem;
}

.contact-form-privacy {
    max-width: 22rem;
    color: var(--t3);
    font-size: .7rem;
    line-height: 1.5;
}

.contact-form-submit {
    min-height: 48px;
    flex: 0 0 auto;
    justify-content: center;
}

.contact-form-submit:disabled {
    cursor: wait;
    opacity: .68;
}

.contact-form-status {
    min-height: 1.35rem;
    margin-top: .85rem;
    color: var(--t2);
    font-size: .76rem;
    line-height: 1.5;
}

.contact-form-status[data-state='success'] { color: #86efac; }
.contact-form-status[data-state='error'] { color: #fca5a5; }

/* Switch to the composed mobile header before Serbian labels crowd it. */
@media (max-width: 1180px) {
    :root {
        --hero-nav-offset: calc(7.75rem + env(safe-area-inset-top, 0px));
        --mobile-header-inline-gap: .875rem;
    }
    .nav {
        padding-top: calc(.7rem + env(safe-area-inset-top, 0px));
        padding-right: calc(var(--mobile-header-inline-gap) + env(safe-area-inset-right, 0px));
        padding-left: calc(var(--mobile-header-inline-gap) + env(safe-area-inset-left, 0px));
    }
    .nav.scrolled { padding-top: calc(.55rem + env(safe-area-inset-top, 0px)); }
    .nav-inner {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding: .75rem .8rem;
        border-radius: 1.25rem;
    }
    .nav-links { display: none; }
    .nav-right { display: flex; margin-left: auto; gap: .55rem; }
    .nav-logo-text { font-size: 1rem; }
    .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
}

@media (max-width: 350px) {
    :root { --mobile-header-inline-gap: .625rem; }

    .nav-mobile {
        padding-right: calc(env(safe-area-inset-right, 0px) + .75rem);
        padding-left: calc(env(safe-area-inset-left, 0px) + .75rem);
    }
}

html[lang='sr-Latn'] .nav-links a {
    padding-inline: .84rem;
}

#projects,
#about,
#experience-education,
#process,
#contact {
    scroll-margin-top: 7rem;
}

@media (max-width: 980px) {
    .contact-editorial {
        grid-template-columns: 1fr;
        grid-template-areas: 'copy' 'direct' 'form';
        gap: 2rem;
    }

    .contact-copy .section-title,
    .contact-intro {
        max-width: 38rem;
    }
}

@media (max-width: 700px) {
    .process-flow::before {
        left: .18rem;
    }

    .process-step-number {
        padding-left: .82rem;
        text-align: left;
    }

    .hero-title-copy {
        max-width: 100%;
        font-size: clamp(2.15rem, 10vw, 3.25rem);
        line-height: 1.01;
    }

    .hero-name {
        font-size: clamp(2.5rem, 12vw, 3.65rem);
    }

    .case-study-details-copy {
        grid-template-columns: 1fr;
        gap: .55rem;
        padding: .95rem 1rem;
    }

    .case-study-details > .case-study-capabilities {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    .case-study-details > .case-study-capabilities::-webkit-scrollbar {
        display: none;
    }

    .case-study-primary-visual-feature {
        border-left: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .case-study-primary-visual-feature,
    .case-study-primary-visual-feature .case-study-device-stage {
        min-height: 280px;
    }

    .case-study-prescription {
        grid-template-columns: minmax(0, 1.2fr) minmax(14rem, .8fr);
        min-height: 250px;
    }

    .case-study-prescription-visual,
    .case-study-prescription-visual img {
        min-height: 250px;
    }

    .case-study-prescription-visual {
        border-top: 0;
        border-left: 1px solid var(--border);
    }

    .case-study-snapshot {
        grid-template-columns: 1fr;
        gap: 0;
        padding: .35rem .85rem;
    }

    .case-study-snapshot-item,
    .case-study-snapshot-item:first-child {
        padding: .65rem 0;
    }

    .case-study-snapshot-item + .case-study-snapshot-item {
        border-top: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
        border-left: 0;
    }

    .case-study-overview-detail .case-study-overview-copy {
        grid-template-columns: 1fr;
    }

    .case-study-overview-detail .case-study-summary,
    .case-study-overview-detail .case-study-summary:first-of-type {
        padding: .65rem 0;
    }

    .case-study-overview-detail .case-study-summary + .case-study-summary {
        border-top: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
        border-left: 0;
    }

    .case-study-prescription-detail-grid {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .case-study-prescription-detail .case-study-contributions {
        justify-content: flex-start;
    }

    .process-step-marker::after {
        top: .45rem;
        right: auto;
        left: 0;
        width: .36rem;
        height: .36rem;
        box-shadow: 0 0 0 4px rgba(34,211,238,.065);
        transform: none;
    }

    .contact-direct {
        padding: 1.25rem 0 0;
        border-top: 1px solid color-mix(in srgb, var(--a1) 34%, var(--border));
        border-left: 0;
    }

    .contact-direct::before {
        top: -1px;
        left: 0;
        width: 5rem;
        height: 2px;
        background: linear-gradient(90deg, var(--a1), var(--a2), transparent);
    }

    .contact-form-editorial {
        padding: 1rem;
        border-radius: 1.5rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: .72rem;
    }

    .contact-field-wide {
        grid-column: auto;
    }

    .contact-form-footer {
        align-items: stretch;
        flex-direction: column;
        gap: .85rem;
    }

    .contact-form-submit {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .case-study-primary-visual-feature,
    .case-study-primary-visual-feature .case-study-device-stage {
        min-height: 0;
    }

    .case-study-primary-visual-feature {
        margin-bottom: .55rem;
    }

    .case-study-primary-visual-feature .case-study-device-stage {
        padding: .6rem;
    }

    .case-study-primary-visual-feature .case-study-laptop-shell {
        width: 100%;
        height: auto;
        aspect-ratio: 1440 / 820;
    }

    .case-study-primary-visual-feature .case-study-laptop-device.device-macbook-pro {
        width: 100%;
        height: auto;
        aspect-ratio: 1440 / 820;
        transform: none;
    }

    .case-study-primary-visual-feature .case-study-laptop-device.device-macbook-pro .device-frame {
        width: 100%;
        height: 100%;
        aspect-ratio: 1440 / 820;
        padding: 5px;
        overflow: hidden;
        border-radius: 1rem;
    }

    .case-study-primary-visual-feature .case-study-laptop-device.device-macbook-pro .device-frame::after,
    .case-study-primary-visual-feature .case-study-laptop-device.device-macbook-pro .device-header {
        display: none;
    }

    .case-study-primary-visual-feature .case-study-laptop-device.device-macbook-pro .device-screen {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: .75rem;
        object-fit: contain;
        clip-path: inset(0 round .75rem);
    }

    .case-study-snapshot {
        margin-bottom: .55rem;
        padding: .2rem .65rem;
    }

    .case-study-snapshot-item,
    .case-study-snapshot-item:first-child {
        display: grid;
        grid-template-columns: 1.55rem minmax(4rem, .34fr) minmax(0, 1fr);
        align-items: start;
        gap: .35rem;
        padding: .45rem 0;
    }

    .case-study-snapshot-item .case-study-number {
        width: auto;
        margin: .15rem 0 0;
    }

    .case-study-snapshot-item h3 {
        margin: .05rem 0 0;
        font-size: .78rem;
    }

    .case-study-snapshot-item p {
        margin: 0;
        font-size: .68rem;
        line-height: 1.4;
    }

    .case-study-prescription {
        grid-template-columns: minmax(0, 1.25fr) minmax(6.8rem, .75fr);
        min-height: 0;
    }

    .case-study-prescription-copy {
        padding: .65rem .75rem;
    }

    .case-study-prescription-visual,
    .case-study-prescription-visual img {
        min-height: 100%;
        height: 100%;
    }

    .case-study-prescription-visual {
        border-top: 0;
        border-left: 1px solid var(--border);
    }

    .case-study-disclosure {
        margin: .7rem 0;
    }

    .case-study-overview-detail .case-study-overview-copy {
        padding: .75rem;
    }

    .case-study-prescription-detail {
        padding: .75rem;
    }

    .case-study-outcome-grid {
        display: flex;
        gap: .4rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        padding-bottom: .12rem;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .case-study-outcome-grid::-webkit-scrollbar {
        display: none;
    }

    .case-study-outcome-grid li {
        flex: 0 0 11.5rem;
        min-height: 2.35rem;
        scroll-snap-align: start;
    }

    .case-study-outcomes-heading h3.case-study-kicker {
        margin-top: 0;
        font-size: .6rem;
    }
}

/* Keep the complete prescription UI legible once the feature stacks vertically. */
@media (max-width: 820px) {
    .case-study-prescription {
        grid-template-columns: 1fr;
    }

    .case-study-prescription-visual {
        min-height: 0;
        height: auto;
        aspect-ratio: 1360 / 900;
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .case-study-prescription-visual img {
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: 1360 / 900;
        object-fit: contain;
        object-position: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .case-study-details.is-expanded {
        animation: none !important;
    }

    .case-study-disclosure-button,
    .case-study-disclosure-button svg,
    .service-card,
    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        transition: none !important;
    }
}
