:root {
  --brand: #ff6600;
  --brand-600: #e25b00;
  --light: #f8f8f8;
  --ink: #1c1c1c;
  --ink-2: #2a2a2a;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  font-family: 'Roboto Condensed', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--light);
  line-height: 1.75;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .brand {
  font-family: 'Teko', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  text-transform: uppercase;
  letter-spacing: .5px;
}
h1 { font-size: 4rem; line-height: 1.05 }
h2 { font-size: 2.6rem; margin-bottom: 1rem }
h3 { font-size: 1.6rem }
p { margin-bottom: 1rem }

/* Layout helpers */
.section { padding: 6rem 0 }
.section-light { background: var(--light) }
.section-dark { background: #121212; color: #fff }
.container-narrow { max-width: 960px }

/* Navbar */
.navbar { box-shadow: 0 2px 8px rgba(0,0,0,.06); backdrop-filter: saturate(1.1) blur(2px) }
.navbar .navbar-brand { color: var(--brand); font-weight: 700; letter-spacing: 1px }
.navbar .btn-apply { background: var(--brand); color: #fff; border-radius: 8px }
.navbar .btn-apply:hover { background: var(--brand-600) }

/* Hero */
.hero {
  position: relative; min-height: 88vh; display: grid; place-items: center;
  background: #111 url('hero.webp') center/cover no-repeat; color: #fff; text-align: center;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.6)) }
.hero > .content { position: relative; z-index: 1 }
.hero .lead { font-size: 1.3rem; opacity: .95 }
.btn-brand { background: var(--brand); color: #fff; border: none; border-radius: 10px; padding: 1rem 2rem; font-weight: 700 }
.btn-brand:hover { background: var(--brand-600) }

/* Base cards */
.card { border: none; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card) }
.card img { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius) }
.card-body { display: flex; flex-direction: column }
.card-title { margin-bottom: .35rem }

/* Utilities */
.ticks { list-style: disc; padding-left: 1.1rem }
.ticks li { margin: .25rem 0 }
.ticks.compact li { margin: .15rem 0 }

.footer { background: #0f0f0f; color: #ddd }
.footer a { color: var(--brand); text-decoration: none }
.footer a:hover { color: var(--brand-600) }

@media (max-width: 992px) {
  h1 { font-size: 3.2rem }
  h2 { font-size: 2.2rem }
}

/* =========================================================
   CAREERS GRID: symmetry + bottom-pinned details (final)
   ========================================================= */
#careers .equal-cards > [class^="col-"], #careers .equal-cards > [class*=" col-"] { display: flex }
#careers .career-card { display: flex; flex-direction: column; width: 100%; height: 100% }
#careers .career-card .card-img-top { aspect-ratio: 3/2; object-fit: cover }
#careers .career-card .card-body { display: flex; flex-direction: column; gap: .55rem }
#careers .career-card .card-title { font-size: 1.25rem; line-height: 1.15 }
#careers .career-card .card-body > *:not(.details) { font-size: .95rem }
#careers .career-card .ticks { padding-left: 1rem }
#careers .career-card .ticks li { margin: .2rem 0 }
#careers .career-card .details {
  margin-top: auto; background: #f2f4f7; border-radius: 10px; padding: 0.9rem 1rem;
  display: flex; flex-direction: column; justify-content: center; height: 172px; overflow: hidden; font-size: 1rem;
}
#careers .career-card .details .small { line-height: 1.4 }
@media (max-width: 1199.98px) { #careers .career-card .details { height: 164px } }
@media (max-width: 767.98px) {  #careers .career-card .details { height: 156px } }

/* =========================================================
   POLICIES: modern cards + accordions
   ========================================================= */
#policies .policy-summary .card { border: 1px solid #eee }
#policies .icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; color: var(--brand); background: rgba(255,102,0,.12) }
#policies .badge-tier { background: rgba(255,102,0,.1); color: var(--brand); border: 1px solid var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: .25rem .5rem; border-radius: 6px }
#policies .badge-tier.alt { background: #f1f3f5; color: #333; border-color: #e3e7ea }
#policies .list-compact li { margin: .15rem 0 }
#policies .progress-thin { height: .5rem; background: #eef1f4; border-radius: 999px }
#policies .bg-brand { background: var(--brand)!important }
#policies .accordion-button { font-weight: 600; background: #fafafa }
#policies .accordion-button:not(.collapsed) { color: #000; background: #fff; box-shadow: none }
#policies .accordion-item { border: 1px solid #eee; border-radius: 10px; overflow: hidden; margin-bottom: .75rem }

/* =========================================================
   WHY JOIN: contemporary feature cards
   ========================================================= */
#why .equal-cards-why > [class^="col-"], #why .equal-cards-why > [class*=" col-"] { display: flex }
#why .feature-card { position: relative; display: flex; flex-direction: column; width: 100% }
#why .feature-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,102,0,.08), transparent 40%); pointer-events: none;
}
#why .feature-body { padding: 1.25rem 1.25rem 0 }
#why .feature-footer { padding: 1.1rem 1.25rem 1.25rem; margin-top: auto }
#why .feature-icon {
  width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--brand); box-shadow: 0 6px 18px rgba(255,102,0,.35); margin-bottom: .5rem;
}
#why .card-title { font-size: 1.35rem; margin: .35rem 0 .35rem }
#why .formula { background: #0f0f0f; color: #fff; border-radius: 10px; padding: .6rem .75rem; font-size: .9rem; overflow: auto }
#why .mini-ledger { border: 1px solid #eceff3; border-radius: 10px; padding: .6rem .8rem; background: #fafbfc; font-size: .95rem; margin-top: .5rem }
#why .mini-ledger > div { display: flex; justify-content: space-between; align-items: center; line-height: 1.4 }
#why .mini-ledger .strong { font-weight: 700 }
#why .grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem }
#why .grid-two.thin { gap: .5rem }
#why .label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .25rem }
#why .label.alt { color: #555 }
#why .pill { display: inline-block; background: rgba(0,0,0,.06); padding: .35rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 600 }
#why .pill.alt { background: rgba(255,102,0,.1); color: var(--brand) }
#why .callout-why { margin-top: 1rem; border: 1px dashed rgba(0,0,0,.12); border-radius: 10px; padding: .9rem 1rem; background: #fff }
#why .link-brand { color: var(--brand); text-decoration: none; font-weight: 700; margin-left: .35rem }
#why .link-brand:hover { color: var(--brand-600) }

/* =========================================================
   GEAR: deep, modern, dark section
   ========================================================= */
#gear .gear-metrics .metric-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: #fff; padding: .6rem .9rem; border-radius: 12px;
}
#gear .metric-title { font-size: .9rem; opacity: .85 }
#gear .metric-value { font-weight: 800; letter-spacing: .5px }

#gear .equal-cards-gear > [class^="col-"], #gear .equal-cards-gear > [class*=" col-"] { display: flex }
#gear .gear-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
#gear .gear-card .card-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.25rem }
#gear .gear-card .card-title { font-size: 1.35rem; margin: .15rem 0 .25rem }
#gear .gear-icon {
  width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: #111; background: #fff; box-shadow: 0 8px 22px rgba(255,255,255,.15); margin-bottom: .4rem;
}
#gear .timeline { margin-top: .5rem; padding-left: 1rem; border-left: 2px solid rgba(255,255,255,.18) }
#gear .timeline .step { font-size: .95rem; margin: .35rem 0; padding-left: .35rem }
#gear .timeline .step span { display: inline-block; min-width: 72px; font-weight: 700; color: var(--brand) }
#gear .badges-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem }
#gear .pill {
  display: inline-block; padding: .35rem .55rem; border-radius: 999px; font-weight: 700; font-size: .8rem;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14);
}
#gear .pill.alt { background: rgba(255,102,0,.15); color: #fff; border-color: rgba(255,102,0,.35) }
#gear .callout-ghost {
  border: 1px dashed rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  padding: .7rem .85rem; border-radius: 10px; color: #ddd;
}
#gear .compare {
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  border-radius: 12px; padding: .6rem .8rem; font-size: .95rem;
}
#gear .compare > div { display: flex; justify-content: space-between; margin: .2rem 0 }
#gear .compare .muted { opacity: .85 }
#gear .gear-cta.callout-bottom {
  border: 2px solid var(--brand); border-radius: 14px; padding: 1.1rem 1.25rem;
  background: rgba(255,102,0,.09); color: #fff;
}
#gear .link-brand { color: var(--brand); text-decoration: none; font-weight: 800; margin-left: .35rem }
#gear .link-brand:hover { color: #ff7f26 }

/* =========================================================
   MISSION: From a Master (cinematic testimonial)
   ========================================================= */
#mission.mission-section {
  position: relative;
  color: #fff;
  padding: 6rem 0;
  overflow: hidden;
}
#mission .mission-bg {
  position: absolute;
  inset: 0;
  background: url('mission-bg.webp') center/cover no-repeat;
  filter: brightness(0.4);
  z-index: 0;
}
#mission h2 {
  font-family: 'Teko', sans-serif;
  letter-spacing: 2px;
  color: var(--brand);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
}
#mission .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}
#mission .mission-quote {
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  z-index: 2;
}
#mission .blockquote {
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 400;
  color: #f0f0f0;
}
#mission .blockquote-footer {
  font-size: 1rem;
  opacity: 0.85;
}
#mission .divider {
  margin: 0 0.4rem;
  color: rgba(255,255,255,0.5);
}
#mission .highlight {
  color: var(--brand);
  font-weight: 700;
}

