/* ============================================================
   RS2TEK — Public Sector / Capabilities page styles
   Builds on styles.css design tokens.
   ============================================================ */

/* ---------- Public sector hero ---------- */
.ps-hero { padding-top: 150px; padding-bottom: clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.ps-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.ps-hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.ps-hero h1 .grad { color: var(--accent-2); }
.ps-hero .lead { margin-top: 24px; }
.ps-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ps-sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.ps-sectors .chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-soft);
  border: 1px solid var(--line); background: var(--paper); border-radius: 100px; padding: 8px 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.ps-sectors .chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

@media (max-width: 940px) { .ps-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Quick-facts card (the gov panel) ---------- */
.facts {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.facts-head { background: var(--primary); color: var(--on-dark); padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.facts-head .ttl { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.facts-head .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.facts-body { padding: 8px 26px 22px; }
.fact { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.fact:last-child { border-bottom: none; }
.fact .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fact .v { font-size: 16px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.fact .v.mono { font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; color: var(--primary-ink); }
.naics { display: grid; gap: 7px; }
.naics .row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; font-size: 14.5px; }
.naics .row b { font-family: var(--mono); font-weight: 700; color: var(--accent-2); font-size: 13.5px; }
.naics .row span { color: var(--ink-soft); }
.psc-codes { display: flex; flex-wrap: wrap; gap: 7px; }
.psc-codes span { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--primary-ink); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 5px 11px; }
.biz-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-badges span { font-size: 13px; font-weight: 700; color: var(--accent-2); background: var(--accent-soft); border-radius: 100px; padding: 6px 13px; }

/* ---------- Core competencies (compact reference list) ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.comp { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.comp:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.comp b { display: block; font-family: var(--display); font-weight: 600; font-size: 17.5px; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 6px; }
.comp span { display: block; font-size: 13.5px; color: var(--muted); text-wrap: pretty; }
.sec-head .lead a { color: var(--accent-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sec-head .lead a:hover { color: var(--accent); }
@media (max-width: 820px) { .comp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .comp-grid { grid-template-columns: 1fr; } }

/* ---------- Differentiator cards ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: clamp(36px, 4vw, 52px); }
.diff {
  grid-column: span 4; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.diff:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.diff .dicon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.diff h3 { font-size: 21px; margin-bottom: 9px; letter-spacing: -0.02em; }
.diff p { font-size: 15px; color: var(--muted); text-wrap: pretty; }
.diff.wide { grid-column: span 6; }
@media (max-width: 940px) { .diff, .diff.wide { grid-column: span 6; } }
@media (max-width: 600px) { .diff, .diff.wide { grid-column: span 12; } }

/* ---------- Regulatory band (dark) ---------- */
.reg-band { background: linear-gradient(160deg, var(--primary), var(--primary-2)); color: var(--on-dark); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.reg-band h2 { color: var(--on-dark); }
.reg-band .lead { color: var(--on-dark-muted); }
.reg-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.reg-chips .rchip {
  font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  color: var(--on-dark); border: 1px solid oklch(0.96 0.006 75 / 0.22); border-radius: 12px;
  padding: 16px 22px; display: flex; flex-direction: column; gap: 3px; min-width: 120px;
}
.reg-chips .rchip span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 400; }
@media (max-width: 820px) { .reg-grid { grid-template-columns: 1fr; } }

/* ---------- Leadership (cards styled in styles.css) ---------- */

/* ---------- Back link ---------- */
.nav .nlink.active { color: var(--ink); background: var(--surface); }
