:root {
  /* Palette A — Deep Navy / Slate */
  --primary: #0F2A44;
  /* hero + icons */
  --secondary: #1F3A5F;
  /* depth */
  --accent: #3A6EA5;
  /* links/hover */
  --bg-light: #F5F7FA;
  /* soft section bg */
  --text-primary: #0B1F33;
  /* main text */
  --text-muted: #4a5568;
  --border: #e2e8f0;
}

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  width: 100%;
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 100%;
  min-height: 85px;
  display: flex;
  align-items: center;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
  height: 60px;
}

.logo-placeholder img {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.company-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #2B4A6F 100%);
  color: white;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,64 C240,96 480,32 720,64 C960,96 1200,32 1200,32 L1200,120 L0,120 Z' fill='white' opacity='0.10'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin: 0 0 2rem 0;
  opacity: 0.95;
  line-height: 1.7;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
  background: #f8fafc;
}

/* Split inbound paths CTA */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero-cta-note {
  margin-top: 1rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Sections */
section {
  padding: 5rem 2rem;
  width: 100%;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 1rem 0;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Who We Help */
.who-we-help {
  background: var(--bg-light);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.help-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.help-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.help-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.10);
}

.help-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.help-item p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg,
.help-icon svg,
.case-icon svg,
.why-icon svg {
  display: block;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--text-primary);
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Engagements */
.engagements {
  background: #ffffff;
}

.engagements-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.engagement-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.engagement-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.engagement-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

.engagement-time {
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
}

.engagement-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.engagement-card ul li {
  margin-bottom: 0.4rem;
}

.engagement-note {
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  color: #64748b;
  text-align: center;
}

/* Case Studies */
.case-studies {
  background: linear-gradient(135deg, #eef3f8 0%, #dde7f1 100%);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.case-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border-left: 4px solid var(--accent);
}

.case-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.case-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--text-primary);
}

.case-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Why Us */
.why-us {
  background: #ffffff;
}

.why-us-list {
  max-width: 900px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.why-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 500;
}

/* About */
.about-section {
  background: var(--bg-light);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.about-image {
  display: flex;
  justify-content: center;
}

.headshot-placeholder {
  width: 200px;
  height: 200px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.headshot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 1.5rem 0;
}

.about-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.about-links a:hover {
  text-decoration: underline;
}

/* Contact */
.contact {
  background: white;
}

/* Footer */
footer {
  background: var(--primary);
  color: #cbd5e0;
  padding: 3rem 2rem;
  text-align: center;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-placeholder-small {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
  height: 50px;
}

.logo-placeholder-small img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.footer-company-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.footer-contact a {
  color: #9cc2e4;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1.05rem;
  margin: 0 0.35rem;
}

.footer-contact a:hover {
  color: #cfe3f5;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .services-grid,
  .case-grid,
  .why-us-list,
  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
}

@view-transition {
  navigation: auto;
}
