/* Bison Global Search — site styles
   Brand: navy (#071733 → #1a4a86), ink #0b1f3a, teal→blue→violet signature gradient,
   teal→sky highlight, amber reserved for pay figures. Typeface: Montserrat. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #071733;
  --navy-900: #0a2147;
  --navy-800: #0f3366;
  --navy-700: #1a4a86;
  --ink: #0b1f3a;
  --text: #33445f;
  --muted: #5b6b85;
  --mist: #f4f7fb;
  --line: #e3e9f2;
  --white: #ffffff;
  --on-dark: #ffffff;
  --on-dark-2: #c5d2e6;
  --on-dark-3: #9fb1cd;
  --teal: #2bd4c5;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --sky: #49bcf0;
  --amber: #f5b544;
  --grad: linear-gradient(90deg, #2bd4c5, #3b82f6 50%, #8b5cf6);
  --grad-text: linear-gradient(90deg, #2cd6c9 0%, #49bcf0 100%);
  --navy-bg: radial-gradient(circle at 76% 32%, #1a4a86 0%, #0f3366 28%, #0a2147 58%, #071733 100%);
  --radius: 16px;
  --maxw: 1160px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 10px 30px rgba(11, 31, 58, 0.07);
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--teal); }

.rule { height: 2px; width: 72px; background: var(--grad); border: 0; margin: 0 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { color: var(--ink); background: #eaf1fb; }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.btn-outline-light:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { color: var(--white); background: var(--navy-800); }
.btn-outline { color: var(--ink); border-color: #c9d5e6; background: var(--white); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 23, 51, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; }
.brand-1 { font-size: 19px; font-weight: 500; letter-spacing: 0.42em; line-height: 1; margin-right: -0.42em; }
.brand-2 { margin-top: 5px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.26em; line-height: 1; color: #c3d0e6; margin-right: -0.26em; }
.brand-rule { margin-top: 6px; width: 100%; height: 2px; background: var(--grad); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a.nav-link { color: var(--on-dark-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.site-nav a.nav-link:hover, .site-nav a.nav-link[aria-current="page"] { color: var(--white); }
.site-nav .btn { padding: 11px 20px; font-size: 14px; }

.nav-toggle {
  display: none; background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px; width: 44px; height: 40px; color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 24px 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a.nav-link { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 16px; }
  .site-nav .btn { margin-top: 16px; justify-content: center; padding: 14px 20px; font-size: 15px; }
}

/* ---------- Dark (navy) sections ---------- */
.on-dark { background: var(--navy-bg); color: var(--on-dark-2); position: relative; overflow: hidden; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark a:not(.btn) { color: var(--white); }

.rings { position: absolute; inset: 0; pointer-events: none; }
.rings span { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.07); }
.rings span:nth-child(1) { width: 420px; height: 420px; right: 6%; top: 12%; }
.rings span:nth-child(2) { width: 540px; height: 540px; right: calc(6% - 60px); top: calc(12% - 60px); border-color: rgba(255, 255, 255, 0.055); }
.rings span:nth-child(3) { width: 680px; height: 680px; right: calc(6% - 130px); top: calc(12% - 130px); border-color: rgba(255, 255, 255, 0.04); }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 88px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.4fr 0.6fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; margin-bottom: 22px; }
.hero h1 .grad-text { display: inline-block; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--on-dark-2); max-width: 640px; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 440px; }
.hero-art img { position: relative; width: min(100%, 340px); opacity: 0.96; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }
.art-rings { position: absolute; inset: 0; pointer-events: none; }
.art-rings span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); }
.art-rings span:nth-child(1) { width: 400px; height: 400px; }
.art-rings span:nth-child(2) { width: 520px; height: 520px; border-color: rgba(255, 255, 255, 0.055); }
.art-rings span:nth-child(3) { width: 650px; height: 650px; border-color: rgba(255, 255, 255, 0.035); }

.chips { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  font-size: 13.5px; font-weight: 600; color: var(--on-dark-2);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.11);
}

@media (max-width: 920px) {
  .hero { padding: 64px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}
@media (max-width: 620px) { .chips { display: none; } }

/* ---------- Light sections ---------- */
.section { padding: 96px 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p:not(.eyebrow) { font-size: 18px; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 920px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .section { padding: 72px 0; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative;
}
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(43, 212, 197, 0.16), rgba(59, 130, 246, 0.16) 55%, rgba(139, 92, 246, 0.16));
  color: var(--navy-700);
}
.card .icon svg { width: 24px; height: 24px; }
.card-cta { background: var(--ink); border-color: var(--ink); color: var(--on-dark-2); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.card-cta h3 { color: var(--white); }
.card-cta p { color: var(--on-dark-2); }
.card-cta .btn { align-self: flex-start; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: 30px; font-weight: 800; line-height: 1; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About / why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.founder {
  margin-top: 28px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--mist); border: 1px solid var(--line);
}
.founder p { margin: 0; font-size: 16px; }
.founder strong { color: var(--ink); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.points svg { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.points h3 { font-size: 18px; margin-bottom: 4px; }
.points p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Candidates band ---------- */
.band { padding: 88px 0; }
.band-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .band-grid { grid-template-columns: 1fr; } }
.band p { font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.10); color: var(--on-dark-2); font-size: 16px; line-height: 1.5; }
.ticks svg { width: 22px; height: 22px; color: var(--teal); margin-top: 1px; }
.resume-note { margin-top: 18px; font-size: 15px; color: var(--on-dark-3); }

/* ---------- Contact ---------- */
.contact-card h3 { display: flex; align-items: center; gap: 10px; }
.contact-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 16px; }
.contact-list svg { width: 20px; height: 20px; color: var(--navy-700); margin-top: 3px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.address { font-style: normal; color: var(--text); }
.resume-note-light { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.map-link { margin: 14px 0 0; font-size: 15px; }
.map-link a { font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 76px 0 64px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 16px; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Jobs ---------- */
.job { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
@media (max-width: 720px) { .job { grid-template-columns: 1fr; } }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; padding: 0; list-style: none; }
.job-meta li { font-size: 13.5px; font-weight: 600; color: var(--navy-700); background: #eaf1fb; padding: 6px 12px; border-radius: 999px; }
.job ul.req { margin: 0; padding-left: 20px; color: var(--text); font-size: 16px; }
.job ul.req li { margin-bottom: 6px; }
.careers-note { margin-top: 20px; }
.careers-note-first { margin-top: 0; }
.careers-note p { margin: 0 0 8px; }
.careers-note p:last-child { margin-bottom: 0; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 40px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-3); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-tagline { margin-top: 18px; font-size: 15px; color: var(--on-dark-2); max-width: 440px; }
.footer-follow { margin-top: 28px; }
.site-footer .follow-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--white); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; transition: background-color 0.15s ease, border-color 0.15s ease; }
.site-footer .follow-btn svg { width: 15px; height: 15px; flex: none; }
.site-footer .follow-btn:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.3); color: var(--white); text-decoration: none; }
.site-footer .follow-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer-rule { height: 2px; background: var(--grad); margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
