/* program-specialists.com - no dependencies, no webfonts */
:root {
  --bg: oklch(0.985 0.005 95);
  --surface: oklch(1 0 0);
  --ink: oklch(0.22 0.04 250);
  --ink-soft: oklch(0.45 0.03 250);
  --navy: oklch(0.32 0.10 250);
  --navy-deep: oklch(0.26 0.08 250);
  --accent: oklch(0.62 0.15 55);
  --border: oklch(0.90 0.015 250);
  --link: oklch(0.42 0.13 250);
  --radius: 10px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

.container { max-width: 71rem; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 47rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 0; }

a { color: var(--link); }
a:hover { color: var(--navy-deep); }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  color: var(--navy); text-decoration: none;
}
.brand-mark { width: 1.7rem; height: 1.7rem; }
.brand-name { font-size: 1.2rem; letter-spacing: -0.01em; }
.brand-name strong { font-weight: 750; }
.site-nav { display: flex; gap: 1.4rem; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.98rem;
}
.site-nav a:hover { color: var(--navy); text-decoration: underline; }

/* Hero */
.hero {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 65%, oklch(0.40 0.11 245));
  color: oklch(0.985 0.005 95);
  padding: 4.5rem 0 4rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15; margin: 0 0 1rem; max-width: 44rem;
}
.hero p { font-size: 1.15rem; max-width: 40rem; margin: 0; opacity: 0.9; }
.hero .hero-actions { margin-top: 1.75rem; }
.btn {
  display: inline-block; background: var(--surface); color: var(--navy-deep);
  font-weight: 650; text-decoration: none; padding: 0.7rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
}
.btn:hover { background: oklch(0.94 0.01 95); color: var(--navy-deep); }

/* Sections */
.section { padding: 3.25rem 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 {
  font-family: var(--serif); font-size: 1.75rem; line-height: 1.25;
  margin: 0 0 0.5rem;
}
.section .section-sub { color: var(--ink-soft); margin: 0 0 1.75rem; max-width: 44rem; }

/* Cards */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.1rem; margin-top: 1.5rem;
}
.card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem;
  text-decoration: none; color: var(--ink);
  transition: border-color 120ms ease, transform 120ms ease;
}
.card:hover { border-color: var(--navy); transform: translateY(-2px); color: var(--ink); }
.card h3 {
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.3;
  margin: 0 0 0.5rem; color: var(--navy-deep);
}
.card p { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }
.card-more { font-weight: 600; font-size: 0.9rem; color: var(--accent); }

.pillar-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem; margin-top: 1.5rem;
}
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.pillar h3 { font-family: var(--serif); margin: 0 0 0.4rem; font-size: 1.1rem; color: var(--navy-deep); }
.pillar p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }

/* Category tiles */
.tile-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem; margin-top: 1.5rem;
}
.tile {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-left: 4px solid var(--navy);
  border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: var(--ink);
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-card, 0 10px 30px -12px rgba(20,40,80,0.18)); color: var(--ink); }
.tile h3 { font-family: var(--serif); margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--navy-deep); }
.tile p { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; flex: 1; }
.tile-count { font-weight: 600; font-size: 0.82rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.03em; }

.card-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--navy); background: oklch(0.95 0.02 250);
  padding: 0.2rem 0.55rem; border-radius: 999px; margin-bottom: 0.6rem; align-self: flex-start;
}
.card { display: flex; flex-direction: column; }
.card p { flex: 1; }

/* Articles and text pages */
.article { padding: 2.75rem 0 3.5rem; }
.article-header { margin-bottom: 2rem; }
.article-header .crumb { margin: 0 0 0.75rem; font-size: 0.9rem; }
.article-header .crumb a { text-decoration: none; font-weight: 600; color: var(--accent); }
.article h1 {
  font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.2; margin: 0 0 0.75rem;
}
.article .byline { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.article .lead { font-size: 1.17rem; line-height: 1.65; color: var(--ink); }
.article h2 {
  font-family: var(--serif); font-size: 1.55rem; line-height: 1.3;
  margin: 2.4rem 0 0.75rem;
}
.article h3 { font-size: 1.12rem; margin: 1.8rem 0 0.5rem; }
.article ul, .article ol { padding-left: 1.4rem; }
.article li { margin-bottom: 0.45rem; }

.table-wrap, .article table { max-width: 100%; }
.article table {
  border-collapse: collapse; width: 100%; margin: 1.25rem 0;
  font-size: 0.95rem; line-height: 1.5; display: block; overflow-x: auto;
}
.article th, .article td {
  border: 1px solid var(--border); padding: 0.6rem 0.75rem; text-align: left;
  vertical-align: top; background: var(--surface);
}
.article th { background: oklch(0.95 0.015 95); font-weight: 650; }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: oklch(0.88 0.01 95);
  margin-top: 3rem; padding: 2.75rem 0 2rem; font-size: 0.93rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem;
  padding-bottom: 1.75rem; border-bottom: 1px solid oklch(0.38 0.06 250);
}
.footer-title { font-weight: 700; color: #fff; margin: 0 0 0.5rem; font-size: 1rem; }
.footer-brand p { margin: 0 0 0.5rem; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: 0.45rem; align-items: flex-start; }
.footer-nav a { color: oklch(0.88 0.01 95); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-legal { padding-top: 1.5rem; }
.footer-legal p { margin: 0 0 0.6rem; opacity: 0.75; line-height: 1.6; }

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding: 3rem 0 2.75rem; }
  .header-inner { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 1.1rem; }
}
