/* contact-dark.css — Contact once the page has gone dark, plus its mobile rules.
   Split from contact.css because it belongs to the dark-band continuum,
   not because it is a different component.

   Extracted from the old components.css. LOAD ORDER MATTERS: these files were
   cut as contiguous slices of one stylesheet, so they must stay linked in this
   order or the cascade changes:
     timeline -> testimonials -> contact -> track-record -> contact-dark -> chrome -> experience -> dark-theme
*/

/* Contact: dark, continuous with the track-record band and footer */
.contact-dark {
    background: var(--color-dark);
    position: relative;
    z-index: calc(var(--z-content) + 2);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0;
}

.contact-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    text-align: center;
}

.contact-avatar {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.contact-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
}

/* The heading now carries the accent that used to sit on the email, so the
   eye lands on the invitation rather than on the address */
.contact-dark .section-title.contact-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--color-accent-light);
    background-clip: unset;
    color: var(--color-accent-light);
}

.contact-dark .contact-availability {
    color: rgba(255, 255, 255, 0.6);
}

.contact-dark .contact-intro {
    color: rgba(255, 255, 255, 0.65);
}

/* Quieter than the heading on purpose — it is the destination, not the hook */
.contact-dark .contact-email {
    font-family: var(--font-mono);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-dark .contact-email:hover {
    color: var(--color-gold);
}

/* Pricing: the rate on its own line, the flexibility beneath it */
.contact-pricing {
    margin: 0 0 var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-rate {
    font-family: var(--font-mono);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 500;
    color: var(--color-gold);
    margin: 0 0 6px;
}

.contact-rate-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Lowers the stakes right before the ask */
.contact-reassure {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 var(--space-sm);
}

.contact-langs {
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: var(--space-sm) 0 0;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    margin: var(--space-sm) auto var(--space-sm);
    max-width: 500px;
    line-height: 1.6;
}

.contact-languages {
    text-align: center;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-gray);
    opacity: 0.7;
    margin: var(--space-sm) auto 0;
    max-width: 500px;
}

.contact-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: var(--color-gray);
}

.contact-availability-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-accent-green);
    animation: availabilityPulse 4s ease-in-out infinite;
}

@keyframes availabilityPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--color-accent-green); }
    50% { opacity: 0.55; box-shadow: 0 0 2px var(--color-accent-green); }
}

.contact-info {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    justify-content: flex-start;
    flex-wrap: wrap;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.contact-item.availability {
    background: rgba(var(--color-accent-green-rgb), 0.15);
    border: 1px solid rgba(var(--color-accent-green-rgb), 0.3);
    color: var(--color-accent-green);
}

.contact-item.availability:hover {
    background: rgba(var(--color-accent-green-rgb), 0.2);
    transform: translateY(-1px);
}

.contact-item.location {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text);
}

.contact-item.location:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.contact-item span {
    margin: 0;
}

.contact-action {
    margin-top: var(--space-sm);
}

.contact-email {
    display: inline-block;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-email:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-info {
        gap: var(--space-sm);
    }
    
    .contact-item {
        padding: var(--space-sm) var(--space-md);
    }
    
    .contact-item h4 {
        font-size: 0.8rem;
    }
    
    .contact-item p {
        font-size: 0.75rem;
    }
}
