/* --------------------------------------------------------------------------
   NEURAL CRITIC — SEARCH / ARCHIVE
   Quiet editorial search experience with NeuralHustle neon interaction cues.
   -------------------------------------------------------------------------- */
.search-work-page{
  --nc-search-cyan:#52e2f7;
  --nc-search-violet:#7768ff;
  width:min(1180px,calc(100% - 56px));
  margin:0 auto;
  padding:64px 0 104px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.search-work-eyebrow{
  display:block;
  margin-bottom:12px;
  color:var(--nc-search-cyan);
  font:800 8px/1 Inter,system-ui,sans-serif;
  letter-spacing:.18em;
}
.search-work-page h1{
  max-width:760px;
  margin:0 0 27px;
  color:var(--text,#f7f8ff);
  font:650 clamp(52px,5.8vw,76px)/.94 Inter,system-ui,sans-serif;
  letter-spacing:-.06em;
  text-wrap:balance;
}
.search-work-page h1::after{
  content:"";
  display:block;
  width:58px;
  height:3px;
  margin-top:17px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--nc-search-cyan),var(--nc-search-violet));
}

.search-work-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:7px;
  border:1px solid rgba(124,142,255,.20);
  border-radius:16px;
  background:color-mix(in srgb,var(--surface) 90%,transparent);
  box-shadow:0 16px 45px rgba(3,7,18,.12);
  transition:border-color .2s,box-shadow .2s;
}
.search-work-form:focus-within{
  border-color:rgba(82,226,247,.48);
  box-shadow:0 0 0 4px rgba(82,226,247,.055),0 18px 48px rgba(3,7,18,.14);
}
.search-work-form input{
  width:100%;min-width:0;height:52px;padding:0 15px;
  border:0;outline:0;background:transparent;color:var(--text,#f7f8ff);
  font:450 15px/1 Inter,system-ui,sans-serif;
  letter-spacing:-.012em;
}
.search-work-form input::placeholder{color:var(--muted);opacity:.78}
.search-work-form button{
  height:46px;
  min-width:96px;
  padding:0 18px;
  border:1px solid rgba(82,226,247,.44);
  border-radius:10px;
  background:linear-gradient(110deg,rgba(82,226,247,.13),rgba(119,104,255,.17));
  color:var(--nc-search-cyan);
  font:800 8px/1 Inter,system-ui,sans-serif;
  letter-spacing:.09em;
  cursor:pointer;
  transition:transform .18s,border-color .18s,background .18s;
}
.search-work-form button:hover{transform:translateY(-1px);border-color:rgba(82,226,247,.72);background:linear-gradient(110deg,rgba(82,226,247,.18),rgba(119,104,255,.22))}

.search-work-filters{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 32px}
.search-work-filters button{
  min-height:30px;
  padding:0 12px;
  border:1px solid rgba(126,139,166,.25);
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  font:750 7.5px/1 Inter,system-ui,sans-serif;
  letter-spacing:.07em;
  cursor:pointer;
  transition:color .18s,border-color .18s,background .18s,transform .18s;
}
.search-work-filters button:hover{transform:translateY(-1px);border-color:rgba(82,226,247,.50);color:var(--nc-search-cyan)}
.search-work-filters button.active{
  border-color:rgba(119,104,255,.55);
  background:linear-gradient(110deg,rgba(82,226,247,.09),rgba(119,104,255,.13));
  color:#f6f8ff;
}

.search-work-summary{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin-bottom:0;padding-bottom:14px;
  border-bottom:1px solid rgba(128,141,167,.27);
}
.search-work-summary strong{color:var(--text,#f7f8ff);font:800 8.5px/1 Inter,system-ui,sans-serif;letter-spacing:.11em}
.search-work-summary span{color:var(--muted);font:450 10.5px/1 Inter,system-ui,sans-serif}

.search-work-results{display:grid}
.search-work-card{
  display:grid;
  grid-template-columns:245px minmax(0,1fr);
  gap:24px;
  min-height:180px;
  padding:24px 0;
  border:0;
  border-bottom:1px solid color-mix(in srgb,var(--line) 86%,transparent);
  border-radius:0;
  background:transparent;
  overflow:visible;
  transition:transform .22s ease;
}
.search-work-card:hover{transform:translateX(3px);background:transparent;box-shadow:none}
.search-work-card-media{
  position:relative;
  height:154px;
  min-height:154px;
  border:1px solid rgba(124,142,255,.18);
  border-radius:14px;
  overflow:hidden;
  background:#090d1b;
}
.search-work-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .42s cubic-bezier(.16,1,.3,1)}
.search-work-card:hover img{transform:scale(1.035)}
.search-work-card-copy{align-self:center;padding:0}
.search-work-card-copy>span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin-bottom:9px;
  padding:0 8px;
  border:1px solid rgba(82,226,247,.42);
  border-radius:999px;
  background:rgba(82,226,247,.055);
  color:var(--nc-search-cyan);
  font:800 7.25px/1 Inter,system-ui,sans-serif;
  letter-spacing:.12em;
}
.search-work-card h2{
  max-width:680px;
  margin:0 0 8px;
  color:var(--text,#f7f8ff);
  font:650 24px/1.06 Inter,system-ui,sans-serif;
  letter-spacing:-.038em;
  text-wrap:balance;
}
.search-work-card p{max-width:720px;margin:0 0 14px;color:var(--muted);font:450 12px/1.54 Inter,system-ui,sans-serif}
.search-work-meta{color:color-mix(in srgb,var(--muted) 86%,var(--text,#fff));font:700 7.5px/1 Inter,system-ui,sans-serif;letter-spacing:.06em}

.search-work-empty{
  margin-top:22px;
  padding:66px 22px;
  border:1px solid rgba(124,142,255,.20);
  border-radius:18px;
  text-align:center;
  background:color-mix(in srgb,var(--surface) 86%,transparent);
}
.search-work-empty b{display:block;color:var(--nc-search-cyan);font-size:34px;margin-bottom:10px}
.search-work-empty h2{margin:0 0 8px;font:700 25px/1 Inter,system-ui,sans-serif;letter-spacing:-.035em}
.search-work-empty p{margin:0;color:var(--muted);font:450 12px/1.5 Inter,system-ui,sans-serif}

html[data-theme=light] .search-work-page h1,
html[data-theme=light] .search-work-card h2,
html[data-theme=light] .search-work-summary strong{color:#17212f}
html[data-theme=light] .search-work-form,
html[data-theme=light] .search-work-empty{background:#fff;border-color:#dfe4e8;box-shadow:0 14px 38px rgba(31,43,59,.055)}
html[data-theme=light] .search-work-form input{color:#17212f}
html[data-theme=light] .search-work-form input::placeholder{color:#7b8791}
html[data-theme=light] .search-work-card{border-color:#e3e7ea}
html[data-theme=light] .search-work-card-media{background:#f4f6f7;border-color:#e0e5ea}
html[data-theme=light] .search-work-card p{color:#697681}
html[data-theme=light] .search-work-summary{border-color:#dfe4e8}
html[data-theme=light] .search-work-filters button{border-color:#d8dfe4;color:#687480}
html[data-theme=light] .search-work-filters button.active{border-color:#998cff;background:linear-gradient(110deg,rgba(82,226,247,.08),rgba(119,104,255,.10));color:#5f55dd}
html[data-theme=light] .search-work-card-copy>span{background:#f2fbfd;color:#1aaac3;border-color:#bfeaf1}

@media(max-width:760px){
  .search-work-page{width:calc(100% - 28px);padding:48px 0 74px}
  .search-work-page h1{font-size:clamp(46px,12vw,64px)}
  .search-work-page h1::after{margin-top:14px}
  .search-work-form{grid-template-columns:1fr}
  .search-work-form button{width:100%;height:44px}
  .search-work-card{grid-template-columns:1fr;gap:14px;padding:21px 0}
  .search-work-card-media{height:210px}
  .search-work-card-copy{padding:0 3px 4px}
  .search-work-card h2{font-size:22px}
  .search-work-summary{align-items:flex-start;flex-direction:column;gap:5px}
}
