﻿@font-face {
    font-family: InterRegular;
    src: url("/fonts/Inter_18pt-Regular.ttf") format("truetype");
}

@font-face {
    font-family: InterSamiBold;
    src: url("/fonts/Inter_18pt-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: RelewayMedium;
    src: url("/fonts/Raleway-Medium.ttf") format("truetype");
}

@font-face {
    font-family: RelewaySamiBold;
    src: url("/fonts/Raleway-SemiBold.ttf") format("truetype");
}

:root {
    --color-active: #6366f1;
    --color-bg-orb-a: rgba(99, 102, 241, 0.22);
    --color-bg-orb-b: rgba(14, 165, 233, 0.14);
    --color-bg-orb-c: rgba(168, 85, 247, 0.12);
    --color-rgb-one: #818cf8;
    --color-rgb-two: #c084fc;
    --color-black: #07080d;
    --color-pre-headers: #94a3b8;
    --color-headers: #f1f5f9;
    --color-paragraphs: rgba(203, 213, 225, 0.88);
    --color-footer: #64748b;
    --icon-width: 1.5vh;
    --icon-height: 1.5vh;
    --color-block-baground: #101218;
    --color-block-border: rgba(255, 255, 255, 0.07);
    --color-block-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 32px 64px -28px rgba(0, 0, 0, 0.65),
        0 0 80px -40px rgba(99, 102, 241, 0.15);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --home-gap: clamp(1rem, 2.2vw, 1.75rem);
    --shell-max: min(72rem, calc(100vw - 2rem));
    --shell-pad-inline: max(1rem, env(safe-area-inset-left));
    --shell-pad-inline-end: max(1rem, env(safe-area-inset-right));
}

* {
    margin: 0;
    padding: 0;
    -moz-user-select: none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

*.unselectable {
    pointer-events: none;
}

html {
    overscroll-behavior: none;
    overscroll-behavior-y: none;
}

body {
    width: 100vw;
    font-size: 100%;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--color-paragraphs);
    background-color: var(--color-black);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(99, 102, 241, 0.12), transparent 50%),
        radial-gradient(ellipse 80% 50% at 100% 50%, rgba(14, 165, 233, 0.06), transparent 45%),
        radial-gradient(circle, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
    background-size: auto, auto, 32px 32px;
    font-family: InterRegular, system-ui, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: opacity 0.2s ease;
}

body.loading {
    opacity: 0.72;
    pointer-events: none;
}

body.overflow-y {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

a {
    text-decoration: unset;
    color: unset;
}

::-webkit-scrollbar {
    width: 0;
}

::-webkit-scrollbar-track {
    background: unset;
}

::-webkit-scrollbar-thumb {
    border: none;
    border-radius: 0;
    background: unset;
}

.blur-1, .blur-2, .blur-3 {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.blur-1 {
    top: -18rem;
    left: -12rem;
    width: 28rem;
    height: 28rem;
    background: var(--color-bg-orb-a);
}

.blur-2 {
    bottom: -16rem;
    left: -10rem;
    width: 26rem;
    height: 26rem;
    background: var(--color-bg-orb-b);
}

.blur-3 {
    top: 35%;
    right: -14rem;
    width: 24rem;
    height: 24rem;
    background: var(--color-bg-orb-c);
}

.no-scale {
    animation: unset;
    animation-fill-mode: unset;
}

.no-scale:hover {
    transform: unset !important;
}

.a {
    text-decoration: underline;
    font-family: InterSamiBold, sans-serif !important;
    cursor: pointer;
}

.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app .content {
    flex: 1 1 auto;
    min-height: 0;
}

.app.app--home,
.app.app--projects,
.app.app--timeline,
.app.stats-app {
    width: 100%;
    max-width: var(--shell-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--shell-pad-inline);
    padding-right: var(--shell-pad-inline-end);
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
    box-sizing: border-box;
    animation: none;
    opacity: 1;
}

.app.app--home .footer,
.app.app--projects .footer,
.app.app--timeline .footer,
.app.stats-app .footer {
    width: 100%;
    max-width: var(--shell-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--shell-pad-inline);
    padding-right: var(--shell-pad-inline-end);
    box-sizing: border-box;
    animation: none;
}

.content.page-panel,
.content.home-flow {
    display: block !important;
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    height: auto !important;
    min-height: 0;
    min-width: 0;
    padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.15rem, 3.5vw, 2.25rem) clamp(1.65rem, 3.5vw, 2.5rem);
    box-sizing: border-box;
    grid-template-columns: unset !important;
    justify-content: unset;
    gap: 0;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(168deg, rgba(255, 255, 255, 0.035) 0%, transparent 42%),
        linear-gradient(150deg, rgba(20, 22, 32, 0.92) 0%, rgba(8, 9, 14, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 32px 64px -36px rgba(0, 0, 0, 0.65);
}

.stats-board.page-panel {
    border-radius: var(--radius-xl);
    background:
        linear-gradient(168deg, rgba(255, 255, 255, 0.035) 0%, transparent 42%),
        linear-gradient(150deg, rgba(20, 22, 32, 0.92) 0%, rgba(8, 9, 14, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 32px 64px -36px rgba(0, 0, 0, 0.65);
    padding: clamp(1.35rem, 3vw, 2.25rem) clamp(1.1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0;
    box-sizing: border-box;
}

.stats-board.page-panel .stats-intro {
    margin-bottom: 0.5rem;
    padding: 0;
}

@media screen and (max-width: 999px) {
    .content.page-panel,
    .content.home-flow,
    .content.timeline-page-content.page-panel,
    .stats-board.page-panel {
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.site-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1.15rem;
    margin-bottom: clamp(0.75rem, 2vw, 1.15rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 11, 17, 0.78);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    box-shadow: 0 18px 48px -28px rgba(0, 0, 0, 0.55);
    position: sticky;
    top: max(0.5rem, env(safe-area-inset-top));
    z-index: 50;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.site-brand:hover {
    opacity: 0.92;
}

.site-brand__mark {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--color-rgb-one), var(--color-rgb-two));
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.45);
}

.site-brand__text {
    font-family: Syne, InterSamiBold, system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.04em;
    background: linear-gradient(100deg, var(--color-rgb-one), var(--color-rgb-two));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-brand__role {
    font-family: InterRegular, system-ui, sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-pre-headers);
    padding: 0.35rem 0.55rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.site-nav__link {
    font-family: InterSamiBold, system-ui, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.55rem 0.95rem;
    border-radius: var(--radius-pill);
    color: var(--color-pre-headers);
    border: 1px solid transparent;
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out-expo);
}

.site-nav__link:hover {
    color: var(--color-headers);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.site-nav__link.is-active {
    color: #f8fafc;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.35), rgba(192, 132, 252, 0.18));
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 8px 28px -12px rgba(99, 102, 241, 0.45);
}

.site-nav__link--dim:not(.is-active) {
    opacity: 0.75;
}

.site-nav__link--dim.is-active {
    opacity: 1;
}

@media screen and (max-width: 560px) {
    .site-header {
        flex-direction: column;
        align-items: stretch;
        top: 0;
        border-radius: var(--radius-lg);
        padding: 0.75rem 1rem;
    }

    .site-brand {
        justify-content: flex-start;
    }

    .site-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 0.45rem;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav__link {
        flex-shrink: 0;
    }
}

.stats-intro {
    flex-shrink: 0;
    width: 100%;
    margin-bottom: 0.65rem;
    padding: 0 0.15rem;
}

.stats-intro__title {
    font-family: Syne, InterSamiBold, sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    letter-spacing: -0.03em;
    color: var(--color-headers);
    margin: 0 0 0.35rem;
}

.stats-intro__lead {
    font-size: 0.88rem;
    color: var(--color-pre-headers);
    margin: 0;
    max-width: 36rem;
    line-height: 1.5;
}

@media screen and (max-width: 900px) {
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: linear-gradient(165deg, #151822 0%, #0c0e14 100%);
    }
}


.chessboard {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 3px;
    rotate: 11deg;
}

.smiley {
    font-family: InterSamiBold, sans-serif !important;
    color: #64748b;
    text-align: center;
    padding: 0.6rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    transition: color 0.25s var(--ease-out-expo), background 0.25s ease;
}

.blinking-smiley::before {
    content: "\043E_\041E";
    animation: blink 4s infinite;
}

.static-smiley::before {
    content: "\043E_\041E";
}

@keyframes blink {
    0%, 20% { content: "\041E_\043E"; }
    25%, 45% { content: "\043E_\041E"; }
    50%, 70% { content: "\041E_\043E"; }
    75%, 95% { content: "\043E_\041E"; }
    5%, 30%, 55%, 80% { content: "-_-"; }
    100% { content: "\041E_\043E"; }
}

.education {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.education .viewport {
    position: absolute;
    border-radius: var(--radius-lg);
    background: transparent;
    box-shadow: 0 0 0 100vmax rgba(7, 8, 13, 0.88);
    transition: all 0.55s var(--ease-out-expo);
    z-index: 1;
}

.education .mouse {
    position: absolute;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/img/mouse.svg");
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    transform-origin: center;
}

.education .description {
    position: fixed;
    z-index: 3;
    background: rgba(14, 16, 22, 0.82);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    max-width: 300px;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-expo);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 24px 48px -16px rgba(0, 0, 0, 0.55);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-paragraphs);
}

.app {
    width: min(92%, 80rem);
    z-index: 1;
    margin: 0 auto;
    padding: 0 clamp(0.5rem, 2vw, 0.25rem) 2rem;
    max-width: 80rem;
    min-height: 100vh;
    position: relative;
    animation: scaleUp 0.9s var(--ease-out-expo);
    animation-fill-mode: forwards;
}

.app .block:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.11);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 0 0 1px rgba(0, 0, 0, 0.3),
        0 40px 80px -32px rgba(0, 0, 0, 0.7),
        0 0 100px -36px rgba(129, 140, 248, 0.22);
}

.app .block:hover::before {
    opacity: 1;
}

.app .block {
    padding: clamp(1.15rem, 3.5vw, 1.65rem);
    display: grid;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    color: var(--color-paragraphs);
    border: 1px solid var(--color-block-border);
    box-shadow: var(--color-block-shadow);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, transparent 42%),
        linear-gradient(145deg, rgba(22, 24, 34, 0.92) 0%, rgba(10, 11, 17, 0.9) 100%);
    backdrop-filter: blur(32px) saturate(1.12);
    -webkit-backdrop-filter: blur(32px) saturate(1.12);
    transition:
        transform 0.45s var(--ease-out-expo),
        box-shadow 0.45s var(--ease-out-expo),
        border-color 0.35s ease;
}

.app .block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.5), rgba(192, 132, 252, 0.35), transparent);
    opacity: 0.75;
    pointer-events: none;
    z-index: 6;
    transition: opacity 0.35s ease;
}

.app .block .block-bg-pattern-0_0 {
    z-index: 0;
    margin-left: 49%;
    margin-top: -43%;
    position: absolute;
    background-repeat: no-repeat;
    background-position: top right;
}

.app .block .block-bg-pattern-square {
    z-index: 0;
    width: 456px;
    height: 296px;
    margin-left: 28%;
    margin-top: -37%;
    position: absolute;
    transform: rotate(151.34rad);
    background-repeat: no-repeat;
    background-position: top right;
    background-image: url(/img/patern-square.svg);
}

.app .block .pre-header {
    gap: 0.65rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 2;
}

.app .block .pre-header .icon {
    z-index: 2 !important;
    width: 20px !important;
    height: 12px !important;
    min-width: 20px !important;
    min-height: 12px !important;
    background-size: cover !important;
    background-image: url("/img/icons/pre-header.svg") !important;
    opacity: 0.85;
}

.app .block .pre-header .text {
    font-size: 0.78rem;
    color: var(--color-pre-headers);
    font-family: InterRegular, ui-monospace, monospace !important;
    letter-spacing: 0.04em;
    text-transform: none;
    opacity: 0.92;
}

.app .block .header {
    display: flex;
    margin-bottom: 1rem;
    color: var(--color-headers);
    font-family: InterSamiBold, sans-serif !important;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.app .block .paragraph {
    font-size: 0.98rem;
    line-height: 1.62;
    position: relative;
    z-index: 2;
}

.app .buttons {
    gap: 1rem;
    align-self: end !important;
    margin-bottom: 0 !important;
}

.app .tags,
.app .buttons {
    z-index: 2;
    display: flex;
    align-self: start;
    position: relative;
    flex-flow: row wrap;
    margin-bottom: 1rem;
    gap: 0.5rem 0.65rem;
}

.app .tags .tag,
.app .tags .button,
.app .buttons .tag,
.app .buttons .button {
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    display: inline-flex;
    flex: 0 1 auto;
    font-size: 0.78rem;
    font-family: InterSamiBold, sans-serif !important;
    letter-spacing: 0.01em;
    align-items: center;
    border-radius: var(--radius-pill);
    margin: 0;
    max-width: max-content;
    justify-content: center;
    background: rgba(12, 14, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
    transition: border-color 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo), background 0.25s ease, box-shadow 0.25s ease;
}

.app .buttons .button {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app .tags .tag:hover,
.app .buttons .button:hover {
    border-color: rgba(129, 140, 248, 0.32);
    background: rgba(20, 24, 36, 0.88);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -12px rgba(99, 102, 241, 0.35);
}

.app .buttons .button:first-child {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.95), rgba(99, 102, 241, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 12px 32px -10px rgba(99, 102, 241, 0.55);
}

.app .buttons .button:first-child:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #8b93fa, #6366f1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 16px 40px -12px rgba(99, 102, 241, 0.6);
}

.app .buttons .button:first-child .icon {
    filter: brightness(0) invert(1);
}

.app .buttons .button:nth-child(2) {
    background: rgba(10, 12, 18, 0.5);
    border: 1px solid rgba(129, 140, 248, 0.22);
}

.app .buttons .button:nth-child(2):hover {
    border-color: rgba(192, 132, 252, 0.35);
    background: rgba(20, 22, 32, 0.75);
}

.app .buttons .button:nth-child(3) {
    background: transparent;
    border: 1px dashed rgba(148, 163, 184, 0.25);
}

.app .buttons .button:nth-child(3):hover {
    border-style: solid;
    border-color: rgba(148, 163, 184, 0.4);
    background: rgba(255, 255, 255, 0.03);
}

.app .tags .tag .name,
.app .tags .button .name,
.app .buttons .tag .name,
.app .buttons .button .name {
    top: 0.05em;
    position: relative;
}

.app .tags .tag .icon,
.app .tags .button .icon,
.app .buttons .tag .icon,
.app .buttons .button .icon {
    width: var(--icon-width);
    height: var(--icon-height);
    background-size: cover;
    filter: brightness(0) saturate(100%) invert(78%) sepia(8%) saturate(1200%) hue-rotate(202deg) brightness(98%) contrast(94%);
}

.app .tags .button,
.app .buttons .button {
    cursor: pointer;
}

.app .content {
    gap: clamp(1.5rem, 3vw, 2.75rem);
    height: 85%;
    display: grid;
    padding: clamp(1.25rem, 3vw, 2.5rem) 0;
    justify-content: space-between;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transition: margin-top 0.3s ease, margin-bottom 0.3s ease;
}

.app .content .left {
    gap: 2rem;
    display: grid;
}

.app .content .left .block {
    grid-column: span 3 / span 3;
}

.app .content .left .top {
    width: 100%;
    display: flex;
    grid-column: span 3 / span 3;
    justify-content: space-between;
}

.app .content .left .top .block {
    display: grid;
    max-width: 21.5%;
}

.app .content .left .top .paragraph {
    font-size: 0.82rem;
    height: fit-content;
    line-height: 1.5;
    opacity: 0.88;
}

.app .content .left .top .block .header {
    font-size: clamp(1.15rem, 2.6vw, 1.5rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
    line-height: 1.15;
}

.app .content .left .middle .header {
    gap: 0.5rem;
    font-size: 130%;
    width: fit-content;
    flex-wrap: wrap;
    align-items: center;
}

.app .content .left .middle .header.hero-title {
    align-items: baseline;
    font-size: clamp(1.35rem, 3.4vw, 1.95rem);
    line-height: 1.2;
    font-weight: 600;
}

.hero-hat {
    position: relative;
    right: 2rem;
    bottom: 0.6rem;
    width: 1.5rem;
    height: 1.5rem;
    z-index: 10;
    vertical-align: middle;
}

.app .content .left .middle .rgb {
    --bg-size: 400%;
    display: inline-block;
    color: transparent;
    animation: move 8s linear infinite;
    background: linear-gradient(90deg, var(--color-rgb-one), var(--color-rgb-two), var(--color-rgb-one)) 0 0/var(--bg-size) 100%;
    -webkit-background-clip: text;
    background-clip: text;
}

.app .content .left .middle .button {
    margin: 1.5% 0 0 0;
}

.app .content .left .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app .content .left .bottom .left {
    width: 36%;
    display: unset;
}

.app .content .left .bottom .left .header {
    line-height: 2;
    margin-bottom: 0;
}

.app .content .left .bottom .right {
    gap: 1rem;
    display: flex;
}

.app .content .left .bottom .right .block {
    width: 5rem;
    display: grid;
    text-align: center;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.app .content .left .bottom .right .block .head {
    font-family: InterSamiBold, sans-serif !important;
    color: var(--color-headers);
    background: linear-gradient(135deg, var(--color-rgb-one), var(--color-rgb-two));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.app .content .right {
    gap: 2rem;
    display: grid;
}

.app .content .right .top .block {
    width: 55%;
    padding: 2.5%;
    cursor: pointer;
}

.app .content .right .top .block .head {
    gap: 0.7rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.app .content .right .top .block .head .icon {
    width: var(--icon-width);
    height: var(--icon-height);
    background-size: cover;
}

.app .content .right .top .block .head .name {
    font-size: 85%;
    line-height: 0;
}

.app .content .right .top .block .text {
    font-size: 80%;
    line-height: 1.5;
}

.app .content .right .bottom .container:nth-child(5) .tags {
    margin-bottom: 0;
}

.app .projects {
    display: block;
}

.app .projects .top:hover {
    transform: scale(1.02) translateX(0.5%);
}

.app .projects .top {
    gap: 0.5rem;
    display: flex;
    padding: 1.5rem 0;
    align-items: center;
    transition: transform 0.3s ease, color 0.2s ease;
    border-radius: var(--radius-md);
    margin-left: -0.35rem;
    padding-left: 0.35rem;
    width: fit-content;
}

.app .projects .top .icon {
    width: 2.5vh;
    height: 2.5vh;
    background-size: cover;
    opacity: 0.9;
}

.app .projects .block {
    padding: 2%;
}

.app .projects .block .top:hover {
    transform: unset !important;
}

.app .projects .block .top {
    padding: unset;
    transform: unset !important;
    justify-content: space-between;
}

.app .projects .block .top .left {
    gap: unset;
}

.app .projects .filter-bar {
    gap: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    margin: 0.2rem 0 1.25rem;
}

.app .projects .filter-button {
    border: 1px solid var(--color-block-border);
    color: var(--color-pre-headers);
    cursor: pointer;
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-pill);
    font-family: InterSamiBold, sans-serif !important;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    background: rgba(12, 14, 20, 0.55);
    transition: transform 0.25s var(--ease-out-expo), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.app .projects .filter-button:hover {
    transform: translateY(-2px);
    background: rgba(20, 24, 34, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-headers);
    box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.5);
}

.app .projects .filter-button.active {
    color: #f8fafc;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.45), rgba(168, 85, 247, 0.25));
    border-color: rgba(129, 140, 248, 0.45);
    box-shadow: 0 8px 28px -12px rgba(99, 102, 241, 0.4);
}

.app .projects.page-panel > .block.no-scale > .top {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
    padding: 0 0 1.1rem;
    margin-left: 0;
    padding-left: 0;
}

.app .projects.page-panel > .block.no-scale > .top:hover {
    transform: none;
}

.app .projects.page-panel > .block.no-scale > .top .right {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.42rem 0.8rem;
    border-radius: var(--radius-pill);
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.28);
    color: #c7d2fe;
    text-align: center;
    font-family: InterSamiBold, sans-serif !important;
}

.app .projects .block .top .right {
    font-size: 160%;
    text-align: end;
    font-family: InterSamiBold, sans-serif !important;
    color: var(--color-pre-headers);
}

.app .projects .block .bottom .grid {
    gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app .projects .block .bottom .grid .block {
    padding: 4%;
}

.app .projects .block .bottom .grid .block .tags {
    margin-bottom: 1rem;
}

.app .projects .block .bottom .grid .block .header {
    font-size: 130%;
}

.app .projects .block .bottom .grid .block .paragraph {
    font-size: 95%;
}

.app .projects .block .bottom .grid .block .category-pill {
    width: fit-content;
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-family: InterSamiBold, sans-serif !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-pre-headers);
    background: rgba(12, 14, 20, 0.65);
    border: 1px solid var(--color-block-border);
}

.app .projects .block .bottom .grid .block .params {
    font-size: 95%;
    margin-bottom: 1rem;
    color: var(--color-pre-headers);
    font-family: InterRegular, sans-serif !important;
}

.app .footer {
    color: var(--color-footer);
    animation-fill-mode: forwards;
    animation: scaleUp 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.app .footer .line {
    width: 100%;
    height: 1px;
    margin: 0 0 2% 0;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.25), transparent);
}

.app .footer .copyright {
    font-size: 0.8rem;
    padding-bottom: 2%;
    font-family: InterRegular, sans-serif !important;
    line-height: 1.55;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.timeline-page-content {
    display: block !important;
    padding: 3% 0;
}

.timeline {
    position: relative;
    padding: 2rem 0;
    margin-top: 2rem;
}

.timeline-line {
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-rgb-one), var(--color-rgb-two));
    border-radius: 2px;
    opacity: 0.65;
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    left: calc(2rem - 5px);
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-rgb-two);
    border: 2px solid var(--color-block-baground);
    box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.35);
    z-index: 2;
    transition: transform 0.3s ease;
}

.timeline-item.active .timeline-dot {
    background: var(--color-rgb-one);
    box-shadow: 0 0 16px rgba(129, 140, 248, 0.45);
    animation: timeline-pulse 2.2s ease-in-out infinite;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
}

.timeline-content-block {
    background: linear-gradient(145deg, rgba(22, 24, 34, 0.88) 0%, rgba(12, 14, 20, 0.92) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.35rem 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-block-border);
    box-shadow: var(--color-block-shadow);
    transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.35s ease;
}

.timeline-item:hover .timeline-content-block {
    transform: translateX(6px);
    border-color: rgba(129, 140, 248, 0.15);
}

.timeline-year {
    font-family: InterSamiBold, sans-serif;
    color: var(--color-rgb-one);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: InterSamiBold, sans-serif;
    color: var(--color-headers);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.timeline-description {
    color: var(--color-paragraphs);
    line-height: 1.65;
    font-size: 0.95rem;
}

@keyframes timeline-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(129, 140, 248, 0.35); }
    50% { box-shadow: 0 0 22px rgba(192, 132, 252, 0.35); }
}

@media (max-width: 768px) {
    .timeline-line {
        left: 1.5rem;
    }

    .timeline-item {
        padding-left: 4rem;
    }

    .timeline-dot {
        left: calc(1.5rem - 4px);
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 1300px) {
    .app {
        width: min(88%, 80rem);
        margin: auto;
    }
    .app .content .buttons {
        margin-top: 1.2rem;
    }
    .app .content .buttons .button {
        padding: 2.8% !important;
    }
    .app .content .block .pre-header {
        line-height: 0;
        margin-bottom: 0.5rem;
    }
    .app .content .block .pre-header .icon {
        width: 16px;
        height: 8px;
        min-width: 16px;
        min-height: 9px;
    }
    .app .content .block .header {
        margin-bottom: 0.5rem;
    }
    .app .content .left .top .block .pre-header .text {
        z-index: 1;
        display: flex;
        position: relative;
        visibility: hidden;
        align-items: center;
        justify-content: start;
    }
    .app .content .left .top .block .pre-header .text:after {
        left: 0;
        position: absolute;
        visibility: visible;
    }
    .app .content .left .top .block:nth-of-type(1) .text:after {
        content: "func w() {";
    }
    .app .content .left .top .block:nth-of-type(2) .text:after {
        content: "func y() {";
    }
    .app .content .left .top .block:nth-of-type(3) .text:after {
        content: "func s() {";
    }
    .app .content .left .middle .paragraph {
        font-size: 88%;
    }
    .app .content .left .bottom .left .header {
        font-size: 85%;
        line-height: unset;
    }
    .app .content .left .bottom .left .pre-header {
        gap: 0.5rem;
    }
    .app .content .left .bottom .left .pre-header .text {
        z-index: 1;
        display: flex;
        position: relative;
        visibility: hidden;
        align-items: center;
        justify-content: start;
    }
    .app .content .left .bottom .left .pre-header .text:after {
        position: absolute;
        visibility: visible;
    }
    .app .content .left .bottom .left:nth-of-type(1) .text:after {
        content: "func __after() {";
    }
    .app .content .block-bg-pattern-0_0 {
        margin-left: 48% !important;
        margin-top: -55% !important;
    }
    .app .content .block-bg-pattern-square {
        margin-left: 17% !important;
        margin-top: -55% !important;
    }
    .app .projects .block .top .left {
        gap: 1rem;
    }
    .app .projects .block .top .right {
        font-size: 150%;
    }
    .app .projects .block .bottom .grid .block .header {
        font-size: 120%;
    }
    .app .projects .block .bottom .grid .block .params {
        font-size: 85%;
    }
    .app .projects .block .bottom .grid .block .paragraph {
        font-size: 90%;
    }
}

@media screen and (max-width: 1100px) {
    .app {
        width: min(92%, 80rem);
    }
}

@media screen and (max-width: 999px) {
    .app .content {
        width: 60vw;
        margin: auto;
        height: auto;
        display: block;
    }
    .app .content .left .bottom .left:nth-of-type(1) .text:after {
        content: "func __afterMyWork() {";
    }
    .app .content .block .header {
        margin: 2% 0 4%;
    }
    .app .content .left .bottom {
        margin-bottom: 2rem;
    }
    .app .content .right {
        margin-bottom: 0.1rem;
        grid-template-rows: unset;
    }
    .app .projects {
        width: 90vw !important;
    }
    .app .projects .block {
        padding: 1.2rem;
    }
}

@media screen and (max-width: 800px) {
    .app .content .block:hover {
        transform: unset;
    }
    .app .content .left .bottom {
        display: block;
    }
    .app .content .left .bottom .right {
        gap: unset;
        height: 5rem;
        margin: 1rem auto auto;
        justify-content: space-between;
    }
    .app .content .left .bottom .right .block {
        width: unset;
        aspect-ratio: 1 / 0.65;
    }
}

@media screen and (max-width: 710px) {
    .app .content {
        width: 75vw;
    }
    .app .projects .block .top .right {
        font-size: 150%;
    }
    .app .projects .block .bottom .grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .app .projects .block .bottom .grid .block .header {
        margin: 0 0 2%;
        font-size: 120%;
    }
    .app .projects .block .bottom .grid .block .tags {
        margin-bottom: 0.5rem;
    }
    .app .projects .block .bottom .grid .block .params {
        margin-bottom: 0.7rem;
    }
}

@media screen and (max-width: 600px) {
    .app .content .left .top {
        gap: 1.5rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .app .content .left .top .block {
        padding: 8%;
        max-width: unset;
        grid-column: unset;
    }
    .app .content .left .top .block:nth-child(3) {
        padding: 4%;
        grid-column: span 2;
    }
    .app .content .left .top .block:nth-child(3) .header {
        margin: 0 0 2%;
    }
    .app .content .left .middle .buttons {
        width: unset;
        margin-top: 1rem;
    }
    .app .content .left .middle .buttons .button {
        margin: 1.5% 0 1.5% 0;
    }
    .app .content .right .top .block {
        width: unset;
        padding: 3.5%;
    }
    .app .projects .block .top .right {
        font-size: 130%;
    }
    .app .content .left .top .block:nth-of-type(3) .text {
        width: 100%;
    }
    .app .content .left .top .block:nth-of-type(3) .text:after {
        content: "func _getMyLearnedSkills() {";
    }
}

@media screen and (max-width: 520px) {
    .app .content .left .bottom .right .block {
        aspect-ratio: 1 / 0.8;
    }
    .app .projects .block .top .right {
        font-size: 130%;
    }
    .app .footer {
        width: 90%;
        margin: auto auto 3%;
    }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: portrait) {
    .app .content {
        margin-top: 25%;
        margin-bottom: 25%;
        position: relative;
    }
    .app .projects {
        margin-top: unset;
        margin-bottom: unset;
    }
}

@media screen and (max-width: 430px) {
    .app {
        width: unset;
    }
    .app .content {
        width: 90vw;
        padding: 6% 0;
    }
    .app .content .tags .tag, .app .content .tags .button,
    .app .content .buttons .tag,
    .app .content .buttons .button {
        font-size: 81%;
    }
    .app .content .left {
        display: block;
        margin-bottom: 1.5rem;
    }
    .app .content .left .top, .app .content .left .middle {
        margin-bottom: 1.5rem;
    }
    .app .content .right {
        gap: 1.5rem;
        grid-template-rows: unset;
        margin-bottom: unset;
    }
    .app .projects .block .top .left {
        margin-bottom: unset;
    }
    .app .projects .block .top .left .pre-header .text {
        z-index: 1;
        display: flex;
        position: relative;
        visibility: hidden;
    }
    .app .projects .block .top .left .pre-header .text:after {
        position: absolute;
        visibility: visible;
    }
    .app .projects .block .top .left:nth-of-type(1) .text:after {
        content: "func __getP() {";
    }
    .app .projects .block .top .right {
        font-size: 120%;
    }
}

@media screen and (max-width: 310px) {
    .app .content .left .bottom .right {
        height: 4rem;
    }
    .app .content .right .bottom .container:nth-child(4) .tag:last-child {
        max-width: 63%;
    }
    .app .content .right .bottom .container:nth-child(4) .tag:last-child .name {
        z-index: 1;
        display: flex;
        overflow: hidden;
        visibility: hidden;
        position: relative;
        white-space: nowrap;
        pointer-events: none;
    }
    .app .content .right .bottom .container:nth-child(4) .tag:last-child .name:after {
        position: absolute;
        visibility: visible;
        content: "VPS/VDS, Web Hosting";
    }
    .app .content .right .bottom .container:nth-child(4) .tag:last-child .icon {
        min-width: var(--icon-width);
        min-height: var(--icon-height);
    }
}

@keyframes move {
    to {
        background-position: var(--bg-size) 0;
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(0.94) translateY(12px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 900px) {
    .app .block {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background:
            linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
            linear-gradient(145deg, #13151c 0%, #0c0e14 100%);
    }

    .timeline-content-block {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #12141c;
    }

}

@media (prefers-reduced-motion: reduce) {
    .app .block,
    .app .block:hover,
    .app .tags .tag,
    .app .tags .button,
    .app .buttons .tag,
    .app .buttons .button,
    .app .projects .filter-button {
        transition-duration: 0.01ms !important;
    }

    .app .block:hover {
        transform: none;
    }

    .app,
    .app .footer {
        animation: none;
    }
}


@media screen and (min-width: 1000px) {
    body.stats-page {
        overflow: hidden;
        height: 100vh;
    }

    .stats-app {
        height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding-bottom: 0;
    }

    .stats-app > .stats-board.page-panel {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .stats-app .stats-board .content.stats-content {
        flex: 1;
        min-height: 0;
        height: auto;
        padding: 0 0 1rem;
        gap: 0.75rem;
        align-items: stretch;
        grid-template-rows: auto 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    }

    .stats-charts-row {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(260px, 1fr) minmax(220px, 1fr) minmax(220px, 1fr);
        gap: 1rem;
        min-height: 280px;
    }

    .stats-intro {
        flex-shrink: 0;
        margin-bottom: 0.35rem;
    }

    .stats-kpi {
        margin-bottom: 0;
        gap: 0.75rem;
    }

    .stats-kpi-card {
        padding: 0.75rem 1rem;
    }

    .stats-kpi-value {
        font-size: 1.5rem;
    }

    .stats-kpi-card .pre-header .text {
        font-size: 0.65rem;
    }

    .stats-left,
    .stats-right {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .stats-chart-block,
    .stats-list-block {
        padding: 1rem 1.25rem;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .stats-charts-row .stats-chart-block {
        min-width: 0;
        min-height: 280px;
    }

    .stats-chart-block .header,
    .stats-list-block .header {
        margin-bottom: 0.35rem;
        font-size: 0.95rem;
    }

    .stats-chart-block .pre-header,
    .stats-list-block .pre-header {
        margin-bottom: 0.25rem;
    }

    .stats-chart-block .pre-header .text,
    .stats-list-block .pre-header .text {
        font-size: 0.7rem;
    }

    .stats-chart {
        flex: 1;
        min-height: 240px;
        margin-top: 0.25rem;
    }

    .stats-chart-donut {
        min-height: 240px;
    }

    .stats-list {
        flex: 1;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
    }

    .stats-list-item {
        padding: 0.4rem 0;
        font-size: 0.82rem;
    }

    .stats-app .footer {
        flex-shrink: 0;
        padding-bottom: 0.5rem;
    }

    .stats-app .footer .copyright {
        font-size: 0.75rem;
    }
}

.stats-app .content {
    align-items: start;
}

.stats-kpi {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 0.5rem;
}

.stats-kpi-card {
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.stats-kpi-card .pre-header .text {
    font-size: 0.7rem;
}

.stats-kpi-value {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--color-rgb-one), var(--color-rgb-two));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stats-kpi-card .paragraph {
    font-size: 0.85rem;
    color: var(--color-pre-headers);
}

.stats-chart-block,
.stats-list-block {
    padding: 1.25rem 1.5rem;
}

.stats-chart {
    min-height: 200px;
    margin-top: 0.75rem;
}

.stats-chart-donut {
    min-height: 220px;
}

.stats-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
}

.stats-list-item {
    display: grid;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 0.9rem;
}

.stats-list-item:last-child {
    border-bottom: none;
}

.stats-top-visitors .stats-list-item {
    grid-template-columns: 2rem 1fr auto;
}

.stats-rank {
    font-family: InterSamiBold, sans-serif;
    color: var(--color-rgb-one);
    font-size: 0.85rem;
}

.stats-ip {
    color: var(--color-headers);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stats-count {
    color: var(--color-pre-headers);
    font-variant-numeric: tabular-nums;
}

.stats-recent .stats-list-item {
    grid-template-columns: 1fr auto auto;
}

.stats-time {
    font-size: 0.8rem;
    color: var(--color-pre-headers);
    font-variant-numeric: tabular-nums;
}

.stats-list-empty {
    color: var(--color-pre-headers);
    font-style: italic;
}

.stats-left,
.stats-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media screen and (max-width: 999px) {
    .stats-charts-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .stats-kpi {
        grid-template-columns: 1fr;
    }

    .stats-kpi-value {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 600px) {
    .stats-intro__title {
        font-size: 1.2rem;
    }

    .stats-chart-block .header,
    .stats-list-block .header {
        font-size: 1rem;
    }
}

.app.app--home {
    --icon-width: 1.125rem;
    --icon-height: 1.125rem;
}

.home-hero {
    position: relative;
    padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(1.75rem, 4vw, 2.5rem);
}

.home-chess {
    position: absolute;
    right: -2rem;
    top: 0;
    width: min(12rem, 55vw);
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}

.home-chess .chessboard {
    margin: 0;
    transform: rotate(11deg);
}

.home-hero > :not(.home-chess) {
    position: relative;
    z-index: 1;
}

.home-kicker {
    font-size: 0.72rem;
    font-family: InterSamiBold, system-ui, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-pre-headers);
    margin: 0 0 0.85rem;
}

.home-title {
    font-family: Syne, InterSamiBold, system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 4.5vw + 0.5rem, 2.85rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--color-headers);
    margin: 0 0 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
}

.home-title .rgb {
    --bg-size: 400%;
    display: inline-block;
    color: transparent;
    animation: move 8s linear infinite;
    background: linear-gradient(90deg, var(--color-rgb-one), var(--color-rgb-two), var(--color-rgb-one)) 0 0 / var(--bg-size) 100%;
    -webkit-background-clip: text;
    background-clip: text;
}

.app.app--home .hero-hat {
    width: clamp(1.5rem, 4vw, 2rem);
    height: clamp(1.5rem, 4vw, 2rem);
    flex-shrink: 0;
    vertical-align: middle;
}

.home-stack {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.5rem;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-family: InterSamiBold, sans-serif;
    color: var(--color-paragraphs);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-chip__ic {
    width: 1rem;
    height: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
}

.home-chip--sm {
    font-size: 0.74rem;
    padding: 0.32rem 0.55rem;
}

.home-chip--sm .home-chip__ic {
    width: 0.9rem;
    height: 0.9rem;
}

.home-lead {
    font-size: clamp(0.98rem, 0.35vw + 0.9rem, 1.075rem);
    line-height: 1.68;
    color: var(--color-paragraphs);
    margin: 0 0 1.35rem;
    max-width: min(40rem, 100%);
}

.app.app--home .home-actions.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    align-self: stretch;
    z-index: 2;
}

.app.app--home .home-actions .button {
    margin: 0;
    min-height: 2.75rem;
    padding: 0.5rem 1.15rem;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-headers);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.app.app--home .home-actions .button:hover {
    transform: none;
    border-color: rgba(129, 140, 248, 0.35);
    background: rgba(129, 140, 248, 0.12);
    box-shadow: none;
}

.app.app--home .home-actions .button:first-child {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.95), rgba(99, 102, 241, 0.88));
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    box-shadow: 0 8px 24px -10px rgba(99, 102, 241, 0.45);
}

.app.app--home .home-actions .button:first-child:hover {
    filter: brightness(1.05);
}

.app.app--home .home-actions .button:first-child .icon {
    filter: brightness(0) invert(1);
}

.app.app--home .home-actions .button:nth-child(2) {
    border-color: rgba(129, 140, 248, 0.25);
}

.app.app--home .home-actions .button:nth-child(3) {
    background: transparent;
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.28);
}

.app.app--home .home-actions .button .icon {
    filter: brightness(0) saturate(100%) invert(78%) sepia(8%) saturate(1200%) hue-rotate(202deg) brightness(98%) contrast(94%);
}

.app.app--home .home-actions .button:first-child .icon {
    filter: brightness(0) invert(1);
}

.home-metrics {
    list-style: none;
    margin: 0;
    padding: 1.35rem 0 1.75rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media screen and (min-width: 720px) {
    .home-metrics__item {
        padding: 0.65rem 0.85rem;
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-sizing: border-box;
    }
}

.home-metrics__value {
    display: block;
    font-family: Syne, InterSamiBold, sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 3.5vw, 1.65rem);
    letter-spacing: -0.02em;
    background: linear-gradient(100deg, var(--color-rgb-one), var(--color-rgb-two));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-metrics__label {
    display: block;
    font-size: 0.78rem;
    color: var(--color-pre-headers);
    margin-top: 0.25rem;
    line-height: 1.35;
}

.home-section {
    padding: clamp(1.75rem, 4vw, 2.35rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-section:last-of-type {
    border-bottom: none;
}

.home-heading {
    font-family: Syne, InterSamiBold, sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--color-headers);
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem;
}

.home-copy {
    font-size: clamp(0.92rem, 0.25vw + 0.88rem, 0.98rem);
    line-height: 1.65;
    color: var(--color-paragraphs);
    margin: 0 0 1rem;
    max-width: min(40rem, 100%);
}

.home-copy--tight {
    margin-bottom: 0.75rem;
}

.home-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-family: InterSamiBold, sans-serif;
    color: var(--color-rgb-one);
    text-decoration: none;
    border-bottom: 1px solid rgba(129, 140, 248, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.home-cta:hover {
    color: #c4b5fd;
    border-color: rgba(192, 132, 252, 0.45);
}

.home-cta__arrow {
    transition: transform 0.2s var(--ease-out-expo);
}

.home-cta:hover .home-cta__arrow {
    transform: translateX(3px);
}

.home-skill-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
    margin-top: 0.35rem;
}

.home-subheading {
    font-size: 0.68rem;
    font-family: InterSamiBold, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-pre-headers);
    margin: 0 0 0.65rem;
}

.home-chip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.45rem;
}

.home-section--outcome .home-outcome-stats {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-outcome-stats__item {
    text-align: center;
    padding: 0.35rem 0;
}

.home-outcome-stats__n {
    display: block;
    font-family: InterSamiBold, sans-serif;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--color-rgb-one), var(--color-rgb-two));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-outcome-stats__k {
    display: block;
    font-size: 0.72rem;
    color: var(--color-pre-headers);
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media screen and (max-width: 719px) {
    .home-metrics {
        display: flex;
        overflow-x: auto;
        touch-action: pan-x;
        gap: 0.75rem;
        padding: 1.15rem 0 1.5rem;
        margin: 0 calc(-0.25rem);
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .home-metrics::-webkit-scrollbar {
        display: none;
    }

    .home-metrics__item {
        flex: 0 0 min(11.5rem, 78vw);
        scroll-snap-align: start;
        padding: 0.85rem 1rem;
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-sizing: border-box;
    }

    .home-skill-grid {
        grid-template-columns: 1fr;
    }

    .home-section--outcome .home-outcome-stats {
        grid-template-columns: 1fr;
    }

    .content.home-flow.page-panel {
        padding: clamp(1.25rem, 5vw, 1.75rem) clamp(1rem, 4vw, 1.25rem) clamp(1.75rem, 5vw, 2.25rem);
        border-radius: var(--radius-lg);
    }
}

@media screen and (max-width: 430px) {
    .content.home-flow.page-panel {
        max-width: none;
        width: 100%;
    }

    .home-stack {
        gap: 0.4rem;
    }

    .home-chip {
        font-size: 0.74rem;
        padding: 0.38rem 0.62rem;
    }
}

.app.app--projects .projects {
    width: 100% !important;
}

.app.app--projects .projects .block {
    padding: clamp(1.15rem, 2.5vw, 1.5rem);
    box-sizing: border-box;
}

.app.app--projects .projects .block .bottom .grid {
    gap: clamp(1rem, 2.2vw, 1.35rem);
}

@media screen and (max-width: 900px) {
    .app.app--projects .projects .block .bottom .grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.app.app--timeline .content.timeline-page-content.page-panel > .block {
    max-width: 44rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.app.stats-app .stats-board .content.stats-content {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

