/* ============================================
   STERLING PEAK HEALTHCARE — brand stylesheet
   Navy #262C7C · Gold #C9A227 · Ivory #FAF8F3
   ============================================ */

:root {
  --navy: #262C7C;
  --navy-deep: #1B2050;
  --navy-ink: #14173B;
  --gold: #C9A227;
  --gold-soft: #D9B64F;
  --gold-pale: #F2E7C4;
  --ivory: #FAF8F3;
  --paper: #FFFFFF;
  --text: #2A2823;
  --text-soft: #5C5A52;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light only; }

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,248,243,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(38,44,124,0.10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img { height: 52px; width: auto; }

.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.4px;
  line-height: 1.15;
}

.brand-name small {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--navy-deep);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a.active { border-bottom-color: var(--gold); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 11px 22px !important;
  border-radius: 3px;
  border-bottom: none !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy-deep); color: #fff !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.25s; }

/* ---------- corner-bracket signature ---------- */
.bracket {
  position: relative;
  display: inline-block;
  padding: 26px 38px;
}
.bracket::before, .bracket::after,
.bracket .b3::before, .bracket .b3::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
}
.bracket::before { top: 0; left: 0; border-top: 2.5px solid var(--gold); border-left: 2.5px solid var(--gold); }
.bracket::after { top: 0; right: 0; border-top: 2.5px solid var(--gold); border-right: 2.5px solid var(--gold); }
.bracket .b3::before { bottom: 0; left: 0; border-bottom: 2.5px solid var(--gold); border-left: 2.5px solid var(--gold); }
.bracket .b3::after { bottom: 0; right: 0; border-bottom: 2.5px solid var(--gold); border-right: 2.5px solid var(--gold); }

/* ---------- eyebrow + headings ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1.5px;
  background: var(--gold);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 34px; height: 1.5px;
  background: var(--gold);
}

h1, h2, h3 { font-family: 'Fraunces', serif; color: var(--navy-deep); font-weight: 600; }

h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.08; letter-spacing: -0.5px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.3; }

.lead { font-size: 19.5px; line-height: 1.7; color: var(--text-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.5px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, #D9B64F 0%, #C9A227 60%, #A9871C 100%);
  color: var(--navy-ink);
  box-shadow: 0 6px 18px rgba(201,162,39,0.35);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-pale); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(201,162,39,0.14) 0%, rgba(201,162,39,0) 45%),
    linear-gradient(160deg, #2E3490 0%, var(--navy) 45%, var(--navy-ink) 100%);
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding: 110px 0 120px;
}

.hero h1 { color: #fff; margin: 22px 0 24px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }

.hero .lead { color: rgba(255,255,255,0.82); max-width: 560px; }

.hero-actions { display: flex; gap: 18px; margin-top: 38px; flex-wrap: wrap; }

.hero-badge {
  justify-self: center;
  position: relative;
}
.hero-badge img {
  width: 320px;
  filter: drop-shadow(0 18px 42px rgba(0,0,0,0.45));
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(201,162,39,0.18) 0%, rgba(201,162,39,0) 68%);
}

.hero-strip {
  border-top: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
}
.hero-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.strip-item { display: flex; gap: 14px; align-items: flex-start; }
.strip-item svg { flex-shrink: 0; margin-top: 3px; }
.strip-item strong { display: block; color: #fff; font-size: 16px; letter-spacing: 0.3px; }
.strip-item span { color: rgba(255,255,255,0.66); font-size: 14.5px; line-height: 1.45; }

/* ---------- sections ---------- */
section { padding: 96px 0; background: var(--ivory); }
section.tight { padding: 72px 0; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.svc-card {
  background: var(--paper);
  border: 1px solid rgba(38,44,124,0.10);
  border-top: 3px solid var(--gold);
  padding: 40px 34px 36px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(27,32,80,0.12);
}
.svc-card .num {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.svc-card h3 { margin-bottom: 14px; }
.svc-card p { color: var(--text-soft); font-size: 16px; }
.svc-card ul {
  margin-top: 16px;
  list-style: none;
}
.svc-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15.5px;
  color: var(--text);
}
.svc-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.svc-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ---------- split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split .visual {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-ink) 100%);
  padding: 70px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split .visual img { width: 78%; filter: drop-shadow(0 14px 34px rgba(0,0,0,0.4)); }
.split .visual::before {
  content: "";
  position: absolute;
  top: 18px; left: 18px; right: 18px; bottom: 18px;
  border: 1px solid rgba(201,162,39,0.45);
  pointer-events: none;
}

.checklist { list-style: none; margin-top: 26px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 15px;
  font-size: 16.5px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: #7d6413;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- values band ---------- */
.band {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(201,162,39,0.12) 0%, rgba(201,162,39,0) 50%),
    linear-gradient(160deg, #2E3490 0%, var(--navy-ink) 100%);
  color: #fff;
}
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--gold-soft); }
.band p { color: rgba(255,255,255,0.78); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.value {
  border: 1px solid rgba(255,255,255,0.16);
  padding: 32px 26px;
  transition: border-color 0.2s, background 0.2s;
}
.value:hover { border-color: var(--gold); background: rgba(255,255,255,0.04); }
.value h3 { font-size: 19px; margin: 16px 0 10px; }
.value p { font-size: 15px; }
.value .glyph {
  width: 44px; height: 44px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value .glyph svg { transform: rotate(-45deg); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--paper);
  border: 1px solid rgba(38,44,124,0.12);
  border-left: 4px solid var(--gold);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 24px 60px rgba(27,32,80,0.08);
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-banner p { margin-top: 10px; color: var(--text-soft); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(201,162,39,0.14) 0%, rgba(201,162,39,0) 45%),
    linear-gradient(160deg, #2E3490 0%, var(--navy) 45%, var(--navy-ink) 100%);
  color: #fff;
  padding: 88px 0 76px;
}
.page-hero h1 { color: #fff; margin-top: 20px; }
.page-hero .lead { color: rgba(255,255,255,0.8); margin-top: 18px; max-width: 640px; }

/* ---------- about page ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.founder-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-ink) 100%);
  color: #fff;
  padding: 48px 42px;
  position: relative;
}
.founder-card::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  border: 1px solid rgba(201,162,39,0.45);
  pointer-events: none;
}
.founder-card h3 { color: #fff; font-size: 26px; margin-bottom: 4px; }
.founder-card .role {
  color: var(--gold-soft);
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-size: 17px;
  margin-bottom: 22px;
}
.founder-card p { color: rgba(255,255,255,0.8); font-size: 15.5px; margin-bottom: 14px; }

.timeline { margin-top: 40px; list-style: none; }
.timeline li {
  position: relative;
  padding: 0 0 30px 34px;
  border-left: 1.5px solid rgba(38,44,124,0.22);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6.5px; top: 4px;
  width: 12px; height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
}
.timeline strong {
  display: block;
  font-family: 'Fraunces', serif;
  color: var(--navy-deep);
  font-size: 18px;
  margin-bottom: 4px;
}
.timeline span { color: var(--text-soft); font-size: 15.5px; }

/* ---------- services page ---------- */
.svc-block {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 56px;
  padding: 64px 0;
  border-bottom: 1px solid rgba(38,44,124,0.10);
  align-items: start;
}
.svc-block:last-of-type { border-bottom: none; }
.svc-block .k {
  font-family: 'Fraunces', serif;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.svc-block h2 { font-size: clamp(26px, 3vw, 36px); }
.svc-block .side-note {
  margin-top: 22px;
  padding: 20px 24px;
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  font-size: 15px;
  color: #5c4a10;
}
.role-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.role-tags span {
  border: 1px solid rgba(38,44,124,0.25);
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 100px;
}

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-info .item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(38,44,124,0.10);
}
.contact-info .item:first-child { padding-top: 0; }
.contact-info .icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.contact-info .icon svg { transform: rotate(-45deg); }
.contact-info strong {
  display: block;
  font-family: 'Fraunces', serif;
  color: var(--navy-deep);
  font-size: 17px;
  margin-bottom: 3px;
}
.contact-info a, .contact-info span.val { color: var(--text-soft); font-size: 16px; }
.contact-info a:hover { color: var(--gold); }

.contact-form {
  background: var(--paper);
  border: 1px solid rgba(38,44,124,0.12);
  border-top: 3px solid var(--gold);
  padding: 46px 44px;
  box-shadow: 0 24px 60px rgba(27,32,80,0.08);
}
.contact-form h3 { margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(38,44,124,0.22);
  border-radius: 3px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--ivory);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13.5px; color: var(--text-soft); margin-top: 14px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-ink);
  color: rgba(255,255,255,0.72);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 44px;
  padding-bottom: 54px;
}
.site-footer h4 {
  font-family: 'Fraunces', serif;
  color: #fff;
  font-size: 17px;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: 15px; }
.site-footer a { color: rgba(255,255,255,0.72); transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { height: 56px; }
.footer-brand p { font-size: 14.5px; margin-top: 10px; max-width: 300px; }
.footer-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--gold-soft);
  font-size: 15px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 80px; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-badge { order: -1; }
  .hero-badge img { width: 220px; }
  .hero-strip .wrap { grid-template-columns: 1fr; gap: 18px; }
  .card-grid, .value-grid { grid-template-columns: 1fr; }
  .split, .founder, .svc-block, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 44px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 82px; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid rgba(38,44,124,0.12);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: inline-block; padding: 13px 0; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
}
