/* =====================================================================
   HEED Search — site stylesheet
   Extracted from inline <style> block in index.html so the HTML payload
   stays lean and the stylesheet is cacheable across visits.
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: #0A0A0A;
    background: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
:root {
    --orange: #C7620A;
    --orange-dark: #A14E07;
    --black: #231F20;
    --gray-light: #F5F5F5;
    --gray-mid: #E0E0E0;
    --gray-text: #666666;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
a { color: inherit; }

/* === GLOBAL JUSTIFICATION for long-form prose === */
.hero-subtitle,
.section-header p,
.ps-text p,
.differentiator-card p,
.method-desc,
.sl-desc,
.contact-info .lead {
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
}
@media (max-width: 600px) {
    .hero-subtitle,
    .section-header p,
    .ps-text p,
    .differentiator-card p,
    .method-desc,
    .sl-desc,
    .contact-info .lead { text-align: left; }
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.section { padding: 110px 0; }

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
    display: block;
}
.accent-bar { display: block; width: 4px; height: 44px; background: var(--orange); flex-shrink: 0; margin-right: 24px; }
.section-header { display: flex; align-items: flex-start; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section-header p { font-size: 16px; color: var(--gray-text); line-height: 1.75; max-width: 660px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.2px;
    border: none;
}
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: white; color: white; }
.btn-group { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(35,31,32,0.96);
    backdrop-filter: blur(12px);
    padding: 20px 0;
    transition: padding 0.3s, box-shadow 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 42px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.nav-links a:hover { color: white; }
.nav-back { font-size: 12px !important; color: rgba(255,255,255,0.45) !important; border-right: 1px solid rgba(255,255,255,0.15); padding-right: 16px; }
.nav-cta { background: var(--orange) !important; color: white !important; padding: 9px 22px; border-radius: 2px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--orange-dark) !important; }

/* ===== HERO ===== */
.hero {
    min-height: 80vh;
    background: var(--black);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 50%, rgba(199,98,10,0.13) 0%, transparent 55%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--orange); margin-bottom: 28px; }
.hero-title { font-size: clamp(40px, 5vw, 64px); font-weight: 800; color: white; line-height: 1.08; letter-spacing: -1.2px; margin-bottom: 28px; }
.hero-title .accent { color: var(--orange); }
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,0.62); line-height: 1.78; margin-bottom: 40px; max-width: 560px; }
.hero-logo-block { text-align: center; }
.hero-logo-block img {
    width: clamp(140px, 18vw, 220px);
    height: auto;
    transition: width 0.35s ease;
}

/* ===== POSITIONING QUOTE ===== */
.positioning-bar { background: var(--orange); color: white; padding: 36px 0; }
.positioning-bar .container { display: flex; align-items: center; gap: 32px; }
.positioning-bar .quote-mark { font-size: 64px; line-height: 0.6; font-family: Georgia, serif; opacity: 0.5; flex-shrink: 0; }
.positioning-bar p { font-size: 18px; font-weight: 600; line-height: 1.5; }

/* ===== POSITIONING SECTION ===== */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ps-text h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-bottom: 22px; line-height: 1.18; }
.ps-text p { font-size: 15.5px; line-height: 1.85; color: #4a4a4a; margin-bottom: 18px; }
.ps-text strong { color: var(--black); }
.differentiator-card {
    background: var(--gray-light);
    border-left: 4px solid var(--orange);
    padding: 32px 30px;
}
.differentiator-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; line-height: 1.3; }
.differentiator-card p { font-size: 14.5px; line-height: 1.78; color: var(--gray-text); }
.differentiator-card .badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

/* ===== METHODOLOGY ===== */
.methodology-bg { background: var(--black); color: white; }
.methodology-bg .section-header h2 { color: white; }
.methodology-bg .section-header p { color: rgba(255,255,255,0.6); }
.methodology-bg .section-label { color: var(--orange); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.08); }
.method-card { background: var(--black); padding: 40px 32px; display: flex; flex-direction: column; }
.method-num { font-size: 56px; font-weight: 800; color: var(--orange); line-height: 1; flex: 0 0 56px; margin-bottom: 24px; letter-spacing: -2px; }
.method-title { font-size: 19px; font-weight: 700; color: white; line-height: 1.3; min-height: 50px; flex: 0 0 50px; margin-bottom: 14px; display: flex; align-items: flex-start; }
.method-desc { font-size: 14px; line-height: 1.78; color: rgba(255,255,255,0.62); flex: 1; margin-bottom: 18px; }
.method-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

/* ===== SERVICE LINES ===== */
.service-lines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-line {
    background: white;
    padding: 40px 32px;
    border-top: 4px solid var(--orange);
    display: flex;
    flex-direction: column;
}
.sl-num { font-size: 11px; font-weight: 800; letter-spacing: 3px; color: var(--orange); flex: 0 0 14px; margin-bottom: 14px; }
.sl-title { font-size: 22px; font-weight: 700; line-height: 1.3; min-height: 60px; flex: 0 0 60px; margin-bottom: 6px; display: flex; align-items: flex-start; }
.sl-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--gray-text); text-transform: uppercase; flex: 0 0 14px; margin-bottom: 22px; }
.sl-desc { font-size: 14px; line-height: 1.78; color: var(--gray-text); flex: 1; margin-bottom: 22px; }
.sl-tagline {
    background: var(--gray-light);
    padding: 14px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--orange);
    text-transform: uppercase;
    border-left: 3px solid var(--orange);
}

/* ===== OPEN VACANCIES ===== */
.vacancies-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 36px; }
.vacancy-card {
    background: white;
    border: 1px solid var(--gray-mid);
    padding: 28px 30px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.vacancy-card:hover {
    border-color: var(--orange);
    box-shadow: 0 12px 36px rgba(199,98,10,0.1);
}
.vacancy-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    background: var(--orange);
    padding: 4px 10px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.vacancy-tag.retained { background: var(--black); }
.vacancy-tag.contingency { background: var(--orange); }
.vacancy-tag.urgent { background: #C42818; }
.vacancy-title { font-size: 19px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.vacancy-meta { font-size: 12.5px; color: var(--gray-text); margin-bottom: 18px; line-height: 1.6; }
.vacancy-meta strong { color: var(--black); }
.vacancy-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.vacancy-skill {
    font-size: 11px;
    background: var(--gray-light);
    color: var(--black);
    padding: 4px 10px;
    font-weight: 500;
}
.vacancy-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    cursor: pointer;
}
.vacancy-cta:hover { color: var(--orange-dark); }
.vacancies-empty {
    text-align: center;
    padding: 40px 20px;
    background: var(--gray-light);
    color: var(--gray-text);
    font-size: 14px;
    font-style: italic;
}

/* ===== CV SUBMISSION (hidden by default) ===== */
.forms-bg { background: var(--black); color: white; display: none; }
.forms-bg.visible { display: block; }
.forms-bg .section-header h2 { color: white; }
.forms-bg .section-header p { color: rgba(255,255,255,0.6); }
.forms-bg .section-label { color: var(--orange); }
.single-form-wrap { max-width: 720px; margin: 0 auto; }
.form-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 44px 40px;
    border-top: 4px solid var(--orange);
}
.form-panel h3 { font-size: 24px; font-weight: 700; color: white; margin-bottom: 10px; }
.form-panel .panel-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.form-panel .panel-lead { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 28px; }
.form-panel input,
.form-panel textarea,
.form-panel select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
    border-radius: 2px;
    transition: border-color 0.2s;
}
.form-panel input:focus,
.form-panel textarea:focus,
.form-panel select:focus { border-color: var(--orange); }
.form-panel input::placeholder, .form-panel textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-panel textarea { resize: vertical; min-height: 100px; }
.form-panel select option { background: white; color: var(--black); }
.form-panel input[type="file"] {
    padding: 11px 16px;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
}
.form-panel input[type="file"]::file-selector-button {
    background: var(--orange);
    color: white;
    border: none;
    padding: 8px 14px;
    margin-right: 14px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
}
.form-panel .file-hint {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 14px;
    margin-top: -6px;
}
.form-panel .form-submit {
    width: 100%;
    background: var(--orange);
    color: white;
    border: none;
    padding: 15px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 2px;
    margin-top: 8px;
    transition: background 0.2s;
}
.form-panel .form-submit:hover { background: var(--orange-dark); }
.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success .check { font-size: 44px; color: var(--orange); margin-bottom: 16px; }
.form-success h4 { color: white; font-size: 18px; margin-bottom: 12px; }
.form-success p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.65; }
.twin-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    margin-bottom: 6px;
    margin-top: 8px;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ===== CONTACT ===== */
.contact-section { background: var(--black); padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; color: white; margin-bottom: 20px; }
.contact-info .lead { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 44px; }
.office-block { margin-bottom: 28px; }
.office-city { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 5px; }
.office-detail { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; }

.direct-contact-card { margin: 8px 0 36px; }
.direct-portrait {
    width: 132px; height: 132px; border-radius: 50%;
    object-fit: cover; object-position: center top;
    border: 3px solid rgba(255,255,255,0.12);
    display: block; margin-bottom: 18px;
}
.direct-name { font-size: 18px; font-weight: 700; color: white; margin-bottom: 4px; line-height: 1.3; }
.direct-role { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.65); letter-spacing: 0.2px; margin-bottom: 6px; }
.direct-email { font-size: 13px; font-weight: 600; color: var(--orange); text-decoration: none; }
.direct-email:hover { color: white; }
.offices-block { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.10); }
.offices-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.offices-list { font-size: 14px; color: rgba(255,255,255,0.78); font-weight: 500; letter-spacing: 0.3px; }

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: white; font-family: inherit; font-size: 14px;
    margin-bottom: 12px; outline: none;
    border-radius: 2px;
    transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--orange); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form textarea { height: 118px; resize: vertical; }
.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='rgba(255,255,255,0.55)' d='M0 0l6 8 6-8z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px 7px;
    padding-right: 40px;
}
.contact-form select option { background: white; color: var(--black); font-weight: 500; }
.contact-form select option:disabled, .contact-form select option[value=""] { color: var(--gray-text); }

/* ===== FOOTER ===== */
footer { background: #0F0D0E; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo img { height: 40px; margin-bottom: 16px; }
.footer-blurb { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-col a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    position: relative;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-social {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover { color: white; border-color: var(--orange); background: var(--orange); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-logo-block img { width: clamp(140px, 22vw, 200px); }
}
@media (max-width: 1000px) {
    .ps-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .service-lines-grid, .method-grid, .vacancies-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-logo-block img { width: clamp(120px, 32vw, 170px); }
}
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .section { padding: 72px 0; }
    .nav-links li { display: none; }
    .nav-links li:has(.nav-cta) { display: list-item; }
    .two-col { grid-template-columns: 1fr; gap: 0; }
    .form-panel { padding: 36px 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 14px; }
    .footer-social { position: static; transform: none; margin: 0; }
    .hero-logo-block img { width: clamp(110px, 38vw, 150px); }
}

/* =====================================================================
   UTILITY CLASSES — replacements for the inline style="" snippets
   ===================================================================== */
.netlify-honeypot { display: none; }
.is-hidden { display: none; }
.visually-hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.mt-16 { margin-top: 16px; }
.btn-block { width: 100%; justify-content: center; padding: 15px; }
.col-span-full { grid-column: 1 / -1; }
.text-white-strong { color: white; }
.vacancies-empty-grid { /* used when injecting empty state into the grid */
    text-align: center;
    padding: 40px 20px;
    background: var(--gray-light);
    color: var(--gray-text);
    font-size: 14px;
    font-style: italic;
}
.list-foot-note {
    text-align: center;
    font-size: 14px;
    color: var(--gray-text);
    font-style: italic;
}
.success-box {
    display: none;
    text-align: center;
    padding: 48px 0;
}
.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--orange);
}
.success-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}
.success-msg {
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.75;
    max-width: 440px;
    margin: 0 auto 14px;
}
.success-signature {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    line-height: 1.6;
}
