/* Accent override: #dd7b3e */
:root {
    --support-teal-bright: #dd7b3e;
}

/* Button hover override — keep orange, no rust */
.cta-button:hover {
    background: var(--brand-orange) !important;
}

.primary-cta:hover {
    background: var(--brand-orange) !important;
}

/* Careers Microsite Specific Styles */
/* Follows exact patterns from home.css */

/* Hero Section — mirrors home.css hero */
.hero {
    min-height: 100vh;
    padding: 8rem 3rem 4rem;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-black) 0%, #0a1015 50%, var(--brand-teal) 100%);
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(164, 207, 205, 0.1) 35px, rgba(164, 207, 205, 0.1) 70px);
}

.sphere-visual {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(221, 123, 62, 0.15), 
        rgba(37, 80, 94, 0.1) 40%, 
        transparent 70%);
    filter: blur(60px);
    animation: spherePulse 15s ease-in-out infinite;
}

@keyframes spherePulse {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.15; }
    50% { transform: scale(1.2) translateY(-30px); opacity: 0.25; }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: var(--brand-sand);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #dd7b3e, #f38f1e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .accent {
    color: var(--brand-orange);
}

.hero-description {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 750px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Proof Section — exact match to home.css */
.proof {
    padding: 6rem 3rem;
    background: var(--brand-teal);
    border-top: 1px solid rgba(164, 207, 205, 0.2);
    border-bottom: 1px solid rgba(164, 207, 205, 0.2);
}

.proof-container {
    max-width: 1400px;
    margin: 0 auto;
}

.proof h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--brand-sand);
    font-weight: 400;
}

.badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.badge {
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(164, 207, 205, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.badge:hover {
    border-color: var(--support-teal-bright);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(221, 123, 62, 0.2);
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.badge h3 {
    font-size: 1.1rem;
    color: var(--support-orange);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.badge p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Problem Section — for roles listing */
.problem {
    padding: 8rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: var(--brand-sand);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Stats Grid — for "By the Numbers" */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-card {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(243, 143, 30, 0.1), rgba(243, 143, 30, 0.05));
    border: 1px solid rgba(243, 143, 30, 0.3);
    border-left: 4px solid var(--brand-orange);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(243, 143, 30, 0.2);
}

/* Solution Section — for departments */
.solution {
    padding: 8rem 3rem;
    background: var(--bg-section);
    position: relative;
}

.solution-container {
    max-width: 1400px;
    margin: 0 auto;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature {
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--support-teal-bright);
    transition: all 0.3s;
}

.feature:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--support-teal-bright);
    font-weight: 600;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ROI Section — for application */
.roi {
    padding: 8rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.roi-calculator {
    background: linear-gradient(135deg, rgba(221, 123, 62, 0.05), rgba(37, 80, 94, 0.05));
    border: 2px solid rgba(221, 123, 62, 0.3);
    padding: 4rem;
    margin-top: 4rem;
}

/* ============================================================
   CAREERS-SPECIFIC COMPONENTS
   ============================================================ */

/* Department Grid */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.dept-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(37, 80, 94, 0.15), rgba(37, 80, 94, 0.05));
    border: 1px solid rgba(221, 123, 62, 0.3);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.dept-card:hover {
    transform: translateY(-8px);
    border-color: var(--support-teal-bright);
    box-shadow: 0 12px 32px rgba(221, 123, 62, 0.2);
}

.dept-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.dept-card h3 {
    font-size: 1.5rem;
    color: var(--support-teal-bright);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dept-card .role-count {
    font-size: 0.85rem;
    color: var(--brand-orange);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dept-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Job Cards */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(221, 123, 62, 0.2);
    overflow: hidden;
    transition: all 0.3s;
}

.job-card:hover {
    border-color: rgba(221, 123, 62, 0.5);
}

.job-card.open {
    border-color: var(--support-teal-bright);
    box-shadow: 0 8px 32px rgba(221, 123, 62, 0.15);
}

.job-header {
    padding: 1.75rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    user-select: none;
}

.job-meta { flex: 1; }

.job-meta h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-sand);
    margin-bottom: 0.5rem;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.65rem;
    background: rgba(37, 80, 94, 0.3);
    color: var(--text-secondary);
    border: 1px solid rgba(221, 123, 62, 0.2);
    letter-spacing: 0.02em;
}

.tag.accent {
    background: rgba(243, 143, 30, 0.1);
    color: var(--brand-orange);
    border-color: rgba(243, 143, 30, 0.3);
}

.toggle-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(221, 123, 62, 0.3);
    color: var(--text-secondary);
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.3s;
    font-weight: 300;
}

.job-card.open .toggle-icon {
    transform: rotate(45deg);
    border-color: var(--support-teal-bright);
    color: var(--support-teal-bright);
    background: rgba(221, 123, 62, 0.1);
}

.job-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-card.open .job-body {
    max-height: 3000px;
}

.job-content {
    padding: 0 2rem 2rem;
    border-top: 1px solid rgba(221, 123, 62, 0.15);
}

.job-content h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--support-orange);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 1.75rem 0 0.75rem;
}

.job-content h4:first-child {
    margin-top: 1.5rem;
}

.job-content > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.job-content ul {
    list-style: none;
    padding: 0;
    margin-top: 0.25rem;
}

.job-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
    line-height: 1.7;
}

.job-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 8px;
    height: 1.5px;
    background: var(--support-teal-bright);
}

.job-content li strong {
    color: var(--brand-sand);
    font-weight: 600;
}

.job-apply-row {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(221, 123, 62, 0.15);
}

/* Tally Embed */
.tally-placeholder {
    padding: 2.5rem;
    border: 1px dashed rgba(221, 123, 62, 0.3);
    background: rgba(0, 0, 0, 0.2);
}

.tally-placeholder p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.tally-placeholder a {
    color: var(--support-teal-bright);
    text-decoration: none;
}

.tally-placeholder code {
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(221, 123, 62, 0.2);
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--support-teal-bright);
    text-align: left;
    word-break: break-all;
    line-height: 1.6;
}

/* Section dividers */
.section-divider {
    text-align: center;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 1400px;
}

.section-divider span {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: var(--support-teal-bright);
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 1200px) {
    .badges { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .dept-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-description { font-size: 1.1rem; }
    .hero-ctas { flex-direction: column; }
    .section-header h2 { font-size: 2.5rem; }
    .badges { grid-template-columns: 1fr; }
    .dept-grid { grid-template-columns: 1fr; }
}
