/*
Theme Name: Bright Finders
Description: Theme for brightfinders.com. Generated from RECRUIT/site by wordpress/build_wp.mjs; edit the copy in site/build.mjs and rebuild.
Version: 1.0.925319
Requires at least: 6.4
Requires PHP: 8.0
Author: Bright Finders
License: GPL-2.0-or-later
Text Domain: brightfinders
*/
:root {
  --ink: #0a0a0a;
  --blue: #b0298f; /* old logo magenta: the one action colour */
  --blue-hover: #8f2174;
  --paper: #fff;
  --surface: #cbe4f2; /* old logo sky */
  --sand: #f1e3b5;
  --yellow: #ffc013;
  --line: #b9d5e6;
  --muted: #3d5866;
  --font: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --space: clamp(48px, 6.5vw, 96px);
  --width: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
}
.wrap { width: min(100%, var(--width)); margin-inline: auto; padding-inline: var(--gutter); }
img, svg { display: block; max-width: 100%; }
figure, p { margin: 0; }
p { max-width: 63ch; }
p + p { margin-top: .85em; }
a { color: var(--blue); text-underline-offset: .19em; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.85rem, 5.4vw, 5.125rem); line-height: .99; letter-spacing: -.065em; }
h2 { font-size: clamp(2.2rem, 3.65vw, 3.6rem); line-height: 1.04; letter-spacing: -.055em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.17; letter-spacing: -.028em; }
.lead { max-width: 42ch; font-size: clamp(1.125rem, 1.65vw, 1.35rem); line-height: 1.43; }
.small, figcaption { font-size: .875rem; }
.muted, figcaption { color: var(--muted); }
.link { font-weight: 650; }

.skip {
  position: fixed;
  inset: 10px auto auto var(--gutter);
  z-index: 10;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip:focus { transform: none; color: var(--paper); }
.bar { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; min-height: 76px; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.25rem; font-weight: 700; letter-spacing: -.035em; text-decoration: none; }
.brand svg { width: 27px; height: 27px; flex: none; }
.bar nav { display: flex; align-items: center; gap: clamp(16px, 2.35vw, 36px); margin-left: auto; }
.bar nav > a:not(.btn), .menu-btn { color: var(--ink); font-size: .9375rem; font-weight: 650; text-decoration: none; }
.bar nav > a:not(.btn):is(:hover, [aria-current]) { color: var(--blue); text-decoration: underline; }
.menu-btn { margin-left: auto; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); cursor: pointer; }
@media (min-width: 801px) { .menu-btn { display: none; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: 650 1rem/1.25 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:is(.primary, .dark) { background: var(--blue); color: var(--paper); }
.btn:is(.primary, .dark):hover { background: var(--blue-hover); color: var(--paper); }
.btn:disabled { opacity: .68; cursor: wait; }
.bar .btn { min-height: 44px; font-size: .9375rem; }

main section { padding-block: var(--space); }
.hero, .page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero { padding-block: clamp(36px, 5.5vw, 78px); }
.hero-layout, .intro-layout { display: grid; grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr); align-items: center; gap: clamp(24px, 5vw, 80px); }
.hero h1 { max-width: 10ch; }
.copy h1 + *, .copy .lead + * { margin-top: 24px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px; }
.photo { min-width: 0; }
.photo img { width: 100%; height: auto; }
.hero .photo img { width: 100%; aspect-ratio: 1.38; object-fit: cover; }
.photo figcaption { padding: 10px 0 0; }
.hero .photo { background: var(--ink); }
.hero .photo figcaption { display: flex; align-items: center; gap: 12px; padding: 13px 18px; color: #e3e7ee; }
.hero .photo figcaption::before { content: ""; width: 16px; height: 2px; flex: none; background: #5b8cff; }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.75rem, 5vw, 4.75rem); }
.page-hero .intro-layout .photo { width: min(100%, 480px); justify-self: end; }

.editorial, .form-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 8vw, 128px); align-items: start; }
.editorial > *, .form-layout > * { min-width: 0; }
.sector-rows article { border-top: 1px solid var(--line); padding-block: 23px; }
.sector-rows article:first-child { border-top: 2px solid var(--blue); padding-top: 17px; }
.sector-rows article:last-child { padding-bottom: 0; }
.sector-rows h3, .process h3 { margin-bottom: 10px; }
.search-strip { background: var(--ink); color: var(--paper); }
.search-strip .editorial p { color: #e3e7ee; }
.search-strip a { display: inline-block; margin-top: 1em; color: #a8c3ff; }
.search-strip :focus-visible { outline-color: #a8c3ff; }
.process { margin: 0; padding-left: 2rem; }
.process li { padding: 18px 0 18px 10px; border-top: 1px solid var(--line); }
.process li:last-child { padding-bottom: 0; }
.process li::marker { color: var(--blue); font-weight: 700; }

.market { background: var(--sand); border-bottom: 1px solid var(--line); }
.market-source { color: var(--muted); font-size: .9375rem; }
details > summary { cursor: pointer; font-weight: 650; }
.market-data { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.market-data > summary { color: var(--blue); }
.market-rows { margin: 12px 0 0; }
.market-rows > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 8px 16px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
}
.market-rows dt { font-weight: 700; }
.market-rows dd { margin: 0; }

.form-section h2 + p { margin-top: 16px; }
.form-panel {
  padding: clamp(18px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  background: var(--surface);
}
.form-panel noscript p { margin-bottom: 14px; }
form.f { position: relative; display: grid; gap: 14px; }
form.f .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
form.f label { display: grid; gap: 5px; min-width: 0; font-size: .9375rem; font-weight: 650; }
form.f input:not([type=checkbox]), form.f textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #9cabbc;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font);
}
form.f textarea { min-height: 100px; resize: vertical; }
form.f input::placeholder, form.f textarea::placeholder { color: var(--muted); }
form.f .check { display: flex; align-items: start; gap: 9px; font-weight: 400; }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
form.f .btn { justify-self: start; }
.hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.msg { display: none; padding: 10px 12px; background: var(--paper); border-left: 3px solid currentColor; }
.msg.ok { display: block; color: #17613b; }
.msg.err { display: block; color: #9b1c1c; }

/* The WordPress job templates also use these classes. */
.field-sand { background: var(--sand); }
.cards2 { max-width: 800px; }
.card2 { padding-block: 20px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.card2:first-child { border-top: 2px solid var(--blue); }
.card2 h3 + p, .card2 p + a { margin-top: 8px; }
.card2 a.link { display: inline-block; }
.card2 .meta { color: var(--muted); }
.jobs-market { margin-top: 12px; }
.prose h2 { margin: 28px 0 10px; font-size: clamp(1.5rem, 2.45vw, 2.25rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 67ch; }

.footer { padding-block: 44px 32px; background: var(--surface); border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 22px 42px; padding-bottom: 28px; }
.wordmark { margin-bottom: 5px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.045em; }
.foot p + p { margin-top: 0; }
.foot nav { align-self: end; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--ink); font-weight: 600; }
.credits { padding: 12px 0; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.credits ul { padding-left: 22px; }
.credits a { overflow-wrap: anywhere; }
.copyright { margin: 0; padding-top: 10px; color: var(--muted); font-size: .875rem; }

@media (max-width: 800px) {
  .bar .wrap { min-height: 64px; display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-block: 8px; }
  .brand { justify-self: start; }
  .bar nav { grid-column: 1 / -1; justify-content: start; flex-wrap: wrap; gap: 10px 18px; margin: 8px 0 0; }
  .bar nav.is-collapsible { display: none; }
  .bar nav.is-collapsible.open {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 16px 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 30px #0d172614;
  }
  .bar nav.is-collapsible a:not(.btn) { padding: 9px 0; }
  .bar nav.is-collapsible .btn { justify-self: start; margin-top: 8px; }
  .hero-layout, .intro-layout, .editorial, .form-layout { grid-template-columns: 1fr; }
  .page-hero .intro-layout .photo { justify-self: start; }
  .foot { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .copy h1 + *, .copy .lead + * { margin-top: 18px; }
  .hero h1 { font-size: clamp(2.65rem, 12.7vw, 3.6rem); }
  form.f .row, .market-rows > div { grid-template-columns: 1fr; }
  .market-rows > div { gap: 1px; }
}

/* Candi uses the same palette as the page. */
.fin-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 10px;
  background: var(--paper);
  color: var(--ink);
  font: 700 .875rem/1 var(--font);
  cursor: pointer;
}
.fin-btn:hover { color: var(--blue); border-color: var(--blue); }
.fin-btn svg { width: 18px; height: 18px; }
.fin {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100% - 32px));
  max-height: min(560px, calc(100dvh - 32px));
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 16px 40px #0d172631;
}
.fin header { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px; background: var(--ink); color: var(--paper); font-weight: 650; }
.fin header button { width: 36px; height: 36px; border: 0; background: transparent; color: inherit; font-size: 1.5rem; cursor: pointer; }
.fin header button:focus-visible { outline-color: #a8c3ff; }
.fin .log { flex: 1; overflow: auto; display: grid; gap: 8px; padding: 12px; font-size: .9375rem; }
.fin .b, .fin .u { padding: 8px 10px; border-radius: 4px; overflow-wrap: anywhere; }
.fin .b { background: var(--surface); }
.fin .u { justify-self: end; max-width: 85%; background: var(--blue); color: var(--paper); }
.fin .err { color: #9b1c1c; }
.fin .acts { display: flex; flex-wrap: wrap; gap: 6px; }
.fin .acts :is(a, button), .fin .row button { border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--blue); padding: 6px 10px; font: 650 .875rem var(--font); text-decoration: none; cursor: pointer; }
.fin .acts .primary, .fin .row button { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.fin .prog { padding: 0 12px; color: var(--muted); font-size: .875rem; }
.fin .row { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.fin .row input { flex: 1; min-width: 0; border: 1px solid #9cabbc; border-radius: 4px; padding: 6px 8px; font: 1rem var(--font); }
.fin label.c { display: flex; align-items: start; gap: 8px; font-size: .875rem; }
.fin label.c input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--blue); }
.fin label.c a { border: 0; padding: 0; text-decoration: underline; }
.fin input[type=file] { font-size: .875rem; max-width: 100%; }


/* old identity, balanced with the new layout (owner, 2026-11-24): fuel-bundle mark in the hero, four shapes and big wordmark at the bottom */
.hero-mark { width: 100%; max-width: 500px; height: auto; justify-self: center; }
.footer { background: var(--surface); }
.footer .bigmark { display: block; width: 100%; height: auto; margin: 8px 0 clamp(28px, 4vw, 48px); }
.footer .wordmark { font-weight: 600; letter-spacing: -.05em; line-height: .9; font-size: clamp(52px, 11vw, 168px); margin: 0 0 clamp(28px, 4vw, 44px); }
.form-section .form-card, .form-layout form { border-top-color: var(--blue); }

/* WordPress content */
.job-meta{color:var(--muted);margin:0 0 12px}.page-hero p a.link{display:inline-block;margin-bottom:20px}
