@import url('../global-typography.css');

:root {
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --teal: #0A919B;
    --bg-white: #ffffff;
    --bg-off: #f9f9f9;
    --text-dark: #111111;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    background-color: var(--bg-white); 
    color: var(--text-dark);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    border-bottom: 1px solid #eee;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    width: 100%;
}

.eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--teal);
    display: block;
    margin-bottom: 24px;
}

.display-title {
    font-size: 112px;
    font-weight: 800;
    line-height: 0.95;
}

.grow-wrap {
    display: inline-flex;
    align-items: baseline;
    position: relative;
    color: var(--teal);
}

.grow-wrap span {
    color: var(--teal);
    display: inline-block;
    visibility: hidden;
}

.grow-wrap::after {
    content: none;
}

.grow-wrap.typing-done::after {
    opacity: 0;
    animation: none;
}

@keyframes typeCaret {
    50% {
        opacity: 0;
    }
}

.l-g,
.l-r,
.l-o,
.l-w {
    opacity: 1;
}

.l-g { font-size: 0.4em; }
.l-r { font-size: 0.6em; }
.l-o { font-size: 0.85em; }
.l-w { font-size: 1.2em; }

.accent-text { color: var(--teal); }

.info-card {
    padding-left: 30px;
    border-left: 1px solid #ddd;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.info-card p {
    font-size: 19.2px;
    color: #666;
    line-height: 1.5;
}

/* PHILOSOPHY ACCORDION */
.philosophy { padding: 120px 8%; background: var(--bg-off); }
.sub-heading { font-weight: 700; color: #ccc; margin-bottom: 40px; text-transform: uppercase; }

.acc-item { border-top: 1px solid #e0e0e0; transition: background 0.3s; }

/* HOVER EFFECT LOGIC */
.acc-item:hover { background: #fff; }
.acc-item:hover .acc-body { max-height: 400px; }
.acc-item:hover .acc-title { color: var(--teal); padding-left: 10px; }

.acc-header { padding: 40px 0; display: flex; align-items: center; cursor: pointer; }
.acc-id { font-weight: 800; color: var(--teal); margin-right: 40px; font-size: 17.6px; }
.acc-title { font-size: 35.2px; font-weight: 700; color: #222; transition: all 0.4s ease; }

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.acc-content { padding: 0 0 40px 65px; }
.acc-content p { font-size: 19.2px; color: #555; max-width: 900px; line-height: 1.6; }

/* OPENINGS GRID */
.openings { padding: 120px 8%; background: #000; color: #DDDBDD; }
.display-title-sm { font-size: 80px; font-weight: 800; line-height: 0.9; margin-bottom: 20px; }
.tagline { font-size: 11.2px; letter-spacing: 3px; color: #444; font-weight: 800; margin-bottom: 60px; }

.grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); border: 1px solid #222; }

.job-card {
    padding: 60px 40px;
    border: 0.5px solid #222;
    transition: 0.4s;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    display: block;
}
.job-card:hover { background: var(--teal); }
.job-card:focus-visible { outline: 2px solid var(--teal); outline-offset: -6px; }
.job-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.job-card span { font-size: 12.8px; letter-spacing: 2px; color: #666; font-weight: 600; }
.job-card:hover span { color: #DDDBDD; }

/* MANIFESTO */
.manifesto { padding: 150px 10%; text-align: center; }
.manifesto-text { font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }

@media (max-width: 1024px) {
    .display-title { font-size: 80px; }
    .display-title-sm { font-size: 64px; }
    .manifesto-text { font-size: 32px; }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        padding: 130px 5% 70px !important;
        align-items: center;
    }

    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-text-area,
    .hero-info-area {
        min-width: 0;
    }

    .info-card { padding-left: 0; border-left: none; align-items: flex-start; }
    .info-card p { font-size: 17.6px; }
    
    .display-title {
        font-size: clamp(48px, 14vw, 64px);
        overflow-wrap: anywhere;
    }

    .grow-wrap {
        max-width: 100%;
    }
    
    .philosophy, .openings, .manifesto { padding: 80px 5%; }
    
    .sub-heading { margin-bottom: 30px; }
    .acc-header { padding: 25px 0; align-items: flex-start; }
    .acc-id { margin-right: 20px; margin-top: 5px; font-size: 16px; }
    .acc-title { font-size: 25.6px; }
    
    .acc-content { padding: 0 0 30px 0; }
    .acc-content p { font-size: 16.8px; }
    .acc-item:hover .acc-body { max-height: 600px; }
    
    .display-title-sm { font-size: 56px; }
    .tagline { margin-bottom: 40px; margin-top: 15px; }
    
    .grid-layout {
        grid-template-columns: 1fr;
        border-left: 0;
        border-right: 0;
    }

    .job-card {
        padding: 34px 24px;
    }
    
    .manifesto-text { font-size: 28.8px; }
}

@media (max-width: 480px) {
    .display-title { font-size: 51.2px; }
    .display-title-sm { font-size: 44.8px; }
    .acc-title { font-size: 22.4px; }
    .job-card h3 { font-size: 22.4px; }
    .manifesto-text { font-size: 24px; line-height: 1.4; }
}
/* --- GLOBAL MOBILE RESPONSIVENESS (CONSISTENCY FIX) --- */
@media (max-width: 768px) {
    h1, .hero-title, .reveal-text, .cta-large-text, .cta-huge, .massive-title, .cap-head {
        font-size: clamp(40px, 8vw, 56px) !important;
        line-height: var(--lh-display) !important;
    }
    h2, .sec-title, .main-title, .client-intro-mini h2 {
        font-size: clamp(32px, 6vw, 40px) !important;
        line-height: var(--lh-heading) !important;
    }
    h3, .lead-text, .card-inner h2, .industry-info h3 {
        font-size: clamp(24px, 5vw, 28.8px) !important;
        line-height: var(--lh-subheading) !important;
    }
    p, .sub-statement, .sub-text, .hero-desc, .hero-sub {
        font-size: 16px !important;
        line-height: var(--lh-p) !important;
    }
    /* Section Padding Consistency */
    section, .section, .client-perfect-section, .industry-section, .simple-trust, .services-modern, .testimonial-stage, .insights-modern, .stack-section, .final-cta, .site-footer-premium, .site-footer { 
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}
