:root {
  --navy: #102A3D;
  --blue: #2C6E91;
  --blue-light: #5B94B3;
  --purple: #5B3A8E;
  --purple-light: #8D7CC0;
  --bg: #FFFFFF;
  --bg-alt: #F3F6F9;
  --text: #1F2933;
  --text-light: #55636F;
  --border: #E1E8ED;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* Header / Nav */
header.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text .name {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--navy);
}

.brand-text .tagline {
  font-size: 15px;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 16.5px;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--purple);
}

.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15.5px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--navy); text-decoration: none; }

/* Stats strip */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item { text-align: center; }
.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 15.5px;
  color: var(--text-light);
  line-height: 1.4;
}

/* Mobile nav toggle (simple, no-JS fallback: nav wraps) */
@media (max-width: 720px) {
  .nav-inner { flex-wrap: wrap; gap: 12px; }
  nav.main-nav ul { flex-wrap: wrap; gap: 14px 20px; justify-content: center; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--bg-alt) 0%, #EFEAF7 100%);
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 50px;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 20px;
  max-width: 820px;
}

.hero p.lead {
  font-size: 21px;
  color: var(--text-light);
  max-width: 660px;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16.5px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover { background: var(--navy); text-decoration: none; }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; text-decoration: none; }

/* Decorative helix graphic (brand asset) */
.helix-decor {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  height: 94%;
  max-height: 900px;
  width: auto;
  opacity: 0.9;
  z-index: 1;
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}
@media (max-width: 900px) {
  .helix-decor { display: none; }
}

/* Faded helix (inner-page banners and CTA bands) */
.helix-fade {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  height: 200%;
  width: auto;
  max-width: none;
  opacity: 0.22;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
}
.cta-band .helix-fade { mix-blend-mode: screen; opacity: 0.3; }
@media (max-width: 900px) {
  .helix-fade { display: none; }
}

/* Sections */
section { padding: 72px 0; }
section.alt {
  background-color: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%232C6E91' stroke-opacity='0.10' stroke-width='1.5'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%232C6E91' stroke-opacity='0.10' stroke-width='1.5'/%3E%3C/svg%3E");
}
/* Soft gradient glows on white sections */
section:not(.alt):not(.hero) {
  background-image:
    radial-gradient(circle at 100% 0%, rgba(141, 124, 192, 0.10) 0%, transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(91, 148, 179, 0.10) 0%, transparent 38%);
}

.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 36px;
  color: var(--navy);
  margin: 0 0 14px;
}
.section-head p { color: var(--text-light); font-size: 18.5px; margin: 0; }

/* Card grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* About page two-column layout: text first, sidebar box below on small screens */
.about-grid { align-items: start; grid-template-columns: 1.15fr 1fr; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 26px;
}

.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 28px;
  font-weight: 700;
}

.card h3 {
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 10px;
}

.card p { color: var(--text-light); font-size: 16.5px; margin: 0; }

.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-light); font-size: 15.5px; }
.card ul li { margin-bottom: 6px; }

/* Phone and tablet: icon beside the card heading to reduce empty space */
@media (max-width: 860px) {
  .card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    padding: 24px 22px;
  }
  .card .icon { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .card h3 { grid-column: 2; grid-row: 1; margin: 0; }
  .card p, .card ul { grid-column: 1 / -1; margin-top: 14px; }
}

/* Quote / philosophy block */
.quote-block {
  border-left: 4px solid var(--purple);
  padding: 6px 0 6px 26px;
  margin: 40px 0;
}
.quote-block p {
  font-size: 25px;
  color: var(--navy);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

/* About page sidebar (Areas of Service / Education / Core Values) */
.about-sidebar {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 30px;
}
@media (max-width: 860px) {
  .about-sidebar { margin-top: 8px; }
}

/* LinkedIn reference (About page) */
.linkedin-cta {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.linkedin-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.linkedin-cta-title { font-weight: 700; color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.linkedin-cta-text { color: var(--text-light); font-size: 15.5px; }
.linkedin-cta .btn { margin-left: auto; }
@media (max-width: 640px) {
  .linkedin-cta .btn { margin-left: 0; width: 100%; text-align: center; }
}

/* Timeline (About page) */
.timeline { border-left: 2px solid var(--border); padding-left: 28px; margin-left: 6px; }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--purple);
}
.timeline-item .role { font-weight: 700; color: var(--navy); font-size: 16px; }
.timeline-item .org { color: var(--blue); font-size: 14.5px; margin-bottom: 4px; }
.timeline-item .dates { color: var(--text-light); font-size: 13px; margin-bottom: 8px; }
.timeline-item ul { margin: 6px 0 0; padding-left: 18px; color: var(--text-light); font-size: 14.5px; }

.credentials { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; }
.credential-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  flex: 1;
  min-width: 220px;
}
.credential-pill .school { font-weight: 700; color: var(--navy); font-size: 16.5px; }
.credential-pill .degree { color: var(--text-light); font-size: 15px; margin-top: 4px; }

/* Services page groups */
.service-group { margin-bottom: 48px; }
.service-group:last-child { margin-bottom: 0; }
.service-group h3 {
  font-size: 23px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.service-group h3 .num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }
.service-list li {
  padding-left: 22px;
  position: relative;
  color: var(--text);
  font-size: 17px;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-light);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { margin: 0 0 12px; font-size: 32px; }
.cta-band p { margin: 0 0 26px; color: #E4DDF3; font-size: 17.5px; }
.cta-band .btn-primary { background: #fff; color: var(--purple); }
.cta-band .btn-primary:hover { background: var(--bg-alt); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}
.contact-info-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-info-item .label { font-size: 13.5px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.contact-info-item .value { font-size: 18px; color: var(--navy); font-weight: 600; }
.contact-info-item > div { min-width: 0; }
.contact-info-item .icon { flex-shrink: 0; }
.contact-info-item .value { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .contact-info-item .value { font-size: 16px; }
  .contact-info-item .icon { width: 44px; height: 44px; }
}

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 12px; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #C9D3DC;
  padding: 48px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-grid h4 { color: #fff; font-size: 15px; margin: 0 0 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { color: #C9D3DC; font-size: 15.5px; }
.footer-grid a:hover { color: #fff; }
.footer-grid a { overflow-wrap: anywhere; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 13px;
  color: #93A2AF;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-credit {
  font-size: 11.5px;
  color: #6C7A87;
  margin-top: 14px;
}
.footer-credit a { color: #93A2AF; }
.footer-credit a:hover { color: #fff; }
