@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #082c59;
  --navy-deep: #041d3c;
  --blue: #0878ee;
  --cyan: #51c5ff;
  --ink: #102544;
  --muted: #62738b;
  --line: #dfe7f1;
  --soft: #f4f8fc;
  --white: #fff;
  --shadow: 0 12px 34px rgba(8, 44, 89, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); font-family: Inter, Arial, sans-serif; line-height: 1.6; background: #fff; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #62c8ff; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { height: 82px; padding: 0 clamp(20px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e9eef5; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--navy); }
.brand-mark { font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -4px; color: #0758b8; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; letter-spacing: .04em; }
.brand-name strong { font-size: 15px; font-weight: 800; }
.brand-name small { font-size: 9px; font-weight: 700; letter-spacing: .28em; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: clamp(15px, 2.2vw, 32px); font-size: 13px; font-weight: 600; color: #31445f; }
.main-nav > a:not(.nav-cta) { padding: 10px 0; position: relative; }
.main-nav > a:not(.nav-cta):hover, .main-nav > a.active { color: var(--blue); }
.nav-cta { background: var(--blue); color: #fff; border-radius: 7px; padding: 12px 18px; box-shadow: 0 5px 14px rgba(8,120,238,.2); }
.nav-cta:hover, .button-primary:hover, .button-small:hover { background: #0565cd; transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; width: 24px; background: var(--navy); margin: 5px 0; }
.hero { position: relative; min-height: 535px; overflow: hidden; display: flex; align-items: center; background: var(--navy-deep); color: #fff; }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background-image: url('/assets/images/careers-hero.jpg'); background-size: cover; background-position: center right; opacity: .92; }
.hero-shade { background: linear-gradient(90deg, rgba(4,29,60,.99) 0%, rgba(5,39,79,.96) 34%, rgba(5,39,79,.67) 54%, rgba(5,39,79,.08) 100%); }
.hero-content { width: min(740px, 65%); position: relative; z-index: 2; padding: 65px clamp(24px, 5vw, 78px) 130px; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .24em; }
.eyebrow span { color: #9ab9d8; padding: 0 5px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 20px; font-weight: 800; }
.hero h1 span { color: #76d1ff; }
.hero-copy { max-width: 600px; font-size: clamp(16px, 1.45vw, 20px); color: #f1f6ff; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; font-size: 14px; transition: .18s ease; cursor: pointer; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 6px 18px rgba(0,92,196,.24); }
.button-outline { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(4,29,60,.28); }
.button-outline:hover { background: rgba(255,255,255,.12); }
.hero-benefits { position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 18px clamp(24px, 5vw, 78px); background: rgba(3,31,66,.82); border-top: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(7px); }
.benefit { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-right: 1px solid rgba(255,255,255,.28); }
.benefit:first-child { padding-left: 0; }
.benefit:last-child { border-right: 0; }
.benefit-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: #0878ee; font-size: 22px; font-weight: 700; }
.benefit strong, .benefit small { display: block; }
.benefit strong { font-size: 12px; line-height: 1.35; }
.benefit small { color: #c5d7eb; font-size: 10px; line-height: 1.4; margin-top: 4px; }
.section { padding: 76px clamp(20px, 5vw, 78px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-kicker { margin: 0 0 7px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.section h2, .culture-section h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.2; color: var(--navy); }
.section-intro { color: var(--muted); margin: 10px 0 0; font-size: 14px; }
.text-link { color: var(--blue); font-weight: 700; font-size: 13px; white-space: nowrap; padding-bottom: 5px; }
.text-link:hover { color: var(--navy); }
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.job-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; display: flex; flex-direction: column; min-height: 270px; transition: .2s ease; }
.job-card:hover { border-color: #b6d9ff; box-shadow: var(--shadow); transform: translateY(-3px); }
.job-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.job-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #eaf4ff; color: var(--blue); font-size: 21px; font-weight: 700; }
.job-type { background: #edf5ff; color: #096bd2; font-size: 10px; font-weight: 700; padding: 5px 9px; border-radius: 5px; }
.job-card h3 { font-size: 18px; margin: 16px 0 6px; color: var(--navy); line-height: 1.35; }
.job-location { margin: 0; font-size: 11px; color: var(--muted); }
.job-location .dot { padding: 0 5px; color: #9aa9ba; }
.job-summary { color: #596a80; font-size: 12px; margin: 13px 0 22px; }
.job-card-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf1f6; padding-top: 16px; }
.experience { color: #738197; font-size: 10px; }
.button-small { min-height: 36px; padding: 8px 13px; color: #fff; background: var(--blue); font-size: 11px; }
.empty-jobs { text-align: center; padding: 48px 20px; background: var(--soft); border: 1px dashed #cfdeee; border-radius: 12px; }
.empty-icon { color: var(--blue); font-size: 34px; }
.empty-jobs h3 { color: var(--navy); margin: 8px 0; }
.empty-jobs p { color: var(--muted); margin: 0 auto 20px; max-width: 520px; font-size: 14px; }
.notice { border-radius: 8px; padding: 16px; font-size: 14px; }
.notice-error { color: #873333; background: #fff0f0; border: 1px solid #ffd4d4; }
.culture-section { background: linear-gradient(110deg, #062957, #0a4e91); color: #fff; padding: 56px clamp(20px, 5vw, 78px); }
.culture-inner { max-width: 1280px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.section-kicker.light { color: #7fd3ff; }
.culture-section h2 { color: #fff; }
.culture-section p:not(.section-kicker) { max-width: 650px; color: #d3e4f7; font-size: 14px; margin: 14px 0 0; }
.button-light { background: #fff; color: var(--navy); flex-shrink: 0; }
.button-light:hover { background: #eaf5ff; }
.site-footer { background: #041b36; color: #c7d6e8; padding: 30px clamp(20px, 5vw, 78px) 0; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 25px; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { color: #fff; }
.footer-main p, .footer-main > a:last-child { font-size: 12px; margin: 0; }
.footer-main > a:last-child { color: #8bcfff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0; display: flex; justify-content: space-between; gap: 14px; font-size: 10px; color: #9db1c8; }
@media (max-width: 1050px) {
  .main-nav { gap: 15px; }
  .main-nav { font-size: 12px; }
  .hero-content { width: 72%; }
  .benefit { padding: 0 10px; }
  .benefit-icon { width: 36px; height: 36px; }
}
@media (max-width: 780px) {
  .site-header { height: 72px; }
  .brand-mark { font-size: 34px; }
  .brand-name strong { font-size: 13px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 71px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 22px 20px; align-items: stretch; flex-direction: column; gap: 4px; }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 10px 0; }
  .nav-cta { text-align: center; margin-top: 5px; }
  .hero { min-height: 650px; align-items: flex-start; }
  .hero-photo { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,29,60,.97), rgba(5,39,79,.82) 72%, rgba(5,39,79,.52)); }
  .hero-content { width: 100%; padding: 65px 24px 250px; }
  .hero h1 { font-size: clamp(35px, 8vw, 52px); }
  .hero-benefits { grid-template-columns: repeat(2, 1fr); padding: 14px 20px; row-gap: 14px; }
  .benefit { border-right: 0; padding: 0 8px; }
  .benefit:nth-child(odd) { padding-left: 0; }
  .benefit strong { font-size: 11px; }
  .benefit small { font-size: 9px; }
  .section { padding-top: 55px; padding-bottom: 55px; }
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .hero { min-height: 700px; }
  .hero-content { padding: 54px 20px 275px; }
  .eyebrow { font-size: 9px; letter-spacing: .16em; }
  .hero h1 { font-size: 36px; }
  .hero-copy { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 300px; }
  .hero-actions .button { min-height: 46px; }
  .hero-benefits { padding: 15px 16px; gap: 16px 8px; }
  .benefit { gap: 8px; }
  .benefit-icon { width: 31px; height: 31px; font-size: 17px; }
  .benefit strong { font-size: 10px; }
  .benefit small { font-size: 8px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .job-grid { grid-template-columns: 1fr; }
  .job-card { min-height: 250px; }
  .culture-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

/* Fix the actual company logo in the header */
.site-header .brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.site-header .brand img {
    display: block;
    width: auto;
    height: 46px;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
}

/* Keep the logo proportional on mobile */
@media (max-width: 780px) {
    .site-header .brand img {
        height: 40px;
        max-width: 200px;
    }
}

.brand-logo {
    display: block;
    width: auto;
    height: 46px;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand .brand-logo {
    height: 40px;
}

@media (max-width: 780px) {
    .brand-logo {
        height: 40px;
        max-width: 200px;
    }
}


/* Navigation labels with recognizable icons */
.main-nav > a:not(.nav-cta) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-icon svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.main-nav > a:not(.nav-cta):hover .nav-icon,
.main-nav > a.active .nav-icon {
    color: #0878ee;
}

@media (max-width: 780px) {
    .main-nav > a:not(.nav-cta) {
        justify-content: flex-start;
        gap: 10px;
        padding: 12px 4px;
    }

    .nav-icon svg {
        width: 19px;
        height: 19px;
    }
}