:root {
  --navy: #1E3A5F;
  --navy-deep: #16293F;
  --brand-blue: #3957A8;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --muted: #D7DEEA;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }

/* Header */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
header.site-header .logo-link img {
  height: 48px;
  display: block;
}
nav.main-nav {
  display: flex;
  gap: 40px;
}
nav.main-nav a { padding: 4px 0; }
nav.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
nav.main-nav a:hover { color: var(--brand-blue); }
nav.main-nav a.active { color: var(--brand-blue); }

/* Hero / page sections */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 90px 48px;
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 480px; min-width: 300px; }
.hero-photo { flex: 0 0 420px; max-width: 100%; }
.hero-photo img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
.hero-headline {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px 0;
}
.hero-headline .accent {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.85);
  text-underline-offset: 6px;
}
.hero-subhead {
  font-size: 22px;
  font-weight: 600;
  margin: 18px 0 14px 0;
}
.hero-body {
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  color: var(--muted);
}
.credential-line {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

/* Generic page section (About / Contact) */
.page-section {
  background: var(--navy);
  color: var(--white);
  padding: 80px 48px;
}
.page-section .inner {
  max-width: 820px;
}
.page-section h1 {
  font-size: 44px;
  margin: 0 0 24px 0;
}
.page-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px 0;
}
.page-section h2.subhead {
  font-size: 18px;
  color: var(--white);
  margin: 36px 0 14px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.how-i-work-item {
  margin-bottom: 14px;
}
.how-i-work-item strong { color: var(--white); }
.led-list {
  color: var(--muted);
  line-height: 1.7;
}

/* Certifications row */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.cert-row img {
  height: 110px;
  width: 110px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 6px;
}

/* Contact page */
.contact-block {
  margin-top: 30px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 18px;
}
.contact-label {
  font-weight: 700;
  min-width: 90px;
}
.contact-row a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.linkedin-btn {
  display: inline-block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border: 2px solid var(--white);
  border-radius: 6px;
  background: var(--white);
  color: var(--brand-blue) !important;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none !important;
}

/* Footer */
footer.site-footer {
  background: var(--navy-deep);
  color: #9FAFC6;
  text-align: center;
  padding: 22px 20px;
  font-size: 13px;
}

/* Mobile */
@media (max-width: 800px) {
  header.site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
  }
  header.site-header .logo-link img { height: 40px; }
  nav.main-nav {
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
  }
  nav.main-nav a { margin-right: 20px; }
  nav.main-nav a:last-child { margin-right: 0; }
  .hero, .page-section { padding: 48px 20px; }
  .hero-headline { font-size: 30px; }
  .hero-subhead { font-size: 18px; }
  .page-section h1 { font-size: 32px; }
  .cert-row img { height: 84px; width: 84px; }
  .credential-line {
    white-space: normal;
    font-size: 16px;
  }
  .contact-row {
    flex-wrap: wrap;
  }
}
