/*<editor-fold desc="Variables & Reset">*/
:root {
    --bg: #090c18;
    --panel: #10172b;
    --panel2: #151f35;
    --text: #f5f5fb;
    --muted: #abb3c7;
    --accent: #a78bfa;
    --outline: #37415d;
    --max: 1120px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, sans-serif
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

a:hover {
    color: var(--accent)
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px
}

.container {
    max-width: var(--max);
    padding-inline: 24px;
    margin: 0 auto
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    color: #000;
    padding: 12px;
    z-index: 999
}

.skip-link:focus {
    left: 10px
}

#main {
    flex: 1 0 auto;
    width: 100%;
}
/*</editor-fold>*/

/*<editor-fold desc="HEADER">*/
.site-logo {
    display: block;
    width: 80px;
    height: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9, 12, 24, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.header-content {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 76px;
    transition: min-height .25s ease;
}

.site-header.is-scrolled .header-content {
    min-height: 64px;
}

.brand {
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -1.5px;
}

.brand span {
    color: var(--accent)
}

.navigation {
    display: flex;
    gap: 25px;
    margin-left: auto;
    font-size: 14px;
    color: #d3d6e5
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px
}

.header-cta {
    border: 1px solid var(--outline);
    padding: 10px 15px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
            color .25s ease,
            border-color .25s ease,
            background .25s ease,
            transform .25s ease,
            box-shadow .25s ease;
}

.header-cta:hover {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(167, 139, 250, .1);

    box-shadow: 0 6px 22px rgba(167, 139, 250, .12);
}

.language-switcher ul {
    display: flex;
    gap: 3px;
    list-style: none;

    margin: 0;
    padding: 4px;

    border-radius: 10px;
}

.navigation .header-element {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 12px 0;

    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;

    color: #cbd0df;
    transition: color .25s ease;
}

.navigation .header-element::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 5px;
    width: 100%;
    height: 2px;

    background: var(--accent);
    border-radius: 2px;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.navigation .header-element:hover,
.navigation .header-element.is-active {
    color: var(--accent);
}

.navigation .header-element:hover::after,
.navigation .header-element:focus-visible::after,
.navigation .header-element.is-active::after{
    transform: scaleX(1);
}



.language-switcher li {
    margin: 0;
    padding: 0;
}

.language-switcher a {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 34px;
    min-height: 34px;
    padding: 6px 8px;

    border-radius: 7px;
    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;

    transition: background .2s ease,
    color .2s ease;
}

.language-switcher a:hover {
    background: rgba(167, 139, 250, .15);
    color: var(--text);
}

.language-switcher .current-lang a {
    background: var(--accent);
    color: #111124;
}

.language-switcher .current-lang a:hover {
    background: #c4b5fd;
    color: #111124;
}

.menu-toggle {
    display: none;
}

.menu-icon-close {
    display: none;
}
/*</editor-fold>*/

/*<editor-fold desc="HERO">*/
.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns:1.1fr .9fr;
    align-items: center;
    gap: 38px;
    padding-top: 80px;
    padding-bottom: 110px
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c6d0e8;
    font-size: 13px;
    background: #171e35;
    padding: 8px 12px;
    border: 1px solid #303a53;
    border-radius: 20px
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 12px #4ade80
}

.eyebrow, .section-kicker {
    margin: 27px 0 14px;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700
}

.hero h1 {
    font-size: clamp(40px, 5.4vw, 72px);
    line-height: 1.08;
    letter-spacing: -2.8px;
    max-width: 760px;
    margin: 0
}

.hero-lead {
    max-width: 590px;
    color: var(--muted);
    font-size: 18px;
    margin: 24px 0
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border-radius: 11px;
    padding: 13px 20px;
    font-weight: 650;
    font-size: 14px;
    transition: transform .2s, background .2s
}

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

.button-primary {
    background: var(--accent);
    color: #111124
}

.button-primary:hover {
    color: #111124;
    background: #c4b5fd
}

.button-outline {
    border: 1px solid var(--outline);
    color: var(--text)
}
/*</editor-fold>*/

/*<editor-fold desc="HERO — PROFILE CARD">*/
.profile-card {
    display: grid;
    width: 100%;
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #141a2c;
    border: 1px solid #303957;
    border-radius: 18px;
    padding: 28px;
    transition: transform .2s, border-color .2s, box-shadow .1s;
}


.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 0 65px 15px rgb(117 68 213 / 0.3);
}

.profile-card__header,
.profile-card__main,
.profile-card__footer {
    grid-column: 1 / -1;
}

.profile-card__details {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.profile-card__header {
    display: flex;
    padding-bottom: 20px;
    border-bottom: 1px solid #303957;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #a8b1cc;
}

.profile-card__header_logo {
    color: var(--accent);
    font-weight: bold;
}

.profile-card__main span {
    color: var(--accent);
    font-size: 13px;
    display: block;
}

.profile-card__main h3 {
    line-height: 1.3;
    color: #f5f4ff;
    margin-block-start: 8px;
}

.profile-card__details h4 {
    margin-block-start: 6px;
    font-size: 16px;
    line-height: 1.4;
}

.profile-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #303957;
}

.profile-card__footer a {
    font-size: 14px;
    color: #b8c0d4;
    transition: color .2s ease;
}

.profile-card__footer a:hover {
    color: var(--accent);
}

.profile-card__details span {
    display: block;
    color: #a8b1cc;
    font-size: 13px;
}
/*</editor-fold>*/

/*<editor-fold desc="SECTION">*/
.section {
    padding-block: 95px;
}

.section h2 {
    font-size: clamp(33px, 4vw, 50px);
    letter-spacing: -1.4px;
    line-height: 1.15;
    margin: 8px 0 18px
}

.section-intro, .about-copy {
    color: var(--muted);
    font-size: 17px;
    max-width: 650px
}
/*</editor-fold>*/

/*<editor-fold desc="Project Section">*/
.services-grid,
.project-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px
}

.projects-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.project-archive-button {
    font: inherit;
    font-weight: 500;
    background: transparent;
    color: #d3d6e5;
    border: 1px solid var(--outline);
    border-radius: 999px;
    padding: 5px 16px;
    cursor: pointer;
    font-size: 16px;
    transition: background .25s, border .25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.project-archive-button:hover {
    background: rgba(167, 139, 250, .15);
    color: #d3d6e5;
    border-color: rgb(83 92 140);
}

.project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid #273047;
    border-radius: 18px;
    transition: transform .2s, border-color .2s, box-shadow .1s;
}
.service-card:hover,
.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 0 30px 15px rgb(117 68 213 / 0.15);
}

.project-preview {
    height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding: 0;
    overflow: hidden
}

.project-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-preview:has(img)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            transparent 20%,
            rgba(0, 0, 0, 0.35)
    );
    pointer-events: none;
}

.project-preview span {
    font-size: 12px;
    opacity: .8
}

.project-preview strong {
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -1.5px
}

.project-details {
    display: grid;
    max-width: 1024px;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 32px 0;
    padding: 28px;
    background: #141a2c;
    border: 1px solid #303957;
    border-radius: 18px;
}

.project-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.project-detail--technologies {
    grid-column: 1/-1;
}

.project-detail span {
    color: #a7aec4;
    font-size: 13px;
}

.project-detail strong {
    color: #f3f3ff;
}

.project-live-link {
    color: #b69aff;
    font-weight: 600;
    text-decoration: none;
}

.project-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 999px;
    color: #d6c8ff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.project-content {
    padding: 23px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content :is(h2, h3) {
    margin: 14px 0 8px;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
    letter-spacing: 0;
}

.project-content .project-more {
    margin-top: auto;
    align-self: flex-start;
    font-weight: 650;
    font-size: 14px;
    color: #c4b5fd;
}

.project-content p {
    color: var(--muted);
    font-size: 14px
}

.project-description {
    max-width: 760px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0 auto;
}

.project-description h2 {
    color: var(--text);
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.project-description h3 {
    color: var(--text);
    font-size: 21px;
    line-height: 1.4;
}

.project-description ul {
    padding-left: 24px;
    margin: 16px 0 28px;
}

.project-description li {
    margin-bottom: 12px;
}

.project-description p {
    margin: 16px 0;
}

.project-description .case-process-step h3 {
    margin-bottom: 12px;
}

.project-description .case-process-step p:not(.case-eyebrow) {
    margin-top: 0;
}

.project-description .case-process-step .case-eyebrow {
    margin-bottom: 6px;
}

.project-description img {
    max-width: 100%;
    height: auto;
}

.project-description hr {
    padding: 0;
    margin: 48px 0;
    opacity: 0.3;
}

.pagination-links {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-links .navigation {
    margin-left: 0;
    display: block;
    width: auto;
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
}

.pagination-links .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;

    background: var(--panel);
    border: 1px solid var(--outline);
    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: background .2s, border-color .2s;
}

.pagination-links .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #111124;
}

.pagination-links a.page-numbers:hover {
    background: rgba(167, 139, 250, .15);
    border-color: var(--accent);
    color: var(--text);
}

/*</editor-fold>*/

.tags, .skill-cloud {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.tags span {
    border: 1px solid #3e4761;
    border-radius: 20px;
    padding: 3px 9px;
    font-size: 11px;
    color: #b8c0d4
}

.muted-link {
    color: var(--muted);
    font-size: 14px
}

/*<editor-fold desc="HERO - Services">*/
.service-card {
    display: flex;
    flex-direction: column;
    background: #141a2c;
    border: 1px solid #303957;
    border-radius: 18px;
    padding: 28px;
    transition: transform .2s, border-color .2s, box-shadow .1s;
}

.service-card__icon {
    width: 44px;
    height: 44px;
    background-color: #262040;
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    margin-block-end: 0;
}

.service-card p {
    margin-block-start: 6px;
    font-size: 14px;
    color: #a8b1cc;
    border-bottom: 1px solid #303957;
    padding-bottom: 25px;
    margin-block-end: 0;
}

.service-card__list {
    margin-block-start: 25px;
    margin-block-end: 0;
    padding-inline-start: 20px;
    font-size: 14px;
    color: #a8b1cc;
}

/*</editor-fold>*/

/*<editor-fold desc="HERO - About Section">*/
.about-section {
    background: #101526;
    border-top: 1px solid #252c40;
    border-bottom: 1px solid #252c40
}

.about-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 80px
}

.about-grid h3 {
    margin-top: 10px;
    font-size: 25px
}
/*</editor-fold>*/

/*<editor-fold desc="HERO - SKILL Section">*/
.skill-cloud {
    gap: 10px
}

.skill-cloud span {
    border: 1px solid #3a435b;
    padding: 10px 15px;
    border-radius: 10px;
    color: #d7dced;
    background: #161d32;
    font-size: 14px
}
/*</editor-fold>*/

/*<editor-fold desc="HERO - Contact Section">*/
.contact-section {
    padding-bottom: 125px
}

.contact-box {
    text-align: center;
    background: linear-gradient(140deg, #201744, #11192c);
    padding: 65px 30px;
    border: 1px solid #453a6c;
    border-radius: 24px
}

.contact-box h2 {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto
}

.contact-box p.copy-email-status {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;

    max-width: none;
    margin: 12px 0 0;

    font-size: 14px;
    font-weight: 600;
}

.copy-email-status svg {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.contact-box small {
    display: block;
    color: #b8b2d0;
    margin-top: 22px
}

.contact-email-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.contact-email {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.copy-email {
    font: inherit;
    font-weight: 500;
    background: transparent;
    color: #d3d6e5;
    border: 1px solid var(--outline);
    border-radius: 999px;
    padding: 5px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background .25s, border .25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-email:hover {
    background: rgba(167, 139, 250, .15);
    border-color: rgb(83 92 140);
}

.copy-email-status:empty {
    display: none;
}

.contact-box .copy-email-status.is-success {
    display: flex;
    color: #4ade80;
}

.contact-box .copy-email-status.is-error {
    display: flex;
    color: #fb7185;
}

.copy-success-icon {
    display: none;
}

.is-success .copy-success-icon {
    display: block;
}
    /*</editor-fold>*/

/*<editor-fold desc="Footer">*/
.site-footer {
    border-top: 1px solid #293048;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
    color: var(--muted);
    font-size: 13px
}
/*</editor-fold>*/

.fallback-entry {
    border-bottom: 1px solid #293048;
    padding: 20px 0
}

/*<editor-fold desc="MEDIA">*/
@media (max-width: 900px) {
    .hero {
        grid-template-columns:1fr;
        gap: 32px;
        padding-bottom: 50px;
    }

    .hero-art {
        min-height: 0;
        width: 100%;
    }

    .profile-card {
        padding: 22px;
    }

    .project-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

    .about-grid {
        gap: 30px
    }

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

@media (max-width: 640px) {
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
        min-height: 70px;
        padding-top: 12px;
        padding-bottom: 12px
    }

    .hero .actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero .actions .button {
        justify-content: center;
        min-width: 210px;
    }

    .header-content .navigation {
        display: flex;
        flex-direction: column;

        order: 3;
        width: 100%;
        margin-left: 0;
        gap: 0;

        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        border-top: 1px solid transparent;
        transition:
                max-height .3s ease,
                opacity .25s ease,
                transform .3s ease,
                padding .3s ease,
                visibility 0s linear .3s;
    }

    .navigation a {
        padding: 12px 0;
    }

    .site-header.menu-open .navigation {
        max-height: 220px;
        padding: 12px 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        border-top-color: var(--outline);
        transition:
                max-height .3s ease,
                opacity .25s ease,
                transform .3s ease,
                padding .3s ease;
    }

    .header-right {
        margin-left: auto;
        gap: 8px;
    }

    .language-switcher ul {
        gap: 2px;
        padding: 3px;
    }

    .language-switcher a {
        min-width: 32px;
        min-height: 34px;
        padding: 5px;
        font-size: 11px;
    }

    .navigation .header-element {
        width: 100%;
        padding: 14px 0;

        font-size: 13px;
        letter-spacing: .1em;
    }

    .navigation .header-element::after {
        width: 50px;
        bottom: 8px;
    }

    .header-cta {
        display: none
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;

        background: transparent;

        color: #d3d6e5;
        border: 0;
        border-radius: 9px;
        font-size: 24px;
        cursor: pointer;
        flex-direction: column;
        gap: 5px;
    }

    .menu-line {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        transition: transform .4s ease, opacity .2s ease;
    }

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

    .site-header.menu-open .menu-line:nth-child(2) {
        opacity: 0;
    }

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

    .hero {
        padding-top: 50px;
        padding-bottom: 60px
    }

    .hero h1 {
        letter-spacing: -1.5px
    }

    .hero-art {
        min-height: 235px
    }

    .section {
        padding-block: 65px;
    }

    .container {
        padding-inline: 20px;
    }

    .project-grid {
        grid-template-columns:1fr
    }

    .project-content p {
        min-height: 0
    }

    .project-description {
        margin-top: 40px;
    }

    .about-grid {
        grid-template-columns:1fr
    }

    .footer-content {
        flex-direction: column
    }

    .contact-box {
        padding: 45px 20px
    }
}

@media (min-width: 1024px) {
    .project-detail--role {
        justify-self: end;
    }
}

@media (max-width: 600px) {
    .project-details {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

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

    .a {
        transition: none;
    }

    .button, .project-card {
        transition: none;
    }

    .menu-line, .navigation {
        transition: none;
    }

    .site-header .header-content,
    .navigation .header-element,
    .navigation .header-element::after {
        transition: none;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="CASE - Case">*/
.case-study {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

.case-header {
    margin-bottom: 36px;
}

.case-kicker {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.case-header h1 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 20px 0;
}

.case-lead {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.case-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    margin: 36px 0 48px;
    background: var(--panel2);
}

.case-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-section {

}

.case-eyebrow {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}

.case-item {
    border-left: 3px solid var(--outline);
    padding-left: 20px;
}

.case-process-list > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-process-step h3 {
    margin-top: 0;
}
/*</editor-fold>*/
