/* ══ CONTACT: Orange-red ══ */

.contact-section {
    background: var(--orange);
    padding: 0;
    padding-bottom: 56px;
    position: relative;
    overflow: hidden;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 56px 6% 0;
}

/* Left: stacked headline words */
.contact-headline {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    gap: 2px;
}

.contact-big-word {
    font-family: var(--f-cond);
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #fff;
    display: block;
    opacity: 0;
    transform: translateY(36px) skewY(4deg);
    filter: blur(6px);
}

.contact-big-word--outline {
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}

.contact-section.visible .contact-big-word {
    animation: contactWordIn 0.85s var(--ease) forwards;
}

.contact-section.visible .contact-big-word:nth-child(1) { animation-delay: 0.05s; }
.contact-section.visible .contact-big-word:nth-child(2) { animation-delay: 0.18s; }
.contact-section.visible .contact-big-word:nth-child(3) { animation-delay: 0.31s; }
.contact-section.visible .contact-big-word:nth-child(4) { animation-delay: 0.44s; }

.contact-section.visible .contact-big-word--outline {
    animation:
        contactWordIn 0.85s var(--ease) forwards,
        contactOutlinePulse 3.4s ease-in-out 1.2s infinite;
}

@keyframes contactWordIn {
    0% {
        opacity: 0;
        transform: translateY(36px) skewY(4deg);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewY(0);
        filter: blur(0);
    }
}

@keyframes contactOutlinePulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

/* Right: link list */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-links-title {
    font-family: var(--f-cond);
    font-weight: 900;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s;
    position: relative;
}

.contact-link::before {
    content: '→';
    margin-right: 10px;
    font-size: 0.85em;
    color: rgba(255,255,255,0.4);
    transition: margin-right 0.25s var(--ease), color 0.2s;
}

.contact-link:hover {
    color: #fff;
}

.contact-link:hover::before {
    margin-right: 16px;
    color: var(--yg);
}

.contact-link-text {
    font-family: var(--f-body);
    font-weight: 500;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    letter-spacing: 0;
    text-transform: none;
}

/* ══ Footer ══ */
.footer {
    background: var(--black);
    padding: 14px 6%;
    border-top: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-name {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
}

.footer-made {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.06em;
}

.footer-made em {
    color: var(--yg);
    font-style: normal;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 5% 0;
    }

    .contact-headline {
        gap: 6px;
        max-width: 26rem;
    }

    .contact-big-word {
        font-size: clamp(2.2rem, 10vw, 3.8rem);
        line-height: 0.92;
    }

    .contact-links {
        gap: 10px;
    }

    .contact-link {
        padding: 12px 14px;
        border: 1px solid rgba(255,255,255,0.16);
        background: rgba(0,0,0,0.08);
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding-bottom: 44px;
    }
    .contact-inner {
        padding: 28px 4% 0;
        gap: 24px;
    }

    .contact-headline {
        gap: 8px;
    }

    .contact-big-word {
        font-size: clamp(2.15rem, 11vw, 3rem);
        line-height: 0.94;
        letter-spacing: -0.015em;
    }

    .contact-big-word--outline {
        -webkit-text-stroke-width: 1.5px;
    }

    .contact-links-title {
        margin: 0 0 8px 0;
        font-size: 1.8rem;
    }

    .contact-link {
        padding: 13px 14px;
        border-radius: 12px;
    }

    .contact-link::before {
        margin-right: 12px;
    }

    .contact-link-text {
        font-size: 1rem;
        line-height: 1.35;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-big-word,
    .contact-section.visible .contact-big-word,
    .contact-section.visible .contact-big-word--outline {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}
