/* ─── Video Text Hero ───────────────────────────────────── */
.contact-video-hero {
    position: relative;
    overflow: hidden;
    min-height: 75vh;
    min-height: 75dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--container-pad);
}

/* Video Background */
.contact-video-hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-video-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark Mask — covers entire hero, mix-blend-mode: multiply punches video through white text */
.contact-video-hero__mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000000;
    mix-blend-mode: multiply;
}

/* BIGDOG Display Text */
.contact-video-hero__display {
    font-family: var(--font-display);
    font-size: var(--text-display);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 1em;
}

/* Letter wrappers (overflow:hidden for slide-up reveal) */
.contact-video-hero__letter-wrap {
    display: inline-block;
    overflow: hidden;
    line-height: 1;
    padding-bottom: 0.05em;
}

.contact-video-hero__letter {
    display: inline-block;
    will-change: transform;
}

/* "Let's talk" subtitle — positioned below the centered BIGDOG text */
.contact-video-hero__subtitle {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 2;
    margin-top: calc(var(--text-display) * 0.45 + var(--space-md));
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
}

/* ─── Video Text Hero Responsive ────────────────────────── */
@media (max-width: 768px) {
    .contact-video-hero {
        min-height: 60vh;
        min-height: 60dvh;
    }
}

@media (max-width: 480px) {
    .contact-video-hero {
        min-height: 50vh;
        min-height: 50dvh;
    }
}

/* ─── Contact Layout ─────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── Contact Info ───────────────────────────────────────── */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info__label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-info__value {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
}

.contact-info__value a {
    color: var(--color-text);
    transition: color var(--duration-fast) ease;
}

.contact-info__value a:hover {
    color: var(--color-accent);
}

/* ─── Contact Video ──────────────────────────────────────── */
.contact-video {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 9 / 16;
    max-height: 350px;
    margin-top: var(--space-md);
}

.contact-video .portrait-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ─── Form Messages ─────────────────────────────────────── */
.contact-form__message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.contact-form__message--success {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--color-text);
}

.contact-form__message--error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--color-text);
}

/* Honeypot — hidden from humans */
.contact-form__honeypot {
    display: none !important;
}

/* ─── Contact Form ───────────────────────────────────────── */
.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    transition: border-color var(--duration-fast) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
