/* Task Forward — 2026 redesign system. Loaded after the compiled Astro bundle
   on every page so these rules win on source order without needing !important.
   Do NOT fold this into the Astro bundle — that file is a hashed build artifact. */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root{
  --charcoal:#1A1A1A;
  --neutral-50:#F9F8F7;
  --neutral-100:#F0EDE9;
  --neutral-200:#E8E4E0;
  --neutral-400:#726A62;
  --neutral-600:#5A534D;

  /* Modernized palette: white instead of porcelain/stone, near-black instead of gray body text */
  --cream:#FFFFFF;
  --sand:#FFFFFF;
  --mist:#161616;
  --ink:#141414;
}

body{
  font-family:'DM Sans',Helvetica Neue,Helvetica,Arial,sans-serif;
  background:#FFFFFF;
  color:var(--charcoal);
  letter-spacing:0.005em;
  font-size:17px;
  line-height:1.65;
}
h1,h2,h3,h4,h5,h6{ font-family:'Sora',sans-serif; letter-spacing:-0.015em; color:var(--ink); }
p{ line-height:1.75; }
/* Intro/lede paragraphs (About, Contact, Services, Team, Work, Resources, Join Us)
   were sized/colored by the compiled bundle's .lede rule with a hardcoded gray
   that predates the palette pass — bring it in line with --mist and size it up
   slightly for a more premium, readable feel. */
.lede{ font-size:clamp(17px,1.6vw,20px); color:var(--mist); }

/* ---- Nav ---- */
header{
  height:84px;
  display:flex;
  align-items:center;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
header .wrap.nav{ display:flex; align-items:center; justify-content:space-between; width:100%; }
header .logo .wm{ font-family:'Sora',sans-serif; font-weight:700; font-size:17px; letter-spacing:-0.01em; }
@media (min-width:961px){
  header ul#navmenu{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; }
}
header ul#navmenu li a{ font-family:'DM Sans',sans-serif; font-size:15px; font-weight:500; color:var(--charcoal); opacity:.85; transition:opacity .18s ease; }
header ul#navmenu li a:hover{ opacity:1; }
header ul#navmenu li a.btn{ font-family:'Sora',sans-serif; font-weight:600; opacity:1; }
header.hero-overlay-nav{ position:fixed; top:0; left:0; right:0; z-index:100; background:transparent; border-bottom-color:transparent; transition:background .35s ease, border-color .35s ease; }
header.hero-overlay-nav.scrolled{ background:rgba(255,255,255,.94); border-bottom-color:var(--line); }
header.hero-overlay-nav:not(.scrolled) .logo .wm,
header.hero-overlay-nav:not(.scrolled) ul#navmenu li a:not(.btn){ color:#fff; }
header.hero-overlay-nav:not(.scrolled) .logo svg path{ fill:#fff; }
/* The open mobile dropdown always has an opaque light background (see compiled
   .nav ul.open rule), so its links need dark text even on the transparent/overlay
   header state — otherwise they're invisible white-on-white. */
header.hero-overlay-nav:not(.scrolled) ul#navmenu.open li a:not(.btn){ color:var(--charcoal); }

/* ---- Buttons: reuse existing .btn / .btn.lt / .btn.ghost, just modernize weight/tracking ---- */
.btn{ font-family:'Sora',sans-serif; letter-spacing:0; }

/* ---- Page hero (About/Team/Work/Services/Resources/Contact/Join Us/Delegation Audit) ---- */
.pagehero{ min-height:380px !important; padding-top:84px !important; }
.pagehero-overlay{ background:linear-gradient(160deg,rgba(20,2,8,.55),rgba(91,8,31,.82)) !important; }
.pagehero-inner{ padding:0 0 64px !important; max-width:760px; }
.pagehero-inner h1{ font-family:'Sora',sans-serif; font-size:clamp(32px,4.2vw,54px); line-height:1.1; letter-spacing:-0.02em; font-weight:700; color:#fff; margin:0; }
.pagehero-eyebrow{ display:inline-flex; align-items:center; padding:7px 14px; border-radius:999px; font-family:'Sora',sans-serif; font-size:11px; font-weight:600; letter-spacing:.06em; color:rgba(255,255,255,.8); background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.15); margin-bottom:20px; }
.pagehero-lede{ font-family:'DM Sans',sans-serif; font-size:18px; line-height:1.7; color:rgba(255,255,255,.75); max-width:56ch; margin:18px 0 0; }

/* ---- Footer (new sitemap layout) ---- */
footer.tf-footer{ background:#111; padding:80px 0 40px; }
footer.tf-footer .wrap{ max-width:1140px; }
.tf-f-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:56px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.07); flex-wrap:wrap; }
.tf-f-blurb{ max-width:300px; font-size:14px; line-height:1.6; color:rgba(255,255,255,.35); margin-top:14px; }
.tf-f-cols{ display:grid; grid-template-columns:repeat(6,1fr); gap:28px; margin-bottom:48px; }
.tf-f-col h4{ font-family:'Sora',sans-serif; font-size:11px; font-weight:700; letter-spacing:.08em; color:rgba(255,255,255,.25); margin:0 0 16px; }
.tf-f-col a{ display:flex; align-items:center; gap:7px; font-size:13px; color:rgba(255,255,255,.5); margin-bottom:11px; text-decoration:none; transition:opacity .2s ease; }
.tf-f-col a:hover{ opacity:.7; }
.tf-f-badge{ padding:2px 6px; border-radius:3px; font-family:'Sora',sans-serif; font-size:9px; font-weight:700; letter-spacing:.04em; white-space:nowrap; }
.tf-f-badge.soon{ background:rgba(255,255,255,.07); color:rgba(255,255,255,.28); }
.tf-f-badge.avail{ background:rgba(91,8,31,.4); color:#F0A0B0; }
.tf-f-bottom{ display:flex; align-items:center; justify-content:space-between; padding-top:22px; border-top:1px solid rgba(255,255,255,.05); font-size:12px; color:rgba(255,255,255,.18); flex-wrap:wrap; gap:10px; }
@media (max-width:900px){ .tf-f-cols{ grid-template-columns:repeat(3,1fr); row-gap:32px; } }
@media (max-width:640px){ .tf-f-cols{ grid-template-columns:1fr 1fr; } }
