/* ============================================================
   Live Recruitment — Static Build stylesheet
   Hand-authored, semantic, class-based. Pairs with colors_and_type.css
   (design tokens). This is the CSS the WordPress theme should adopt.
   ============================================================ */

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

html, body {
  background: var(--ink-900);
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

/* buttons don't inherit font-family by default in the UA stylesheet */
button {
  font-family: inherit;
}

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

.wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

.disp {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--fg-2);
}

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

.muted {
  color: var(--fg-2);
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 40px 0;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-600);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  border-radius: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s cubic-bezier(.2, .7, .2, 1);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(30, 122, 220, .3), 0 16px 48px rgba(30, 122, 220, .22);
}

.btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(30, 122, 220, .55), 0 10px 30px rgba(30, 122, 220, .5), 0 20px 64px rgba(30, 122, 220, .6);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn--ghost:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 18px 52px rgba(255, 255, 255, .16);
}

/* Hover glow for the inline-styled CTA buttons that don't carry .btn classes */
.lr-cta-fill:hover,
.lr-cta-fill:focus-visible {
  --lr-accent-shadow: var(--lr-accent-shadow-hover);
  filter: brightness(1.08);
}

.lr-cta-ghost:hover,
.lr-cta-ghost:focus-visible {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .45), 0 18px 52px rgba(255, 255, 255, .16);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 152%;
  max-width: 2050px;
  opacity: 1;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 24%, rgba(0, 0, 0, .4), transparent 62%), radial-gradient(ellipse 84% 70% at 50% 15%, transparent, #000 82%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 96px);
  max-width: 1040px;
  margin: 18px auto 0;
}

.hero__sub {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: 20px;
  color: var(--fg-1);
  max-width: 640px;
  margin: 22px auto 0;
}

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ---- Search bar ---- */
.searchbar {
  background: var(--ink-800);
  border: 1px solid var(--ink-500);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  /* box-shadow: 0 14px 44px rgba(0, 0, 0, .55), 0 0 0 1px rgba(30, 122, 220, .3), 0 16px 48px rgba(30, 122, 220, .22); */
  box-shadow: 0 24px 80px rgba(0, 0, 0, .72), 0 0 0 1px rgba(30, 122, 220, .62), 0 16px 30px rgba(0, 0, 0, .45), 0 24px 64px rgba(30, 122, 220, .42), 0 0 0 1px rgba(30, 122, 220, .55), 0 10px 30px rgba(30, 122, 220, .5), 0 20px 64px rgba(30, 122, 220, .6);
}

.searchbar__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink-850);
  border: 1px solid var(--ink-600);
  border-radius: 10px;
  height: 58px;
  padding: 0 16px;
  color: var(--fg-3);
}

/* ---- Cards / grids ---- */
.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--ink-800);
  border: 1px solid var(--ink-600);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 0 0 1px rgba(30, 122, 220, .3), 0 16px 48px rgba(30, 122, 220, .22);
}

.card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1.04;
}

.card__body {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 11px;
}

.card__rule {
  height: 3px;
  background: var(--spectrum);
  border-radius: 2px;
}

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
}

.stat__label {
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--fg-3);
  margin-top: 4px;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: 13px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--fg-2);
}

/* ---- Job list / detail ---- */
.joblist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jobcard {
  display: block;
  background: var(--ink-800);
  border: 1px solid var(--ink-600);
  border-radius: 14px;
  padding: 18px 20px;
}

.jobcard__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 21px;
}

.jobcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--fg-2);
  font-size: 13px;
  margin-top: 8px;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--ink-600);
  padding: 64px 0 40px;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}

.site-footer__col h4 {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--fg-2);
  margin-bottom: 18px;
}

.site-footer__col a {
  display: block;
  color: var(--fg-2);
  font-size: 15px;
  padding: 6px 0;
}

.site-footer__col a:hover {
  color: #fff;
}

@media (max-width: 880px) {
  .grid--3, .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding: 0 20px;
  }

  .grid--2, .grid--3, .grid--4, .stats {
    grid-template-columns: 1fr;
  }

  .searchbar {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
  }
}