/* =====================================================================
   JIVYOM EXACT DESIGN TOKENS
   ===================================================================== */
:root {
    --bg-canvas: #0a0a0c;
    --bg-card: #111114;
    --bg-card-hover: #16161a;
    --bg-surface-box: #18181c;
    --border-color: #1e1e24;
    --text-main: #f3f4f6;
    --text-muted: #a1a1aa;
    --text-dim: #52525b;
    --jivyom-gold: #E2B05E;
    --signal-success: #10b981;
    --signal-error: #ef4444;

    /* Derived Glows & Borders */
    --gold-glow: rgba(226, 176, 94, 0.12);
    --gold-glow-strong: rgba(226, 176, 94, 0.25);
    --gold-border: rgba(226, 176, 94, 0.35);
    --success-glow: rgba(16, 185, 129, 0.12);
    --success-border: rgba(16, 185, 129, 0.3);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* =====================================================================
   GLOBAL PAGE STYLES
   ===================================================================== */
.talent-page {
    background-color: var(--bg-canvas);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
    position: relative;
}

.talent-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Eyebrow & Section Headings --- */
.talent-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--jivyom-gold);
    background: var(--gold-glow);
    border: 1px solid var(--gold-border);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.talent-section-heading {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 4rem auto;
}

.talent-section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.talent-section-heading p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.talent-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

/* --- Buttons --- */
.talent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}

.talent-btn--primary {
    background-color: var(--jivyom-gold);
    color: #000;
    box-shadow: 0 4px 20px var(--gold-glow-strong);
}

.talent-btn--primary:hover {
    background-color: #ecc07b;
    transform: translateY(-1px);
    box-shadow: 0 6px 25px var(--gold-glow-strong);
}

.talent-btn--secondary {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.talent-btn--secondary:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--text-dim);
}

/* =====================================================================
   SECTION 1: HERO
   ===================================================================== */
.talent-hero {
    padding: 8rem 0 6rem 0;
    position: relative;
}

.talent-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.talent-hero__content h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.talent-hero__content h1 span {
    color: var(--jivyom-gold);
}

.talent-hero__description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.talent-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.talent-hero__note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dim);
}

.talent-hero__visual {
    position: relative;
    height: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.engineering-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================================================
   SECTION CARDS & FEATURE LISTS
   ===================================================================== */
.talent-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.talent-benefit-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.talent-benefit-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--gold-border);
    transform: translateY(-4px);
}

.talent-benefit-card__icon {
    width: 50px;
    height: 50px;
    background: var(--gold-glow);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jivyom-gold);
    margin-bottom: 1.5rem;
}

.talent-benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.talent-benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.engineering-feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.engineering-feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-size: 0.9rem;
}

.engineering-feature-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--jivyom-gold);
}

.engineering-section-note {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* =====================================================================
   CAPABILITIES / DOMAINS GRID
   ===================================================================== */
.talent-domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.talent-domain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.2s ease;
}

.talent-domain-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-dim);
}

.talent-domain-card .material-symbols-outlined {
    font-size: 2rem;
    color: var(--jivyom-gold);
    flex-shrink: 0;
}

.talent-domain-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.talent-domain-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =====================================================================
   HIRING PROCESS
   ===================================================================== */
.talent-process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.talent-process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
}

.talent-process-step__number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dim);
    display: block;
    margin-bottom: 1rem;
}

.talent-process-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.talent-process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =====================================================================
   DELIVERY MODELS
   ===================================================================== */
.talent-engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.talent-engagement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
}

.talent-engagement-card .material-symbols-outlined {
    font-size: 2.25rem;
    color: var(--jivyom-gold);
    margin-bottom: 1.25rem;
}

.talent-engagement-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.talent-engagement-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.engineering-models__note {
    background: var(--bg-surface-box);
    border: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.engineering-models__note .material-symbols-outlined {
    color: var(--jivyom-gold);
}

/* =====================================================================
   CROSSLINK & CTA
   ===================================================================== */
.talent-engagement__crosslink {
    background: var(--bg-surface-box);
    border: 1px solid var(--gold-border);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.talent-engagement__crosslink-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.talent-engagement__crosslink-content .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--jivyom-gold);
}

.talent-engagement__crosslink h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.talent-engagement__crosslink p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.talent-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--jivyom-gold);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.talent-text-link:hover {
    text-decoration: underline;
}

.talent-cta {
    padding: 4rem 0 6rem 0;
}

.talent-cta__panel {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface-box) 100%);
    border: 1px solid var(--gold-border);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.talent-cta__content {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.talent-cta__content h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.talent-cta__content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.talent-disclaimer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* =====================================================================
   RESPONSIVE MEDIA QUERIES
   ===================================================================== */
@media (max-width: 968px) {
    .talent-hero__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .talent-hero {
        padding: 5rem 0 4rem 0;
    }

    .talent-engagement__crosslink {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Engineering Teams — Soft edge blending */

.talent-hero__visual.engineering-hero__visual {
    position: relative;
    width: 100%;
    height: 440px;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    /* Fade the image edges into the dark page */
    -webkit-mask-image: radial-gradient(
        ellipse 78% 78% at 50% 50%,
        #000 48%,
        rgba(0, 0, 0, 0.95) 62%,
        rgba(0, 0, 0, 0.65) 78%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 78% 78% at 50% 50%,
        #000 48%,
        rgba(0, 0, 0, 0.95) 62%,
        rgba(0, 0, 0, 0.65) 78%,
        transparent 100%
    );
}

.engineering-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Responsive layout */
@media (max-width: 968px) {
    .talent-hero__visual.engineering-hero__visual {
        height: auto;
        max-width: 680px;
        margin: 1.5rem auto 0;
    }

    .engineering-hero__image {
        height: auto;
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 576px) {
    .talent-hero__visual.engineering-hero__visual {
        margin-top: 1rem;

        -webkit-mask-image: radial-gradient(
            ellipse 90% 85% at 50% 50%,
            #000 52%,
            rgba(0, 0, 0, 0.85) 75%,
            transparent 100%
        );
        mask-image: radial-gradient(
            ellipse 90% 85% at 50% 50%,
            #000 52%,
            rgba(0, 0, 0, 0.85) 75%,
            transparent 100%
        );
    }

    .engineering-hero__image {
        aspect-ratio: 4 / 3;
        object-position: center;
    }
}
