:root {
  --navy: #15315c;
  --green: #5cb031;
  --green-dark: #3f8a1e;
  --ink: #1b2330;
  --muted: #596477;
  --bg: #ffffff;
  --stripe: #f4f7f2;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: clip;
}
html { scroll-padding-top: 5rem; scroll-behavior: smooth; }
section[id] { scroll-margin-top: 5rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid #eceff4;
}
.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}
.site-header nav a {
  font-weight: 500;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: 1px solid #d7dde7;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}
@media (max-width: 760px) {
  .site-header-inner { padding: 0.75rem 1rem; }
  .nav-toggle { display: flex; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eceff4;
    padding: 0.75rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
  }
  .site-header nav a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid #f2f4f8;
  }
  .site-header nav a:last-child { border-bottom: none; }
  .site-header[data-nav-open="true"] nav { display: flex; }
}

main { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

.hero {
  padding: 3rem 1rem 5rem;
  border-bottom: 1px solid #eceff4;
  text-align: center;
}
.hero > * {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-logo {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  margin: 0 auto 2rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 auto 1rem;
  max-width: 22ch;
}
.tagline {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0.75rem auto 1.5rem;
  max-width: 44rem;
  line-height: 1.4;
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 44rem;
}
.experience {
  font-size: 1.1rem;
  margin-top: 2rem;
  color: var(--ink);
}
#years, .inline-years {
  font-weight: 800;
  font-size: 1.35em;
  color: var(--green-dark);
  font-variant-numeric: tabular-nums;
}
.plus { color: var(--green-dark); font-weight: 800; }

.hero-actions { margin-top: 2rem; }
.hero-direct {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-direct a { color: var(--muted); }
.hero-direct a:hover { color: var(--green-dark); }

.cta {
  display: inline-block;
  margin-top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.cta:hover { background: var(--green-dark); color: #fff; }

section { padding: 3.5rem 0; }
section h2 {
  color: var(--navy);
  font-size: 1.7rem;
  margin-top: 0;
}

.stripe {
  background: var(--stripe);
  margin: 0 calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.tier { margin: 1.5rem 0; }
.tier h3 {
  color: var(--navy);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.6rem;
}
.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tags li {
  background: #fff;
  border: 1px solid #d7e0d0;
  color: var(--ink);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}
.tags.muted li {
  background: transparent;
  color: var(--muted);
  border-style: dashed;
}
.aside {
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 0.8rem;
}

.stack-note {
  color: var(--muted);
  font-style: italic;
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.stack-grid > div {
  border: 1px solid #e5e9ef;
  border-radius: 12px;
  padding: 1.3rem 1.4rem;
  background: #fff;
}
.stack-grid h3 {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.05rem;
}
.stack-grid p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }

.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: -0.4rem;
  margin-bottom: 1.5rem;
}

.industries {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.industries li {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-left: 3px solid var(--green);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--ink);
  font-weight: 500;
}
.industries li:last-child {
  border-left-color: var(--muted);
  color: var(--muted);
  font-style: italic;
}

.company-intro {
  font-size: 1.15rem;
  color: var(--ink);
  border-left: 4px solid var(--green);
  padding-left: 1rem;
  margin-bottom: 1.8rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.services article {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-top: 4px solid var(--green);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
}
.services h3 { margin-top: 0; color: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.contact-grid address {
  font-style: normal;
  line-height: 1.7;
}
.contact-grid .muted { color: var(--muted); font-size: 0.9rem; }
.contact-dl { margin: 0; }
.contact-dl dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 0.6rem;
}
.contact-dl dd { margin: 0.15rem 0 0; font-size: 1.05rem; }

.slogan {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.slogan::before, .slogan::after { content: "“ "; color: var(--green-dark); }
.slogan::after { content: " ”"; }

footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
