/* Thero | Brighter project registers, 2 November 2026.
   Scoped to the five sector project lists. Dark sector design is unchanged. */
body.sector-dark-readable .sf-projects {
  --pl-accent:#18796f; --pl-accent-deep:#105b54; --pl-tint:#edf7f4;
  --pl-stripe:#f6faf8; --pl-hover:#e9f5f1; --pl-rule:#d6e7e1;
  --pl-input-rule:#a4bdb5; --pl-ink:#17352f; --pl-muted:#4b625d;
}
body.sector-dark-readable[data-page="water"] .sf-projects {
  --pl-accent:#237792; --pl-accent-deep:#18596e; --pl-tint:#edf5fa;
  --pl-stripe:#f6f9fc; --pl-hover:#e7f2fa; --pl-rule:#d6e4ed;
  --pl-input-rule:#a4bac9; --pl-ink:#183342; --pl-muted:#4b6270;
}
body.sector-dark-readable[data-page="mining"] .sf-projects {
  --pl-accent:#9b5737; --pl-accent-deep:#74402a; --pl-tint:#fbf1eb;
  --pl-stripe:#fcf9f6; --pl-hover:#f8ece2; --pl-rule:#e9ded5;
  --pl-input-rule:#c3ab9b; --pl-ink:#382b25; --pl-muted:#6b5950;
}
body.sector-dark-readable[data-page="social-infrastructure"] .sf-projects {
  --pl-accent:#8a6728; --pl-accent-deep:#654b1d; --pl-tint:#f8f3e6;
  --pl-stripe:#fcfaf4; --pl-hover:#f5eedb; --pl-rule:#e5dfcc;
  --pl-input-rule:#bdb18f; --pl-ink:#342f20; --pl-muted:#655f4c;
}
body.sector-dark-readable[data-page="transportation"] .sf-projects {
  --pl-accent:#ac3c50; --pl-accent-deep:#802d3d; --pl-tint:#fcf0f2;
  --pl-stripe:#fdf8f9; --pl-hover:#fbe8ec; --pl-rule:#ead8dd;
  --pl-input-rule:#c8a6af; --pl-ink:#382a31; --pl-muted:#68565e;
}
body.sector-dark-readable .sf-projects .thero-register {
  background:#fff; color:var(--pl-ink); color-scheme:light;
  border:2px solid var(--pl-accent); border-top-width:5px; border-radius:15px;
  overflow:hidden; box-shadow:0 18px 50px #00000012;
}
body.sector-dark-readable .sf-projects .thero-register-toolbar {
  padding:27px 28px 25px; background:linear-gradient(110deg,#fff 40%,var(--pl-tint));
  color:var(--pl-ink); border-bottom:1px solid var(--pl-rule);
}
body.sector-dark-readable .sf-projects .thero-register-toolbar-title {
  color:var(--pl-ink); font-size:20px; font-weight:750; letter-spacing:-.02em;
}
body.sector-dark-readable .sf-projects .thero-register-filters {gap:8px; margin-bottom:22px}
body.sector-dark-readable .sf-projects .thero-register-filters .thero-filter-chip {
  background:#fff; color:var(--pl-muted); border:1px solid var(--pl-input-rule);
  border-radius:7px; font-size:13px; min-height:44px; padding:10px 15px;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
body.sector-dark-readable .sf-projects .thero-register-filters .thero-filter-chip:hover {
  background:var(--pl-tint); color:var(--pl-accent-deep); border-color:var(--pl-accent);
}
body.sector-dark-readable .sf-projects .thero-register-filters .thero-filter-chip[aria-pressed="true"] {
  background:var(--pl-accent); color:#fff; border-color:var(--pl-accent); font-weight:750;
}
body.sector-dark-readable .sf-projects .thero-register label {color:var(--pl-ink);font-size:13px;font-weight:700}
body.sector-dark-readable .sf-projects .thero-register input,
body.sector-dark-readable .sf-projects .thero-register select {
  background:#fff; color:var(--pl-ink); border:1px solid var(--pl-input-rule);
  border-radius:7px; font-size:15px; min-height:48px; color-scheme:light;
  padding:11px 13px; box-shadow:0 1px 3px #00000003;
}
body.sector-dark-readable .sf-projects .thero-register input::placeholder {color:var(--pl-muted);opacity:1}
body.sector-dark-readable .sf-projects .thero-register option {background:#fff;color:var(--pl-ink)}
body.sector-dark-readable .sf-projects .thero-filter-reset {
  background:#fff; color:var(--pl-accent-deep); border:1px solid var(--pl-accent);
  min-height:48px; border-radius:7px; font-weight:700; font-size:13px;
}
body.sector-dark-readable .sf-projects .thero-filter-reset:hover {background:var(--pl-tint)}
body.sector-dark-readable .sf-projects .thero-register :is(button,input,select,a):focus-visible {
  outline:3px solid var(--pl-accent); outline-offset:3px;
}
body.sector-dark-readable .sf-projects .thero-register-header {
  background:var(--pl-tint); color:var(--pl-accent-deep);
  font-size:12px; font-weight:800; letter-spacing:.07em; text-transform:uppercase;
  border-bottom:1px solid var(--pl-input-rule); padding:16px 28px;
}
body.sector-dark-readable .sf-projects .thero-register-list {background:#fff}
body.sector-dark-readable .sf-projects .thero-register-item {
  background:#fff; color:var(--pl-ink); border-top:1px solid var(--pl-rule);
  padding:20px 28px; min-height:78px; gap:20px; line-height:1.6; transition:background .15s ease;
}
body.sector-dark-readable .sf-projects .thero-register-item:first-child {border-top:0}
body.sector-dark-readable .sf-projects .thero-register-item:nth-child(even) {background:var(--pl-stripe)}
body.sector-dark-readable .sf-projects .thero-register-item:hover,
body.sector-dark-readable .sf-projects .thero-register-item:focus-within {
  background:var(--pl-hover); box-shadow:inset 3px 0 0 var(--pl-accent);
}
body.sector-dark-readable .sf-projects .thero-register-title {
  color:var(--pl-ink); font-size:16px; font-weight:700; line-height:1.6; overflow-wrap:anywhere; min-width:0;
}
body.sector-dark-readable .sf-projects .thero-register-title a {color:var(--pl-accent-deep)}
body.sector-dark-readable .sf-projects .thero-register-client {
  color:var(--pl-muted); font-size:14px; line-height:1.6; overflow-wrap:anywhere; min-width:0;
}
body.sector-dark-readable .sf-projects .thero-register-sector {
  background:var(--pl-tint); color:var(--pl-accent-deep); border:1px solid var(--pl-rule);
  font-size:12px; font-weight:650; line-height:1.5; padding:6px 10px; border-radius:6px;
  justify-self:start; overflow-wrap:anywhere;
}
body.sector-dark-readable .sf-projects .thero-register-status {
  background:#edf6f0; color:#24573b; border:1px solid #c3dbcc;
  font-size:12px; font-weight:700; line-height:1.4; padding:7px 10px; border-radius:6px;
}
body.sector-dark-readable .sf-projects .thero-register-status[data-status="in-progress"] {
  background:#fff5dc; color:#755414; border-color:#e9d6a4;
}
body.sector-dark-readable .sf-projects .thero-register-footer,
body.sector-dark-readable .sf-projects .thero-register-empty {
  background:#fff; color:var(--pl-muted); border-color:var(--pl-rule); font-size:14px;
}
body.sector-dark-readable .sf-projects .thero-register-empty {padding:30px 28px}
body.sector-dark-readable .sf-projects .thero-register-footer a {color:var(--pl-accent-deep)}
body.sector-dark-readable .sf-projects .thero-register-cta {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px;
  margin:0; padding:22px 28px; background:var(--pl-tint); color:var(--pl-ink);
  border:0; border-top:1px solid var(--pl-input-rule); border-radius:0;
}
body.sector-dark-readable .sf-projects .thero-register-cta p {
  margin:0; font-size:16px; font-weight:650; line-height:1.6; color:var(--pl-ink);
}
body.sector-dark-readable .sf-projects .thero-register-cta a {
  display:inline-flex; align-items:center; justify-content:center; gap:24px;
  background:var(--pl-accent); color:#fff; border:1px solid var(--pl-accent);
  padding:12px 18px; min-height:48px; border-radius:7px; font-size:14px; font-weight:750; text-decoration:none;
}
body.sector-dark-readable .sf-projects .thero-register-cta a:hover {background:var(--pl-accent-deep)}
@media(max-width:1000px) {
  body.sector-dark-readable .sf-projects .thero-register-header,
  body.sector-dark-readable .sf-projects .thero-register-item {gap:14px;padding-inline:20px}
  body.sector-dark-readable .sf-projects .thero-register-title {font-size:15px}
}
@media(max-width:700px) {
  body.sector-dark-readable .sf-projects .thero-register {border-radius:12px}
  body.sector-dark-readable .sf-projects .thero-register-toolbar {padding:21px 18px}
  body.sector-dark-readable .sf-projects .thero-register-toolbar-title {font-size:19px}
  body.sector-dark-readable .sf-projects .thero-register input,
  body.sector-dark-readable .sf-projects .thero-register select {font-size:16px}
  body.sector-dark-readable .sf-projects .thero-register-item {
    grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:22px 18px;
  }
  body.sector-dark-readable .sf-projects .thero-register-title {font-size:16px;line-height:1.55}
  body.sector-dark-readable .sf-projects .thero-register-client {font-size:14px}
  body.sector-dark-readable .sf-projects .thero-register-client::before {
    content:"Client: ";font-size:12px;font-weight:700;color:var(--pl-muted);
  }
  body.sector-dark-readable .sf-projects .thero-register-sector {font-size:11px;padding:5px 8px}
  body.sector-dark-readable .sf-projects .thero-register-status {align-self:start;font-size:11px;padding:6px 8px}
  body.sector-dark-readable .sf-projects .thero-register-cta {padding:22px 18px}
  body.sector-dark-readable .sf-projects .thero-register-cta a {width:100%}
}
@media(prefers-reduced-motion:reduce) {body.sector-dark-readable .sf-projects .thero-register * {transition:none}}
@media print {
  body.sector-dark-readable .sf-projects {background:#fff;color:#17352f}
  body.sector-dark-readable .sf-projects h2,
  body.sector-dark-readable .sf-projects .section-intro p {color:#17352f}
  body.sector-dark-readable .sf-projects .thero-register {box-shadow:none}
}
