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

:root {
    --contact-section-index: 0;
    --contact-track-y: 0dvh;
    --contact-transition: 860ms cubic-bezier(0.16, 1, 0.3, 1);
    --contact-link-red: #D32F2F;
    --contact-link-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

header {
    font-family: var(--font-acumin);
    font-weight: 200;
    font-style: italic;
}

header nav ul li a {
    font-style: normal;
    font-weight: 400;
    color: #000000 !important;
}

header nav ul li:last-child a {
    color: var(--site-chrome-active, #b20f18) !important;
    font-style: italic;
    font-weight: 200;
}

body.site-chrome-dark header nav ul li,
body.site-chrome-dark header nav ul li a {
    color: #ffffff !important;
}

body.site-chrome-light header nav ul li,
body.site-chrome-light header nav ul li a {
    color: #000000 !important;
}

body.site-chrome-dark header nav ul li:last-child a,
body.site-chrome-light header nav ul li:last-child a {
    color: var(--site-chrome-active, #b20f18) !important;
}

.contact-card-nav-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}

.contact-card-nav-full {
    display: inline-block;
}

.contact-card-nav-word {
    display: none;
}

@keyframes contactNavWordReveal {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }

    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

body {
    overflow-x: hidden;
}

.contact-page {
    position: relative;
}

.contact-screen-track {
    width: 100%;
}

.mobile-contact-screen,
.mobile-intro-caption {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.first {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 20px 60px;
    font-family: var(--font-acumin);
    text-align: center;
}

.center-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

video {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 12px;
}

.vizitka-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    align-items: center;
}

.left-side {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.aspan-experimental {
    font-size: clamp(1rem, 2vw, 24px);
    font-weight: 200;
    text-transform: uppercase;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.cooperate-link {
    font-family: var(--font-acumin);
    font-size: 14px;
    font-weight: 200;
    text-transform: uppercase;
    color: #D32F2F;
    text-decoration: none;
    letter-spacing: 0.05em;
    animation: blink 2s infinite;
    transition: color 0.3s ease;
}

.cooperate-link:hover {
    color: var(--contact-link-red);
    animation: none;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.right-side {
    display: flex;
    align-items: center;
    justify-content: center;
}

address {
    font-style: normal;
    font-size: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

address a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

address a:hover {
    color: var(--contact-link-red);
}

.second {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 60px 20px;
    margin-top: clamp(90px, 12vh, 160px);
    font-family: var(--font-acumin);
    text-align: center;
}

.social-title {
    font-size: clamp(2rem, 5vw, 48px);
    font-weight: 200;
    text-transform: uppercase;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.social-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
}

.social-links li {
    text-transform: uppercase;
}

.social-links a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 200;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--contact-link-red);
}

.contact-page .cooperate-link,
.contact-page address a,
.contact-page .social-links a {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
    transition: color 220ms var(--contact-link-ease), transform 0.08s ease, opacity 0.8s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.contact-page .contact-link-text {
    display: inline-block;
}

.contact-page .cooperate-link::before,
.contact-page .cooperate-link::after,
.contact-page address a::before,
.contact-page address a::after,
.contact-page .social-links a::before,
.contact-page .social-links a::after {
    display: inline-block;
    max-width: 0;
    color: currentColor;
    opacity: 0;
    overflow: hidden;
    transition:
        max-width 320ms var(--contact-link-ease),
        opacity 180ms ease-out;
    will-change: max-width, opacity;
}

.contact-page .cooperate-link::before,
.contact-page address a::before,
.contact-page .social-links a::before {
    content: "}";
}

.contact-page .cooperate-link::after,
.contact-page address a::after,
.contact-page .social-links a::after {
    content: "{";
}

.contact-page .cooperate-link.is-active,
.contact-page .cooperate-link:focus-visible,
.contact-page address a.is-active,
.contact-page address a:focus-visible,
.contact-page .social-links a.is-active,
.contact-page .social-links a:focus-visible {
    color: var(--contact-link-red);
}

.contact-page .cooperate-link.is-active,
.contact-page .cooperate-link:focus-visible {
    animation: none;
}

.contact-page .cooperate-link.is-active::before,
.contact-page .cooperate-link.is-active::after,
.contact-page .cooperate-link:focus-visible::before,
.contact-page .cooperate-link:focus-visible::after,
.contact-page address a.is-active::before,
.contact-page address a.is-active::after,
.contact-page address a:focus-visible::before,
.contact-page address a:focus-visible::after,
.contact-page .social-links a.is-active::before,
.contact-page .social-links a.is-active::after,
.contact-page .social-links a:focus-visible::before,
.contact-page .social-links a:focus-visible::after {
    max-width: 1ch;
    opacity: 1;
}

.contact-page .cooperate-link.is-active .contact-link-text,
.contact-page .cooperate-link:focus-visible .contact-link-text,
.contact-page address a.is-active .contact-link-text,
.contact-page address a:focus-visible .contact-link-text,
.contact-page .social-links a.is-active .contact-link-text,
.contact-page .social-links a:focus-visible .contact-link-text {
    animation: contactLinkTextBlink 1.15s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
    .contact-page .cooperate-link:hover,
    .contact-page address a:hover,
    .contact-page .social-links a:hover {
        color: var(--contact-link-red);
    }

    .contact-page .cooperate-link:hover::before,
    .contact-page .cooperate-link:hover::after,
    .contact-page address a:hover::before,
    .contact-page address a:hover::after,
    .contact-page .social-links a:hover::before,
    .contact-page .social-links a:hover::after {
        max-width: 1ch;
        opacity: 1;
    }

    .contact-page .cooperate-link:hover .contact-link-text,
    .contact-page address a:hover .contact-link-text,
    .contact-page .social-links a:hover .contact-link-text {
        animation: contactLinkTextBlink 1.15s ease-in-out infinite;
    }
}

@keyframes contactLinkTextBlink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.32;
    }
}

/* Footer style */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 30vh;
    padding: 80px 20px 120px;
    font-family: var(--font-acumin);
    text-align: center;
    margin-top: 80px;
    gap: 40px;
}

.footer nav ul {
    display: flex;
    gap: 60px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer p {
    font-size: 12px;
    color: #666666;
    font-weight: 200;
    margin: 0;
}

.site-copyright {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #000000;
    text-align: center;
    padding: 20px 15px;
    text-decoration: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    z-index: 40;
}

.site-copyright-text {
    display: inline;
}

/* ===== MOBILE SCROLL CONTROL BUTTON ===== */
.mobile-scroll-control {
    display: none;
    position: fixed;
    left: 50%;
    bottom: calc(70px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 45;
    padding: 0;
    margin: 0;
}

.scroll-down-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-acumin);
    font-size: clamp(28px, 6vw, 42px);
    font-weight: 200;
    font-style: normal;
    line-height: 1;
    color: #000000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    -webkit-tap-highlight-color: transparent;
}

.scroll-down-btn:hover:not(:disabled) {
    opacity: 0.7;
}

.scroll-down-btn:active:not(:disabled) {
    opacity: 0.9;
}

.scroll-down-btn:disabled {
    opacity: 0.15;
    cursor: default;
    pointer-events: none;
}

.scroll-arrows {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(2px, 0.8vw, 7px);
    letter-spacing: 0;
    opacity: 1;
    animation: arrows-move-down 1.2s ease-in-out infinite;
    transition: opacity 180ms ease;
}

.scroll-down-btn.is-changing-direction .scroll-arrows {
    opacity: 0;
}

.scroll-down-btn[data-scroll-direction="up"] .scroll-arrows {
    animation-name: arrows-move-up;
}

.scroll-arrows span {
    display: block;
    transform: rotate(0deg);
    transform-origin: center center;
}

.scroll-down-btn[data-scroll-direction="up"] .scroll-arrows span {
    transform: rotate(180deg);
}

@keyframes arrows-move-down {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

@keyframes arrows-move-up {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Blink animation for nav link at bottom */
@keyframes navLinkBottomBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.18;
    }
}

.nav-link-bottom-active {
    animation: navLinkBottomBlink 1s ease-in-out infinite !important;
}

header nav ul li:last-child a.nav-link-bottom-active {
    animation: navLinkBottomBlink 1s ease-in-out infinite !important;
}

/* ========== RESPONSIVE ========== */

@media (min-width: 1025px) {
    .mobile-scroll-control {
        display: none !important;
    }

    .second {
        padding-bottom: 44vh;
    }
}

@media (max-width: 1024px) {
    html.contact-controlled-scroll,
    html.contact-controlled-scroll body {
        height: 100%;
        overflow: hidden;
        overscroll-behavior: none;
    }

    body.contact-controlled-scroll {
        position: fixed;
        inset: 0;
        width: 100%;
        touch-action: none;
    }

    html.contact-controlled-scroll .contact-page {
        height: 100svh;
        height: 100dvh;
        overflow: hidden;
    }

    html.contact-controlled-scroll .contact-screen-track {
        height: 100svh;
        height: 100dvh;
        transform: translate3d(0, var(--contact-track-y), 0);
        transition: transform var(--contact-transition);
        will-change: transform;
    }

    .contact-screen {
        width: 100%;
        min-height: 100svh;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: calc(var(--header-height) + env(safe-area-inset-top) + 18px) clamp(22px, 5vw, 64px) calc(132px + env(safe-area-inset-bottom));
        font-family: var(--font-acumin);
        text-align: center;
    }

    html.contact-controlled-scroll .contact-screen {
        height: 100svh;
        height: 100dvh;
    }

    .first {
        padding: calc(var(--header-height) + env(safe-area-inset-top) + 18px) clamp(22px, 5vw, 64px) calc(132px + env(safe-area-inset-bottom));
        min-height: 100svh;
        min-height: 100dvh;
    }

    .vizitka-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: min(84vw, 520px);
        height: auto;
        align-items: center;
        justify-content: center;
        gap: clamp(14px, 2.4vh, 24px);
    }

    .right-side {
        display: none;
    }

    .left-side {
        display: flex;
        order: 2;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .left-content {
        gap: clamp(8px, 1.6vh, 14px);
    }

    .aspan-experimental {
        font-size: clamp(12px, 2.2vw, 18px);
        line-height: 1.25;
    }

    .cooperate-link {
        font-size: clamp(11px, 1.5vw, 14px);
    }

    .center-video {
        order: 1;
        width: min(68vw, 460px);
        gap: 0;
    }

    video {
        width: 100%;
        max-width: min(68vw, 460px);
        height: auto;
        border-radius: 12px;
    }

    .mobile-intro-caption {
        display: none;
        max-width: min(76vw, 560px);
        font-size: clamp(13px, 2.2vw, 20px);
        font-weight: 200;
        line-height: 1.35;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .mobile-contact-screen {
        display: flex;
    }

    .mobile-contact-address {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(16px, 3vh, 28px);
        max-width: min(82vw, 720px);
        font-size: clamp(13px, 2vw, 18px);
        line-height: 1.45;
        text-align: center;
    }

    .mobile-contact-address a {
        color: #000000;
        text-decoration: none;
    }

    .second {
        min-height: 100svh;
        min-height: 100dvh;
        margin-top: 0;
        padding: calc(var(--header-height) + env(safe-area-inset-top) + 18px) clamp(22px, 5vw, 64px) calc(132px + env(safe-area-inset-bottom));
    }

    .social-title {
        font-size: clamp(28px, 6vw, 56px);
        margin-bottom: clamp(36px, 6vh, 72px);
    }

    .social-links {
        max-width: min(82vw, 760px);
        gap: clamp(20px, 3vw, 36px);
        align-items: center;
    }

    .social-links a {
        font-size: clamp(14px, 1.8vw, 18px);
    }

    .site-copyright {
        font-size: clamp(9px, 1.4vw, 12px);
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        background: transparent;
    }

    .mobile-scroll-control {
        display: flex;
    }

    .scroll-down-btn {
        min-width: 48px;
        min-height: 44px;
    }

    .scroll-down-btn:disabled .scroll-arrows {
        animation: none;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .first {
        padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 14px);
        padding-bottom: calc(124px + env(safe-area-inset-bottom));
    }

    .vizitka-container {
        max-width: min(82vw, 360px);
        gap: clamp(12px, 2vh, 18px);
    }

    .center-video {
        width: min(74vw, 320px);
    }

    video {
        max-width: min(74vw, 320px);
    }

    .left-content {
        gap: clamp(8px, 1.5vh, 12px);
    }

    .aspan-experimental {
        font-size: clamp(11px, 3vw, 13px);
        line-height: 1.18;
    }

    .cooperate-link {
        font-size: clamp(10px, 2.8vw, 12px);
        line-height: 1.15;
    }
}

@media (max-width: 768px) {
    header nav ul {
        flex-wrap: nowrap;
        align-items: center;
    }

    header nav ul li {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .contact-card-nav-link {
        display: inline-flex;
        align-items: center;
        width: 9.2ch;
        line-height: 1;
        overflow: hidden;
        white-space: nowrap;
        vertical-align: middle;
    }

    .contact-card-nav-full {
        display: none;
    }

    .contact-card-nav-word {
        display: inline-block;
        line-height: 1;
        color: currentColor;
        white-space: nowrap;
        clip-path: inset(0 0 0 0);
        will-change: clip-path, opacity;
    }

    .contact-card-nav-word.is-revealing {
        animation: contactNavWordReveal 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
    }
}

@media (max-width: 600px) {
    header nav ul {
        flex-wrap: nowrap;
        gap: clamp(5px, 1.7vw, 9px);
    }

    header nav ul li {
        flex: 0 0 auto;
    }

    .contact-screen,
    .first,
    .second {
        padding: calc(var(--header-height) + env(safe-area-inset-top) + 14px) clamp(18px, 6vw, 28px) calc(124px + env(safe-area-inset-bottom));
    }

    .vizitka-container {
        max-width: min(82vw, 360px);
        gap: clamp(12px, 2vh, 18px);
    }

    .center-video {
        width: min(74vw, 320px);
    }

    video {
        max-width: min(74vw, 320px);
    }

    .aspan-experimental {
        font-size: clamp(11px, 3vw, 13px);
    }

    .cooperate-link {
        font-size: clamp(10px, 2.8vw, 12px);
    }

    .mobile-contact-address {
        max-width: 84vw;
        font-size: clamp(11px, 3.5vw, 14px);
        gap: clamp(13px, 3vh, 22px);
    }

    .contact-page .mobile-contact-address a {
        max-width: 100%;
        white-space: normal;
    }

    .contact-page .mobile-contact-address .contact-link-text {
        overflow-wrap: anywhere;
    }

    .social-title {
        font-size: clamp(24px, 8vw, 34px);
        margin-bottom: clamp(30px, 6vh, 48px);
    }

    .social-links {
        flex-direction: column;
        gap: clamp(16px, 3.4vh, 24px);
    }

    .social-links a {
        font-size: clamp(13px, 3.6vw, 15px);
    }

    .scroll-down-btn {
        min-width: 44px;
        min-height: 40px;
        font-size: clamp(24px, 7vw, 31px);
    }
}

@media (max-width: 360px) {
    .contact-screen,
    .first,
    .second {
        padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 10px);
        padding-bottom: calc(118px + env(safe-area-inset-bottom));
    }

    .vizitka-container {
        max-width: 80vw;
        gap: 10px;
    }

    .center-video {
        width: min(70vw, 250px);
    }

    video {
        max-width: min(70vw, 250px);
    }

    .aspan-experimental {
        font-size: 10px;
    }

    .cooperate-link {
        font-size: 10px;
    }

    .mobile-contact-address {
        max-width: 88vw;
        font-size: clamp(12px, 3.9vw, 13.5px);
        gap: 16px;
        line-height: 1.38;
    }

    .social-title {
        font-size: 22px;
    }

    .social-links a {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-screen-track,
    .scroll-down-btn,
    .scroll-arrows,
    .scroll-arrows span,
    .contact-link-text,
    .nav-link-bottom-active,
    header nav ul li:last-child a.nav-link-bottom-active {
        animation: none !important;
        transition-duration: 1ms !important;
    }
}






