:root{
  --ink:#141925;
  --indigo:#303861;
  --amber:#CF8D24;
  --sand:#F4ECD8;
  --slate:#687381;
  --white:#FFFFFF;
  --line:#D9D2C2;
  --surface:#FBF7EE;
  --max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--sand);
  color:var(--ink);
  line-height:1.55;
}
a{color:inherit}
.wrap{max-width:var(--max);margin:auto;padding:0 24px}

.sitebar{
  background:var(--ink);
  color:var(--white);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.sitebar-inner{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand-mark{
  display:grid;
  grid-template-columns:repeat(3,9px);
  grid-template-rows:repeat(4,9px);
  gap:4px;
  width:max-content;
}
.brand-mark span{background:var(--white);border-radius:2px}
.brand-mark .amber{background:var(--amber)}
.brand-name{
  font-size:1.7rem;
  font-weight:800;
  letter-spacing:-.04em;
}
.brand-tagline{
  color:#D3D7DE;
  font-size:.83rem;
  white-space:nowrap;
}

header{
  padding:72px 0 46px;
  background:var(--sand);
  border-bottom:1px solid var(--line);
}
.eyebrow{
  color:var(--amber);
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
  font-size:.78rem;
}
h1{
  font-size:clamp(2.4rem,5.5vw,4.7rem);
  line-height:1.02;
  letter-spacing:-.055em;
  margin:.55rem 0 1.15rem;
  max-width:960px;
}
.lead{
  font-size:1.08rem;
  color:var(--slate);
  max-width:760px;
}
.stats{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.stat{
  background:var(--white);
  border:1px solid var(--line);
  padding:12px 16px;
  border-radius:10px;
  min-width:122px;
}
.stat strong{display:block;font-size:1.35rem;color:var(--ink)}

.filters{
  padding:28px 0 12px;
  position:sticky;
  top:0;
  background:rgba(244,236,216,.96);
  backdrop-filter:blur(10px);
  z-index:3;
}
.filter-grid{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px}
input,select,button{
  width:100%;
  background:var(--white);
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px 13px;
  font:inherit;
}
input:focus,select:focus,button:focus{
  outline:2px solid var(--amber);
  outline-offset:2px;
}
button{
  cursor:pointer;
  width:auto;
  padding:12px 18px;
  background:var(--ink);
  color:var(--white);
  border-color:var(--ink);
  font-weight:700;
}
button:hover{background:var(--indigo)}

.results-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin:28px 0 15px;
}
.results-head h2{margin:0;font-size:1.55rem}
#count{color:var(--slate)}

.cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  padding-bottom:72px;
}
.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px;
  display:flex;
  flex-direction:column;
  min-height:340px;
  box-shadow:0 8px 26px rgba(20,25,37,.04);
}
.card:hover{
  border-color:#BBAF96;
  transform:translateY(-1px);
}
.card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
.id{
  color:var(--amber);
  font-weight:800;
  font-size:.84rem;
  letter-spacing:.05em;
}
.track{
  font-size:.78rem;
  color:var(--indigo);
  border:1px solid #CDD0DE;
  background:#F3F4F8;
  padding:4px 8px;
  border-radius:999px;
}
.card h3{
  font-size:1.34rem;
  line-height:1.25;
  margin:13px 0 7px;
  letter-spacing:-.02em;
}
.sector{
  font-size:.9rem;
  color:var(--slate);
  margin-bottom:14px;
}
.problem{margin:0 0 16px}
.tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}
.tag{
  font-size:.77rem;
  background:var(--surface);
  border:1px solid var(--line);
  padding:5px 8px;
  border-radius:999px;
  color:var(--ink);
}
.expertise{
  font-size:.9rem;
  color:var(--slate);
  margin-top:auto;
}
.actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:18px;
  gap:12px;
}
.team{font-size:.85rem;color:var(--slate)}
.open{
  text-decoration:none;
  background:var(--amber);
  color:var(--ink);
  padding:9px 13px;
  border-radius:8px;
  font-weight:800;
}
.open:hover{filter:brightness(.96)}
.empty{
  grid-column:1/-1;
  padding:60px 20px;
  text-align:center;
  color:var(--slate);
  border:1px dashed #BBAF96;
  border-radius:12px;
  background:rgba(255,255,255,.4);
}

footer{
  background:var(--ink);
  color:#D8DBE2;
  padding:34px 0 50px;
}
footer strong{color:var(--white)}

@media(max-width:800px){
  .filter-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .filters{position:static}
  .brand-tagline{display:none}
  h1{font-size:2.6rem}
}
