@font-face {
    font-family: 'Engravers MT';
    src: url('assets/fonts/engravers-mt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('assets/fonts/Satoshi-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #333333;
    --hover-color: #ffffff;
    --font-satoshi: 'Satoshi', sans-serif;
    --font-default: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --grid-lines: 7;
    --grid-line: 1px;
    --grid-color: rgba(255, 255, 255, 0.03);
    --grid-margin: 2rem;
}

.font-satoshi {
    font-family: var(--font-satoshi);
}

body {
    font-family: var(--font-satoshi);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: var(--grid-margin);
    right: var(--grid-margin);
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    width: calc(100% - var(--grid-margin) * 2);
    background-image:
        repeating-linear-gradient(
            90deg,
            var(--grid-color) 0,
            var(--grid-color) var(--grid-line),
            transparent var(--grid-line),
            transparent calc(100% / 6)
        ),
        linear-gradient(
            90deg,
            transparent calc(100% - var(--grid-line)),
            var(--grid-color) calc(100% - var(--grid-line)),
            var(--grid-color) 100%
        );
    background-size: 100% 100%, 100% 100%;
    background-position: 0 0, 0 0;
}

body > *:not(.loader):not(.nav) {
    position: relative;
    z-index: 1;
}

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.loader--done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
    animation: loaderLogo 1.4s ease-out forwards;
}

@keyframes loaderLogo {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    40% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    box-shadow: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-color);
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-logo:hover {
    opacity: 0.7;
}

.logo-img,
.logo-svg {
    height: 32px;
    width: auto;
    display: block;
}

.logo-img {
    filter: brightness(0) invert(1);
}

.nav-logo:hover .logo-img {
    opacity: 0.8;
}

.logo-svg {
    color: var(--text-color);
    fill: currentColor;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
    position: relative;
    opacity: 0.3;
}

.nav-menu a.active {
    opacity: 1;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.nav-menu a.active:hover {
    opacity: 1;
}

main {
    margin-top: 80px;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin-top: -80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
}

.hero-image-wrap {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
}

body.hero-ready .hero-image-wrap {
    animation: heroImageIn 0.9s ease-out forwards;
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-color) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

@keyframes heroImageIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-headline {
    font-family: 'Engravers MT', serif;
    font-size: 5rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--text-color);
    text-align: center;
    display: inline-block;
}

.hero-headline .hero-line {
    display: block;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-28px);
}

.hero-line--mobile {
    display: none !important;
}

.hero-line--desktop {
    display: block !important;
}

.hero-headline .hero-char {
    display: inline-block;
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.hero-content.hero-scatter .hero-headline .hero-char {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.hero-ready .hero-headline .hero-line {
    animation: heroLineDown 0.7s ease-out forwards;
}

body.hero-ready .hero-headline .hero-line:nth-child(1) { animation-delay: 0.5s; }
body.hero-ready .hero-headline .hero-line:nth-child(2) { animation-delay: 0.75s; }
body.hero-ready .hero-headline .hero-line:nth-child(3) { animation-delay: 1s; }
body.hero-ready .hero-headline .hero-line:nth-child(4) { animation-delay: 1.25s; }
body.hero-ready .hero-headline .hero-line:nth-child(5) { animation-delay: 1.5s; }
body.hero-ready .hero-headline .hero-line:nth-child(6) { animation-delay: 1.75s; }

@keyframes heroLineDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll-wrap {
    display: none;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    flex-direction: column;
    align-items: center;
}

.hero-scroll-line {
    display: block;
    width: 1px;
    height: 140px;
    background: var(--text-color);
    border-radius: 1px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    animation: heroScrollBounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
    opacity: 1;
}

.hero-scroll-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-scroll-target {
    display: block;
    position: relative;
    height: 0;
    top: -1px;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.hero-gallery-section {
    width: 100%;
    padding: 4rem 0;
}

.hero-gallery-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0;
    margin: 0 0 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 2rem;
}

.hero-gallery:active {
    cursor: grabbing;
}

.hero-gallery::-webkit-scrollbar {
    display: none;
}


.hero-gallery-item {
    flex: 0 0 auto;
    width: 800px;
    height: 500px;
    aspect-ratio: 8/5;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 8px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
}

.hero-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-behance {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-behance:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.gallery-bar + .btn-behance {
    margin-top: 24px;
}

.projects {
    width: 100%;
    margin: 0 auto;
    padding: 4rem 0;
}

.project-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.project-tab {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem 0;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.project-tab:hover {
    opacity: 0.7;
}

.project-tab.active {
    opacity: 1;
}

.project-tab--hidden {
    display: none;
}

.project {
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project.is-hidden {
    display: none;
}

.project.limit-hidden {
    display: none;
}

.project-divider {
    border: none;
    height: 0;
    border-top: 0.5px solid var(--border-color);
    max-width: 1200px;
    margin: 3rem auto;
    width: calc(100% - 4rem);
}

.see-all-wrap {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 2rem 2rem 0;
}

.see-all-wrap.is-hidden {
    display: none;
}

.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: opacity 0.3s ease;
}

.btn-see-all:hover {
    opacity: 0.7;
}

.btn-see-all-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-see-all.expanded .btn-see-all-icon {
    transform: rotate(180deg);
}

.project:last-child {
    margin-bottom: 0;
}

.project-header {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.project-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.project-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    max-width: 700px;
}

.project-tags {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.3;
}

.project-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 1.5rem;
    margin: 0 auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    cursor: grab;
    user-select: none;
    max-width: 1200px;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 2rem;
    overscroll-behavior-x: contain;
}

.project-gallery:active {
    cursor: grabbing;
}

.project-gallery::-webkit-scrollbar {
    display: none;
}

.gallery-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: 1.5rem 0 0;
    margin-top: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-gallery {
    margin-bottom: 0;
}
.gallery-bar--project {
    margin-top: 0;
}

.gallery-counter {
    font-size: 0.8rem;
    color: var(--text-color);
}

.gallery-counter-current {
    color: var(--text-color);
    font-weight: 600;
}

.gallery-counter-total {
    color: var(--text-secondary);
    opacity: 0.8;
}


.project-image {
    flex: 0 0 auto;
    width: 800px;
    height: 500px;
    aspect-ratio: 8/5;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: grab;
    object-fit: cover;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin: 0 2rem;
}

.project-image:hover {
    transform: scale(1.02);
}

.project-image:hover {
    transform: none;
    box-shadow: none;
}

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

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.page-about main,
body.page-contact main {
    opacity: 0;
    transform: translateY(20px);
    animation: pageEnter 0.5s ease-out forwards;
}

.page-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.page-content {
    max-width: 700px;
}

.page-title {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.contact-page .page-title {
    margin-bottom: 2rem;
}

.about-text p,
.contact-page .contact-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-text p:last-child,
.contact-page .contact-intro:last-of-type {
    margin-bottom: 0;
}

.about-buttons,
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cv svg,
.btn-behance-icon svg {
    flex-shrink: 0;
}

.btn-behance-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    border-top: 1px solid var(--border-color);
}

.contact-content {
    max-width: 800px;
}

.contact-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-value:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-line--desktop {
        display: none !important;
    }

    .hero-line--mobile {
        display: block !important;
        white-space: nowrap;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .hero {
        padding: 4rem 1.5rem 3rem;
        min-height: 100vh;
    }

    .hero-image {
        object-position: right center;
    }

    .hero-headline {
        font-size: 3.9rem;
        line-height: 1.05;
    }

    body.hero-ready .hero-headline .hero-line:nth-child(4) { animation-delay: 0.75s; }
    body.hero-ready .hero-headline .hero-line:nth-child(5) { animation-delay: 1s; }
    body.hero-ready .hero-headline .hero-line:nth-child(6) { animation-delay: 1.25s; }

    .hero-description {
        font-size: 1rem;
    }

    .projects {
        padding: 3rem 0;
    }

    .project {
        margin-bottom: 5rem;
    }

    .project-title,
    .page-title {
        font-size: 1.5rem;
    }

    .project-gallery {
        gap: 1rem;
        padding: 1.5rem 1rem;
        scroll-padding: 0 1rem;
    }

    .gallery-bar--project {
        padding: 1.5rem 1rem 0;
        max-width: none;
    }

    .project-image {
        width: 85vw;
        min-width: 300px;
        height: auto;
        aspect-ratio: 8/5;
        scroll-margin: 0 1rem;
    }

    .contact {
        padding: 4rem 1.5rem 3rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .hero-gallery-item {
        width: 85vw;
        min-width: 300px;
        height: auto;
        aspect-ratio: 8/5;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero-image {
        object-position: right center;
    }

    .hero-headline {
        font-size: 2.9rem;
        line-height: 1.05;
    }

    body.hero-ready .hero-headline .hero-line:nth-child(4) { animation-delay: 0.75s; }
    body.hero-ready .hero-headline .hero-line:nth-child(5) { animation-delay: 1s; }
    body.hero-ready .hero-headline .hero-line:nth-child(6) { animation-delay: 1.25s; }

    .project-title,
    .page-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 769px) {
    .hero-line--mobile {
        display: none !important;
    }

    .hero-line--desktop {
        display: block !important;
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal--up {
    transform: translateY(-28px);
}

.scroll-reveal--up.is-visible {
    transform: translateY(0);
}

.site-footer {
    padding: 4rem 2rem 3rem;
    margin-top: 0;
}

.footer-tagline {
    font-family: var(--font-satoshi), 'Satoshi', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--text-color);
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 800px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    transform: rotate(-2.5deg);
}

.footer-tagline-bold {
    font-weight: 700;
}

.footer-block {
    max-width: 1400px;
    margin: 0 auto;
    background: #16E087;
    border-radius: 50px;
    padding: 3.5rem 4rem 2.75rem;
    color: #000;
    overflow: hidden;
    transform: rotate(-2.5deg);
}

.footer-repeat {
    width: calc(100% + 8rem);
    margin-left: -4rem;
    margin-right: -4rem;
    overflow: hidden;
    font-family: 'Engravers MT', serif;
    font-size: 52px;
    font-weight: 400;
    margin-bottom: 2.75rem;
    letter-spacing: 0.01em;
}

.footer-repeat-inner {
    display: inline-block;
    white-space: nowrap;
    margin-left: 50%;
    transform: translateX(calc(-50% + -120px));
}

.footer-repeat-inner span {
    margin-right: 0.5em;
}

.footer-repeat-inner span:last-child {
    margin-right: 0;
}

.footer-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.75rem;
}

.footer-social {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.footer-social a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.65;
}

.footer-email-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #000;
    border: 1px solid #000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.footer-email-wrap .material-symbols-outlined {
    font-size: 1.25rem;
    font-variation-settings: 'FILL' 1;
    flex-shrink: 0;
}

.footer-email-wrap:hover {
    background: #000;
    color: #fff;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0);
}

@media (max-width: 768px) {
    .footer-block {
        border-radius: 60px;
        padding: 2.5rem 1.5rem 2rem;
    }

    .footer-repeat {
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .footer-middle {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-repeat-inner span {
        margin-right: 0.75rem;
    }
}

body.invert-experiment {
    --bg-color: #ffffff;
    --text-color: #000000;
    --text-secondary: #606060;
    --border-color: #cccccc;
    --hover-color: #000000;
}
body.invert-experiment .nav {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: none;
}
body.invert-experiment .loader-logo,
body.invert-experiment .nav .logo-img {
    filter: brightness(0);
}

body.page-about,
body.page-contact {
    --bg-color: #ffffff;
    --text-color: #000000;
    --text-secondary: #606060;
    --border-color: #cccccc;
    --hover-color: #000000;
}
body.page-about .nav,
body.page-contact .nav {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: none;
}
body.page-about .nav .logo-img,
body.page-contact .nav .logo-img {
    filter: brightness(0);
}

body.page-about::before,
body.page-contact::before,
body.invert-experiment::before {
    --grid-color: rgba(0, 0, 0, 0.03);
}
