:root {
  --charcoal: #3a3a3c;
  --blue: #3b7fc4;
  --sky: #6fa6df;
  --bold-lime: #c5e384;
  --soft-lime: #e8f3d0;
  --paper: #f7f5f0;
  --stone: #ece8df;
  --white: #ffffff;
  --ink-muted: #6b6b6d;
  --border: #d9d4c9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  margin: 0;
}

a { color: inherit; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--blue);
}

/* Header */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
header.site-header img.logo { height: 40px; width: auto; display: block; }
header.site-header nav { display: flex; align-items: center; gap: 36px; }
header.site-header nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 16px;
}
header.site-header nav a:hover { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 6px; }
header.site-header nav a.btn {
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
}
header.site-header nav a.btn:hover { text-decoration: none; filter: brightness(1.15); }

/* Hero */
.hero {
  padding: 96px 64px 80px;
  max-width: 860px;
}
.hero h1 { font-size: 56px; line-height: 1.12; letter-spacing: -0.5px; margin-bottom: 24px; }
.hero p.lead { font-size: 20px; color: var(--ink-muted); max-width: 680px; margin-bottom: 36px; }
.btn-primary {
  display: inline-block;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
}
.btn-primary:hover { filter: brightness(1.15); }

/* Sections */
section { padding: 64px; }
section.tinted { background: var(--stone); }
.section-inner { max-width: 1100px; margin: 0 auto; }

.columns-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 16px;
}
.col { border-top: 2px solid var(--charcoal); padding-top: 20px; }
.col h3 { font-size: 26px; margin-bottom: 10px; }
.col p { color: var(--ink-muted); margin: 0; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
}
.cards-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--ink-muted); margin: 0 0 16px; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--soft-lime);
  padding: 4px 10px;
  border-radius: 2px;
}

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.person {
  text-align: left;
}
.person .photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--stone);
  border-radius: 6px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 14px;
}
.person h3 { font-size: 22px; margin-bottom: 4px; }
.person .role { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.person p.bio { color: var(--ink-muted); margin: 0; }

/* Footer */
footer.site-footer {
  background: var(--charcoal);
  color: #cfcfcd;
  padding: 56px 64px 40px;
}
footer.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto 32px;
  flex-wrap: wrap;
  gap: 24px;
}
footer.site-footer img.logo { height: 32px; width: auto; display: block; margin-bottom: 16px; }
footer.site-footer .tagline { font-weight: 600; color: #f5f5f4; max-width: 320px; }
footer.site-footer nav { display: flex; gap: 28px; }
footer.site-footer nav a { color: #cfcfcd; text-decoration: none; font-size: 15px; }
footer.site-footer nav a:hover { text-decoration: underline; }
footer.site-footer .contact { font-size: 14px; }
footer.site-footer .bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid #55555a;
  font-size: 13px;
  color: #9a9a9c;
}

form.contact-form {
  max-width: 560px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
form.contact-form label { font-size: 14px; font-weight: 600; margin-bottom: 6px; display: block; }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  background: var(--white);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }

.proto-banner {
  background: var(--soft-lime);
  color: var(--charcoal);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 860px) {
  header.site-header { padding: 16px 24px; flex-wrap: wrap; gap: 16px; }
  header.site-header nav { gap: 18px; flex-wrap: wrap; }
  .hero { padding: 56px 24px; }
  .hero h1 { font-size: 38px; }
  section { padding: 48px 24px; }
  .columns-3, .cards-3, .people { grid-template-columns: 1fr; }
  footer.site-footer { padding: 40px 24px 28px; }
}

/* Featured card + steps */
.card.featured { border-color: var(--blue); box-shadow: inset 0 3px 0 var(--blue); }
.card.featured .tag { background: var(--blue); color: var(--white); }
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.steps li { border-top: 2px solid var(--charcoal); padding-top: 16px; }
.steps .num { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: 1px; }
.steps h3 { font-size: 22px; margin: 6px 0 8px; }
.steps p { color: var(--ink-muted); margin: 0; font-size: 16px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* Header logo (mask of the wordmark, two-tone) */
.logo-mark {
  display: block;
  height: 34px;
  aspect-ratio: 903 / 90;
  background:
    linear-gradient(var(--charcoal), var(--charcoal)) left bottom / 7.7% 36.7% no-repeat,
    linear-gradient(90deg, var(--blue) 0 7.7%, var(--charcoal) 7.7% 59.2%, var(--blue) 59.2%);
  -webkit-mask: url("https://static.wixstatic.com/media/9d97e2_b079b6742fbc4e9c8a3a0ce236b7ac77~mv2.png") no-repeat left center / contain;
  mask: url("https://static.wixstatic.com/media/9d97e2_b079b6742fbc4e9c8a3a0ce236b7ac77~mv2.png") no-repeat left center / contain;
}

/* Photos */
.hero.split {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-img, .side-img { margin: 0; }
.hero-img img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 6px; display: block; }
.photo-band { line-height: 0; }
.photo-band img { width: 100%; height: 380px; object-fit: cover; display: block; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.side-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
@media (max-width: 860px) {
  .hero.split, .split-2 { grid-template-columns: 1fr; gap: 32px; }
  .photo-band img { height: 240px; }
  .logo-mark { height: 26px; }
}

/* Partner headshots */
.person .photo { overflow: hidden; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }

/* ---- Style pass: shared grid, blue CTAs, readable gray ---- */
:root {
  --ink-muted: #57575a;
  --blue-deep: #2e68a6;
  --gutter: max(64px, calc((100% - 1100px) / 2));
}
header.site-header { padding-left: var(--gutter); padding-right: var(--gutter); }
.hero { max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
.hero.split { max-width: none; margin: 0; }
.hero h1 { max-width: 820px; }
.hero.split h1 { max-width: none; }
.btn-primary { background: var(--blue-deep); }
header.site-header nav a.btn { background: var(--blue-deep); }
.btn-primary.outline { background: transparent; color: var(--blue-deep); box-shadow: inset 0 0 0 1.5px var(--blue-deep); }
.btn-primary.outline:hover { background: var(--blue-deep); color: var(--white); filter: none; }
.card.featured { border-color: var(--blue-deep); box-shadow: inset 0 3px 0 var(--blue-deep); }
.card.featured .tag { background: var(--blue-deep); }
.steps .num, .person .role { color: var(--blue-deep); }
@media (max-width: 860px) {
  header.site-header { padding-left: 24px; padding-right: 24px; }
  .hero { padding-left: 24px; padding-right: 24px; }
}

/* Full-width photo hero (home page) */
.hero.hero-photo { position: relative; overflow: hidden; max-width: none; margin: 0; padding: 0; min-height: 580px; display: flex; align-items: center; color: var(--white); background: #1b2f47; }
.hero-photo .hero-photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; display: block; }
.hero.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,32,52,0.94) 0%, rgba(16,32,52,0.84) 36%, rgba(16,32,52,0.4) 68%, rgba(16,32,52,0.12) 100%); }
.hero-photo-inner { position: relative; z-index: 1; width: 100%; padding: 104px var(--gutter); }
.hero-photo-inner > * { max-width: 640px; }
.hero-photo h1 { color: var(--white); max-width: 640px; }
.hero-photo .eyebrow { color: var(--white); }
.hero-photo .eyebrow::before { background: var(--bold-lime); }
.hero-photo p.lead { color: rgba(255,255,255,0.9); }
.hero-photo .btn-primary { background: var(--bold-lime); color: var(--charcoal); }
@media (max-width: 860px) {
  .hero.hero-photo { min-height: 0; }
  .hero.hero-photo::after { background: linear-gradient(180deg, rgba(16,32,52,0.88) 0%, rgba(16,32,52,0.8) 100%); }
  .hero-photo-inner { padding: 64px 24px; }
  .hero-photo h1 { font-size: 38px; }
}

/* Shorter photo hero for inner pages */
.hero.hero-photo.hero-sm { min-height: 420px; }
.hero-sm .hero-photo-inner { padding-top: 80px; padding-bottom: 80px; }
.hero-sm .hero-photo-inner > * { max-width: 720px; }
.hero-photo.hero-sm h1 { font-size: 48px; max-width: 720px; }
@media (max-width: 860px) {
  .hero.hero-photo.hero-sm { min-height: 0; }
  .hero-sm .hero-photo-inner { padding-top: 56px; padding-bottom: 56px; }
  .hero-photo.hero-sm h1 { font-size: 34px; }
}

/* Photo anchored to the right with a soft fade (About hero) */
.hero-photo .hero-photo-bg.bg-right { left: auto; width: 62%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
@media (max-width: 860px) {
  .hero-photo .hero-photo-bg.bg-right { left: 0; width: 100%; -webkit-mask-image: none; mask-image: none; }
}

/* Heading levels (h2 used where h3 skipped a level) and footer contrast */
.col h2 { font-size: 26px; margin-bottom: 10px; }
.card h2 { font-size: 22px; margin-bottom: 10px; }
footer.site-footer .bottom { color: #b4b4b6; }

/* Service page links */
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card a.more { font-weight: 600; color: var(--blue-deep); }
.col h3 a { text-decoration: none; }
.col h3 a:hover { text-decoration: underline; }
.section-inner p a { text-underline-offset: 3px; }

footer.site-footer .area { font-size: 14px; margin: 8px 0 0; max-width: 320px; color: #cfcfcd; }
