/* Contacts Endpoint — Finale companion
   Visual gravity for the closing section. Gold rule, generous rhythm, darker backdrop.
*/

.contacts {
    padding: 64px 0 56px !important;
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, rgba(28, 44, 52, 0.3), transparent 60%);
}

/* Gold rule bridging cascade to contacts */
.contacts::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.contacts .section-head {
    margin-bottom: 16px;
}

.contacts .section-label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
}

.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    align-items: start;
}

.contacts-copy h2 {
    margin: 0 0 14px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
    color: var(--ink);
}

.contacts-copy p {
    margin: 0;
    max-width: 48ch;
    font-size: 1.03rem;
    line-height: 1.78;
    color: var(--paper-soft);
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(239, 227, 207, 0.1);
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-item:hover {
    border-bottom-color: rgba(214, 174, 86, 0.3);
    background: rgba(214, 174, 86, 0.03);
}

.contact-item span:first-child {
    font-family: "Playfair Display", Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: rgba(214, 174, 86, 0.84);
}

.contact-item span:last-child {
    font-size: 0.96rem;
    color: var(--paper);
    text-align: right;
    transition: color 0.3s ease;
}

.contact-item:hover span:last-child {
    color: var(--gold);
}

@media (max-width: 720px) {
    .contacts {
        padding: 48px 20px 40px !important;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
