/*
Theme Name: DGTL Proskurina
Theme URI: https://yuliapros.com/
Author: DGTL PROS
Description: Custom lightweight theme for Yuliia Proskurina / DGTL PROS.
Version: 1.1.3
Text Domain: dgtl-proskurina
*/

:root {
    --black: #090909;
    --ivory: #f2f0e8;
    --lime: #bdff00;
    --muted: #b9b7b0;
    --line: rgba(242, 240, 232, .5);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--ivory);
    font-family: Arial, Helvetica, sans-serif;
}

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

.shell {
    width: min(100% - 72px, 1480px);
    margin-inline: auto;
}

/* Header */

.site-header {
    height: 110px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 19px;
    line-height: .86;
    font-weight: 900;
    letter-spacing: -.06em;
}

nav {
    display: flex;
    gap: 38px;
    margin-left: auto;
    font-size: 15px;
}

nav a {
    position: relative;
}

nav a:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 100%;
    height: 2px;
    background: var(--lime);
    transition: .2s;
}

nav a:hover:after {
    right: 0;
}

.language {
    display: flex;
    gap: 6px;
    margin-left: 45px;
    font-size: 13px;
}

.language button {
    border: 0;
    background: none;
    color: #797872;
    padding: 0;
    cursor: pointer;
    font-weight: 800;
}

.language button.active {
    color: var(--lime);
}

.header-cta {
    margin-left: 24px;
    border: 1px solid var(--line);
    padding: 14px 17px;
    font-size: 13px;
    font-weight: 800;
}

/* Hero */

.personal-hero {
    height: 810px;
    display: grid;
    grid-template-columns: 1.65fr .72fr .63fr;
    grid-template-rows: 80px 1fr 92px;
    position: relative;
    border-bottom: 1px solid var(--line);
}

.role {
    grid-column: 1 / 3;
    font-size: 12px;
    letter-spacing: .16em;
    margin: 31px 0 0;
}

.hero-title {
    grid-column: 1 / 3;
    grid-row: 2;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-title h1 {
    font-size: clamp(66px, 7.7vw, 122px);
    line-height: .83;
    letter-spacing: -.075em;
    margin: 0;
    font-weight: 900;
}

.hero-title h1 em,
.manifesto h2 em,
.agency h2 em,
.products h2 em,
.bio h2 em,
.footer h2 em {
    color: var(--lime);
    font-style: normal;
}

.portrait-wrap {
    grid-column: 3;
    grid-row: 1 / 4;
    position: relative;
    overflow: hidden;
    background: var(--lime);
}

.portrait-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 34%;
    filter: saturate(.82) contrast(1.04);
    mix-blend-mode: normal;
}

.portrait-wrap:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(189, 255, 0, .2));
}

.portrait-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 50% 20%;
    z-index: 2;
    opacity: .32;
}

.portrait-wrap > span {
    position: absolute;
    right: 20px;
    top: 22px;
    color: var(--black);
    font-size: 12px;
    font-weight: 900;
    z-index: 3;
}

.hero-note {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    padding: 0 38px 35px 0;
    z-index: 3;
}

.hero-note > p {
    font-size: 19px;
    line-height: 1.35;
}

.button {
    margin-top: 22px;
    background: var(--lime);
    color: var(--black);
    display: flex;
    padding: 20px 22px;
    font-weight: 800;
    justify-content: space-between;
}

.markets {
    grid-row: 3;
    grid-column: 1 / 3;
    align-self: end;
    margin: 0 0 27px;
    font-size: 13px;
    letter-spacing: .14em;
}

/* Proof */

.proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
}

.proof div {
    padding: 31px 25px;
    border-right: 1px solid var(--line);
    display: flex;
    gap: 24px;
}

.proof div:first-child {
    padding-left: 0;
}

.proof span {
    color: var(--lime);
    font-size: 11px;
}

.proof p {
    margin: 0;
    font-size: 15px;
}

/* Manifesto */

.manifesto {
    padding: 155px 0;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 800;
    margin: 0;
}

.manifesto h2,
.products > h2,
.bio h2,
.footer h2 {
    font-size: clamp(54px, 6.2vw, 96px);
    line-height: .92;
    letter-spacing: -.06em;
    margin: 0;
}

.manifesto > div > p {
    font-size: 20px;
    line-height: 1.5;
    color: var(--muted);
    width: 53%;
    margin: 65px 0 0 auto;
}

/* Ways */

.ways {
    padding-bottom: 150px;
}

.section-head {
    border-top: 1px solid var(--line);
    padding: 24px 0 55px;
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.section-head h2 {
    font-size: 29px;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0;
}

.section-head > p:last-child {
    margin: 0;
    color: var(--muted);
}

.way-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
}

.way-card {
    background: var(--black);
    min-height: 415px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.way-card > span {
    color: var(--lime);
    font-size: 12px;
}

.way-card h3 {
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 72px 0 25px;
}

.way-card p {
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.way-card a {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 21px;
    display: flex;
    justify-content: space-between;
    font-weight: 800;
}

.way-card b {
    color: var(--lime);
    font-size: 22px;
}

/* Agency */

.agency,
.footer {
    background: var(--lime);
    color: var(--black);
}

.agency-inner {
    padding: 110px 0 100px;
}

.eyebrow.dark {
    color: var(--black);
}

.agency h2 {
    font-size: clamp(56px, 6.2vw, 96px);
    line-height: .91;
    letter-spacing: -.065em;
    margin: 50px 0 65px;
}

.agency h2 em,
.footer h2 em {
    color: var(--black);
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-underline-offset: 10px;
}

.agency-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.agency-intro p {
    font-size: 25px;
    line-height: 1.35;
    margin: 0;
    max-width: 630px;
}

.agency-intro a {
    justify-self: end;
    align-self: start;
    border: 2px solid var(--black);
    padding: 20px 25px;
    font-weight: 800;
}

/* Agency Services */

.agency-services {
    margin-top: 100px;
    border-top: 1px solid rgba(0, 0, 0, .5);
}

.agency-services article {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    border-bottom: 1px solid rgba(0, 0, 0, .5);
    padding: 27px 0;
    align-items: start;
}

.agency-services span {
    font-size: 14px;
}

.agency-services h3 {
    font-size: 32px;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -.01em;
}

.agency-services p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

/* Cases */

.cases {
    padding: 135px 0;
}

.case-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line);
}

.case-strip div {
    height: 150px;
    border-right: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #77756e;
    font-weight: 900;
}

.case-strip div:nth-child(even) {
    background: #111;
}

/* Products */

.products {
    padding: 20px 0 90px;
}

.products > h2 {
    margin: 50px 0 90px;
}

.product-list {
    border-top: 1px solid var(--line);
}

.product-list > a {
    display: grid;
    grid-template-columns: 65px 140px 1fr 1.1fr 30px;
    gap: 28px;
    border-bottom: 1px solid var(--line);
    padding: 33px 0;
    align-items: start;
}

.product-list > a > span {
    color: var(--lime);
    font-size: 11px;
}

.product-list small {
    letter-spacing: .13em;
}

.product-list h3 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -.04em;
}

.product-list p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.product-list b {
    color: var(--lime);
    font-size: 24px;
}

/* About */

.bio {
    display: grid;
    grid-template-columns: .85fr 1.7fr;
    gap: 80px;
    padding: 50px 0 140px;
}

.bio-photo {
    height: 720px;
    background: var(--lime);
    overflow: hidden;
}

.bio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 38%;
    filter: saturate(.82) contrast(1.04);
    mix-blend-mode: normal;
}

.bio-copy h2 {
    margin: 58px 0;
}

.bio-copy > p:not(.eyebrow) {
    font-size: 21px;
    line-height: 1.5;
    color: var(--muted);
    width: 62%;
    margin-left: auto;
    white-space: pre-line;
}

.signature {
    margin-top: 100px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    font-weight: 900;
    display: flex;
    justify-content: space-between;
}

.signature span {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .1em;
}

/* Footer */

.footer-inner {
    padding: 100px 0 40px;
}

.footer h2 {
    margin: 55px 0 75px;
}

.footer-inner > a {
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    padding: 26px 0;
    font-size: clamp(26px, 4vw, 56px);
    font-weight: 900;
    display: flex;
    justify-content: space-between;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    margin-top: 100px;
    font-size: 13px;
    align-items: end;
}

.footer-bottom b {
    font-size: 22px;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive — Tablet */

@media (max-width: 950px) {
    .shell {
        width: min(100% - 36px, 1480px);
    }

    nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .language {
        margin-left: auto;
    }

    .personal-hero {
        height: auto;
        min-height: 860px;
        grid-template-columns: 1fr 40%;
        grid-template-rows: 70px 1fr 350px 70px;
    }

    .role {
        margin-top: 16px;
        font-size: min(12px, calc((100vw - 36px) / 34));
        letter-spacing: .07em;
        white-space: nowrap;
        text-align: center;
    }

    .hero-title {
        grid-column: 1 / 3;
    }

    .portrait-wrap {
        grid-column: 2;
        grid-row: 3;
    }

    .hero-note {
        grid-column: 1;
        grid-row: 3;
        padding: 30px 25px 20px 0;
        align-self: end;
    }

    .markets {
        grid-column: 1 / 3;
        grid-row: 4;
    }

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

    .manifesto,
    .section-head {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .manifesto > div > p {
        width: 100%;
    }

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

    .way-card {
        min-height: 330px;
    }

    .agency-intro {
        grid-template-columns: 1fr;
    }

    .agency-intro a {
        justify-self: start;
    }

    .agency-services article {
        grid-template-columns: 55px 1fr;
    }

    .agency-services p {
        grid-column: 2;
        margin-top: 12px;
    }

    .case-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-list > a {
        grid-template-columns: 50px 1fr 30px;
    }

    .product-list small,
    .product-list h3,
    .product-list p {
        grid-column: 2;
    }

    .product-list b {
        grid-column: 3;
        grid-row: 1;
    }

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

    .bio-photo {
        height: 550px;
    }

    .bio-copy > p:not(.eyebrow) {
        width: 100%;
    }
}

/* Responsive — Mobile */

@media (max-width: 560px) {
    .site-header {
        height: 82px;
    }

    .personal-hero {
        min-height: 760px;
        grid-template-columns: 1fr 39%;
        grid-template-rows: 62px 1fr 300px auto;
    }

    .hero-title h1 {
        font-size: 52px;
    }

    .hero-note > p {
        font-size: 16px;
    }

    .button {
        font-size: 13px;
        padding: 16px;
    }

    .portrait-wrap {
        height: 300px;
    }

    .markets {
        align-self: stretch;
        margin: 0;
        padding: 20px 0;
        text-align: center;
        color: var(--lime);
        font-size: 12px;
        line-height: 1.4;
    }
    .proof {
        --proof-number-width: 22px;
        --proof-gap: 14px;

        grid-template-columns: minmax(0, 1fr);
        border-bottom: 1px solid var(--line);
    }

    .proof > div {
        position: relative;
        display: grid;
        grid-template-columns: var(--proof-number-width) minmax(0, 1fr);
        align-items: baseline;
        column-gap: var(--proof-gap);
        padding: 17px 0;
        border: 0;
    }

    .proof > div:not(:last-child)::after {
        content: "";
        position: absolute;
        inset-inline-start: calc(var(--proof-number-width) + var(--proof-gap));
        inset-inline-end: 0;
        bottom: 0;
        height: 1px;
        background: rgba(242, 240, 232, .18);
    }

    .proof > div > span {
        font-size: 14px;
        font-variant-numeric: tabular-nums;
    }

    .proof > div > p {
        color: var(--ivory);
        font-size: 17px;
        line-height: 1.4;
    }

    .proof > div > p .i18n {
        color: inherit;
        font-size: inherit;
    }

    .manifesto,
    .agency-inner,
    .cases,
    .bio {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .manifesto h2,
    .products > h2,
    .bio h2,
    .footer h2 {
        font-size: 48px;
    }

    .ways {
        padding-bottom: 90px;
    }

    .ways .section-head {
        gap: 10px;
        padding-bottom: 18px;
    }

    .ways .way-card {
        min-height: 0;
        padding: 22px 0 24px;
    }

    .ways .way-card > span {
        font-size: 64px;
        font-weight: 900;
        line-height: .92;
        letter-spacing: -.06em;
    }

    .ways .way-card h3 {
        margin: 12px 0 14px;
        font-size: clamp(28px, 8vw, 32px);
        line-height: 1.08;
    }

    .ways .way-card > a {
        align-items: center;
        gap: 12px;
        margin-top: 20px;
        min-height: 44px;
        padding-top: 14px;
        border-top-color: rgba(242, 240, 232, .25);
    }

    .agency h2 {
        font-size: 48px;
    }

    .agency-intro p {
        font-size: 21px;
    }

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

    .case-strip div {
        height: 100px;
    }

    .products {
        padding-bottom: 90px;
    }

    .products > h2 {
        margin-bottom: 55px;
    }

    .product-list > a {
        gap: 14px;
    }

    .bio {
        gap: 45px;
    }

    .bio-photo {
        height: 440px;
    }

    .signature {
        display: block;
    }

    .signature span {
        display: block;
        margin-top: 12px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 13px;
    }
}

/* Reduced Motion */

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

    * {
        transition: none !important;
    }
}

/* Language Switch */

.i18n-en {
    display: none;
}

html[data-site-lang="en"] .i18n-ua {
    display: none;
}

html[data-site-lang="en"] .i18n-en {
    display: revert;
}

html[data-site-lang="ua"] .i18n-ua {
    display: revert;
}

html[data-site-lang="ua"] .i18n-en {
    display: none;
}

.footer-socials a {
    display: inline;
}