:root{
  /* "Clean healthcare" palette inspired by your references (no logos, no brand assets). */
  --ink: #0B1220;
  --muted: #52606D;
  --bg: #F6F8FB;
  --panel: #FFFFFF;

  --navy: #0B2C4A;
  --teal: #0AA6A6;
  --blue: #2563EB;

  --border: rgba(11,18,32,.10);
  --shadow: 0 10px 25px rgba(11,18,32,.08);
  --radius: 16px;
  --radius2: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--ink);
  background: var(--bg);
}

.container{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(246,248,251,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}
.brand-image{
  display:block;
  width:220px;
  height:auto;
}
a.brand{color:inherit; text-decoration:none}
.brand-mark{
  width:36px;
  height:36px;
  border-radius:12px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: var(--shadow);
}
.brand-title{font-weight:750; letter-spacing:.2px}
.brand-subtitle{font-size:13px; color:var(--muted); margin-top:2px}

.nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.nav-link{
  text-decoration:none;
  color:var(--ink);
  font-weight:600;
  font-size:14px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
}
.nav-link:hover{
  border-color: var(--border);
  background: var(--panel);
}

.hero{
  padding:52px 0 20px;
  background:
    radial-gradient(900px 400px at 15% 10%, rgba(10,166,166,.18), transparent 60%),
    radial-gradient(900px 420px at 85% 0%, rgba(37,99,235,.18), transparent 55%),
    linear-gradient(180deg, rgba(11,44,74,.04), transparent 35%);
  border-bottom:1px solid var(--border);
}

h1{
  margin:0 0 10px;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing:-.4px;
}
.lead{
  margin:0;
  font-size:18px;
  color:var(--muted);
  line-height:1.5;
  max-width: 70ch;
}

.hero-cta{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  border:1px solid var(--border);
  background: var(--panel);
  color: var(--ink);
}
.btn:hover{transform: translateY(-1px)}
.btn-primary{
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color:#fff;
  border-color: transparent;
}
.btn-ghost{
  background: transparent;
}

.note{
  margin-top:18px;
  padding:14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.65);
  border:1px solid var(--border);
  color: var(--muted);
}

.section{padding:28px 0}
h2{margin:0 0 8px; font-size:22px}
h3{margin:0 0 6px; font-size:18px}
.muted{color:var(--muted)}

.grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}

.card{
  grid-column: span 6;
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius2);
  padding:18px 18px 16px;
  text-decoration:none;
  color:inherit;
  box-shadow: 0 1px 0 rgba(11,18,32,.03);
}
.card:hover{
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.25);
}
.card-title{font-weight:800; font-size:16px; margin-bottom:6px}
.card-text{color:var(--muted); line-height:1.45; margin-bottom:12px}
.card-tag{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(11,44,74,.06);
  border: 1px solid rgba(11,44,74,.12);
  color: var(--navy);
}

.callout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 1px 0 rgba(11,18,32,.03);
}

.site-footer{
  margin-top: 22px;
  padding: 26px 0;
  border-top:1px solid var(--border);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

@media (max-width: 820px){
  .card{grid-column: span 12;}
  .brand{min-width:unset}
  .brand-image{width:195px}
  .header-inner{flex-direction:column; align-items:flex-start}
  .nav{justify-content:flex-start}
}


/* Utility */
.hidden{display:none !important;}

/* ---------- FIX DARK TEXT ON DARK BACKGROUNDS ---------- */

/* Force readable text inside dark cards/sections */
.dark-card,
.dark-card *,
.section-dark,
.section-dark *,
.card.dark,
.card.dark * {
  color: #e8eef4;
}

/* Bullet points specifically */
.dark-card ul li,
.section-dark ul li {
  color: #e8eef4;
}

/* Muted callout boxes inside dark sections */
.dark-card .callout,
.section-dark .callout {
  color: #f1f5f9;
}

/* Headings on dark backgrounds */
.dark-card h1,
.dark-card h2,
.dark-card h3,
.dark-card h4,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

/* ---------- BLAIRCOMPASS POLISH PASS 2026 ---------- */

:root{
  --gold: #C9972B;
  --gold-soft: rgba(201,151,43,.14);
  --teal-soft: rgba(10,166,166,.13);
  --blue-soft: rgba(37,99,235,.12);
  --ink-soft: rgba(11,18,32,.72);
  --shadow-soft: 0 14px 34px rgba(11,18,32,.10);
  --shadow-hover: 0 20px 46px rgba(11,18,32,.15);
}

body{
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(10,166,166,.10), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(37,99,235,.08), transparent 55%),
    var(--bg);
}

.site-header{
  box-shadow: 0 1px 0 rgba(11,18,32,.04);
}

.brand-mark{
  position: relative;
  overflow: hidden;
}

.brand-mark::after{
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.42);
}

.brand-title{
  font-size: 15px;
}

.brand-subtitle{
  font-size: 12px;
}

.nav-link{
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-link:hover{
  transform: translateY(-1px);
}

.hero{
  padding: 64px 0 34px;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(10,166,166,.22), transparent 60%),
    radial-gradient(900px 420px at 88% 0%, rgba(37,99,235,.20), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.76), rgba(246,248,251,.72));
}

.hero .container{
  position: relative;
}

h1{
  line-height: 1.05;
}

h2{
  letter-spacing: -.15px;
}

.lead{
  color: var(--ink-soft);
}

.note,
.callout{
  box-shadow: var(--shadow-soft);
}

.btn{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary{
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.grid{
  gap: 18px;
}

.card{
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.card::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold));
  opacity: .82;
}

.card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37,99,235,.30);
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.94));
}

.card-title{
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.1px;
}

.card-text{
  font-size: 14.5px;
  color: var(--ink-soft);
}

.card-tag{
  background: linear-gradient(135deg, rgba(11,44,74,.08), rgba(10,166,166,.10));
  border-color: rgba(10,166,166,.20);
  color: var(--navy);
  letter-spacing: .01em;
}

.card-tag:contains("Live"){
  background: var(--teal-soft);
}

.section{
  padding: 34px 0;
}

.section > .container,
main.container.section{
  animation: bcFadeIn .24s ease-out;
}

@keyframes bcFadeIn{
  from{ opacity: 0; transform: translateY(4px); }
  to{ opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px){
  .hero{
    padding: 42px 0 24px;
  }

  .container{
    width: min(100% - 28px, 1100px);
  }

  .nav-link{
    padding: 9px 10px;
  }
}

/* ---------- END BLAIRCOMPASS POLISH PASS 2026 ---------- */



/* ---------- EDUCATION CARD POSTING DATES ---------- */

.card-date{
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
  margin: 2px 0 10px;
}

.card[data-posted] .card-date::before{
  content: "🗓️ ";
}
