/* Contact Page Specific Styles */
:root {
    --singularity-orange: #FF5F1F;
    --border-light: #E5E5E5;
    --text-black: #000000;
    --text-grey: #555555;
}

body.contact-page {
    background-color: #FFFFFF;
    color: var(--text-black);
}


/* 1. The 'Direct' Hero Section */
.direct-hero {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 80px;
    position: relative;
}

.direct-hero .hero-content {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.direct-hero .hero-label {
    margin-bottom: 24px;
    display: block;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease-out;
}

.reveal-active .direct-hero .hero-label {
    opacity: 1;
    transform: translateY(0);
}

.hero-headline {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 800;
    color: var(--text-black);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    max-width: 900px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active .hero-headline {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtext {
    font-family: var(--font-main, 'Inter', sans-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-grey);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
    letter-spacing: 0.005em;
    opacity: 0;
    transform: translateY(15px);
    transition: all 1s ease-out 0.4s;
}

.reveal-active .hero-subtext {
    opacity: 1;
    transform: translateY(0);
}

/* 2. The 'Inquiry Matrix' */
.inquiry-matrix {
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.matrix-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 0 4%;
}

.matrix-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.4s ease;
}

.matrix-col.visible-child {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.matrix-label {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    /* Matched to work.css matrix-industry */
    color: #999999;
    /* Monochrome grey */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.matrix-text {
    font-family: var(--font-main, 'Inter', sans-serif);
    font-size: 1rem;
    color: var(--text-black);
    line-height: 1.6;
}

.orange-link {
    color: var(--text-black);
    /* Changed from orange to black */
    text-decoration: none;
    font-weight: 700;
    /* Extra bold to stand out without color */
    transition: opacity 0.3s ease;
}

.orange-link:hover {
    opacity: 0.7;
    /* Simple monochrome hover */
}

.email-link {
    color: var(--text-black);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    opacity: 0.7;
    /* Simple monochrome hover */
    /* color: var(--singularity-orange); REMOVED */
}

/* 3. The 'Global Presence' Section */
.global-presence {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.presence-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 4%;
    text-align: left;
}

.presence-headline {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-black);
    text-align: center;
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-item {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered list items? Or left aligned? "list of your office locations" */
    /* The design "City name in bold black text, with the current local time displayed next to it" suggests a line. */
    gap: 12px;
    font-family: var(--font-main, 'Inter', sans-serif);
}

.city-name {
    font-weight: 700;
    color: var(--text-black);
    font-size: 1.25rem;
}

.local-time {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    color: #666666;
    /* Monochrome grey */
    font-size: 0.9rem;
}

/* 4. The 'Secondary' Contact Form */
.secondary-form-section {
    padding: 100px 0;
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-light);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 4%;
}

.form-headline {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.secondary-form-section.visible .form-headline {
    opacity: 1;
    transform: translateY(0);
}

.quick-message-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* Spacing between fields */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.secondary-form-section.visible .quick-message-form {
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border-light);
    /* 1px bottom border only */
    padding: 16px 0;
    font-family: var(--font-main, 'Inter', sans-serif);
    font-size: 1rem;
    color: var(--text-black);
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    /* Enhance sharpness */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--text-black);
    /* Darken on focus */
}

.btn-send-message {
    align-self: flex-start;
    /* Or center? Prompt says "Button: A sharp-edged black button" */
    background: #000000;
    color: #FFFFFF;
    border: none;
    padding: 20px 48px;
    /* Standardized Padding */
    font-family: var(--font-main, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 14px;
    /* Standardize font size */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 0px;
    /* Sharp edges */
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.btn-send-message:hover {
    background: #444444;
    /* Dark grey hover instead of orange */
}

/* Responsive */
@media (max-width: 768px) {
    .matrix-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .direct-hero {
        height: auto;
        padding: 120px 0 80px;
    }
}