:root {
  --blue: #186898;
  --blue-700: #0f557e;
  --green: #50b848;
  --navy: #123847;
  --navy-900: #092636;
  --light-blue: #e8f4f8;
  --warm: #f7faf8;
  --white: #ffffff;
  --ink: #22303a;
  --muted: #5d6c76;
  --border: #d8e8ec;
  --shadow: 0 18px 45px rgba(18, 56, 71, 0.12);
  --shadow-soft: 0 10px 24px rgba(18, 56, 71, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --header-h: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--warm);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 10000;
  padding: .75rem 1rem; background: var(--navy); color: var(--white); border-radius: .75rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 232, 236, .84);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .78rem;
  text-decoration: none;
  min-width: max-content;
}
.brand img { width: 52px; height: 42px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { color: var(--navy); font-size: 1.06rem; letter-spacing: .01em; }
.brand-text small { color: var(--muted); font-size: .72rem; margin-top: .2rem; }
.primary-nav { display: flex; align-items: center; gap: .28rem; }
.primary-nav a {
  text-decoration: none;
  color: #324853;
  font-weight: 700;
  font-size: .92rem;
  padding: .62rem .78rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--light-blue); color: var(--blue); outline: none; }
.primary-nav a.is-active { background: rgba(80, 184, 72, .14); color: var(--navy); }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 14px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 999px; display: block; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(80, 184, 72, .16), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(24, 104, 152, .18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f3faf8 48%, #e8f4f8 100%);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -35% auto; width: 540px; height: 540px;
  background: conic-gradient(from 230deg, rgba(24,104,152,.15), rgba(80,184,72,.18), rgba(24,104,152,.07), rgba(255,255,255,0));
  border-radius: 50%; filter: blur(6px);
}
.hero-grid { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: center; gap: 4rem; position: relative; }
.hero-copy { padding: 4rem 0; }
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--blue);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
}
h1, h2, h3 { color: var(--navy); line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.5rem, 5vw, 5.3rem); letter-spacing: -.06em; max-width: 920px; }
h2 { font-size: clamp(1.85rem, 3vw, 3.15rem); letter-spacing: -.045em; }
h3 { font-size: 1.2rem; letter-spacing: -.025em; }
p { margin: 1rem 0 0; }
.lead { font-size: clamp(1.07rem, 1.7vw, 1.35rem); color: #3d525c; max-width: 790px; }
.button-row { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .82rem 1.25rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  border: 2px solid var(--blue);
  box-shadow: 0 10px 22px rgba(24,104,152,.22);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--blue-700); border-color: var(--blue-700); outline: none; }
.button-secondary { background: transparent; color: var(--navy); border-color: rgba(18,56,71,.18); box-shadow: none; }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--white); color: var(--blue); border-color: var(--blue); }
.button-light { background: var(--white); color: var(--navy); border-color: var(--white); box-shadow: 0 12px 24px rgba(0,0,0,.12); }
.button-light:hover, .button-light:focus-visible { background: var(--light-blue); border-color: var(--light-blue); color: var(--navy); }
.text-link { color: var(--blue); font-weight: 900; text-decoration: none; display: inline-flex; margin-top: 1rem; }
.text-link::after { content: "→"; margin-left: .4rem; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }

.hero-panel {
  position: relative;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  padding: 2rem;
  overflow: hidden;
}
.hero-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(232,244,248,.92), rgba(255,255,255,.58)); z-index: 0; }
.hero-panel > * { position: relative; z-index: 1; }
.logo-watermark { position: absolute; right: -42px; top: -48px; width: 250px; opacity: .08; z-index: 0; }
.panel-label { margin: 0 0 .5rem; color: var(--green); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.hero-panel h2 { font-size: clamp(2rem, 3vw, 3.1rem); }
.proof-list { margin: 1.7rem 0 0; display: grid; gap: 1rem; }
.proof-list div { padding: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
.proof-list dt { color: var(--navy); font-size: 1.28rem; font-weight: 950; line-height: 1.15; }
.proof-list dd { margin: .2rem 0 0; color: var(--muted); font-size: .94rem; }

.section { padding: 5.2rem 0; }
.section-tint { background: var(--light-blue); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.84); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: #8ef083; }
.section-heading { margin-bottom: 2.1rem; }
.section-heading.centered { text-align: center; max-width: 820px; margin-inline: auto; }
.section-heading.centered p { margin-inline: auto; }
.split-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; }
.split-heading > p { font-size: 1.05rem; color: var(--muted); }
.section-dark .split-heading > p { color: rgba(255,255,255,.72); }
.cards { display: grid; gap: 1.2rem; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: var(--shadow-soft);
  min-height: 100%;
}
.card p { color: var(--muted); }
.card-icon, .service-detail-icon {
  width: 58px; height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(24,104,152,.12), rgba(80,184,72,.16));
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card-icon svg, .service-detail-icon svg { width: 34px; height: 34px; }
.dark-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); box-shadow: none; }
.dark-card p { color: rgba(255,255,255,.76); }
.dark-card .text-link { color: #91f48b; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(80,184,72,.14);
  color: var(--navy);
  font-weight: 900;
  font-size: .75rem;
  letter-spacing: .03em;
  padding: .4rem .65rem;
  margin-bottom: 1rem;
}
.section-dark .tag, .dark-card .tag { color: #f5fff5; background: rgba(80,184,72,.25); }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.process-grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}
.process-grid span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 950; margin-bottom: 1rem; }
.process-grid p { color: var(--muted); }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.two-column.align-start { align-items: start; }
.experience-list { display: grid; gap: 1rem; }
.experience-list article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}
.experience-list.full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.experience-list p { color: var(--muted); }

.page-hero {
  background:
    radial-gradient(circle at 8% 4%, rgba(80,184,72,.16), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(24,104,152,.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #f2faf8 60%, #e8f4f8);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { padding: 6rem 0 4.5rem; }
.page-hero h1 { max-width: 1040px; }
.page-hero .lead { max-width: 930px; }
.narrow { max-width: 800px; }
.centered { text-align: center; }

.quote-card, .profile-card, .contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.quote-card img { width: 120px; opacity: .9; margin-bottom: 1rem; }
.quote-card blockquote { color: var(--navy); font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1.12; margin: 0; font-weight: 950; letter-spacing: -.045em; }
.profile-card { text-align: center; position: sticky; top: calc(var(--header-h) + 1.2rem); }
.profile-initials {
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white); font-size: 2.2rem; font-weight: 950;
  box-shadow: var(--shadow-soft);
}
.credential-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.5rem; }
.credential-grid span, .chip-cloud span {
  display: inline-flex; align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .62rem .85rem;
  color: var(--navy);
  font-weight: 800;
  font-size: .9rem;
}
.chip-cloud { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.chip-cloud.small { justify-content: start; margin-top: 1.4rem; }
.chip-cloud.small span { font-size: .82rem; padding: .45rem .68rem; }

.service-detail-list { display: grid; gap: 1rem; }
.service-detail {
  display: grid; grid-template-columns: 78px 1fr; gap: 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.55rem;
  box-shadow: var(--shadow-soft);
}
.service-detail h2 { font-size: clamp(1.45rem, 2.2vw, 2.2rem); }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 1.65rem; color: #40545e; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .52rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(80,184,72,.14); }
.panel-list { display: grid; gap: 1rem; }
.panel-list article {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}
.panel-list p { color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.metric-grid article { padding: 1.2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.metric-grid strong { display: block; color: var(--navy); font-size: 1.1rem; line-height: 1.2; }
.metric-grid span { display: block; margin-top: .55rem; color: var(--muted); }
.initiative-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.initiative-card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 360px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.initiative-card p { color: var(--muted); }
.initiative-card .button { margin-top: auto; }
.insight-card h2 { font-size: 1.45rem; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 2rem; align-items: start; }
.contact-card { position: sticky; top: calc(var(--header-h) + 1.2rem); }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: .75rem;
}
.contact-form label { font-weight: 900; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid #c9dde3;
  border-radius: 14px;
  padding: .86rem .92rem;
  font: inherit;
  background: #fbfefe;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(24,104,152,.12); }
.contact-form button { justify-self: start; cursor: pointer; margin-top: .4rem; }
.form-note { font-size: .86rem; color: var(--muted); }

.cta-band { background: linear-gradient(135deg, var(--blue), var(--navy)); color: rgba(255,255,255,.84); padding: 4rem 0; }
.cta-band h2 { color: var(--white); max-width: 850px; }
.cta-band .eyebrow { color: #91f48b; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }

.site-footer { background: var(--navy-900); color: rgba(255,255,255,.76); padding: 3.3rem 0 1.4rem; }
.site-footer .brand-text strong { color: var(--white); }
.site-footer .brand-text small { color: rgba(255,255,255,.64); }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: .02em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .9fr; gap: 2rem; align-items: start; }
.footer-brand p { max-width: 420px; }
.footer-links { display: grid; gap: .45rem; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #93f28e; outline: none; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

@media (max-width: 1080px) {
  .primary-nav a { font-size: .86rem; padding: .56rem .58rem; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; padding: 4rem 0; gap: 1rem; min-height: unset; }
  .hero-copy { padding: 1.5rem 0; }
  .hero-panel { margin-bottom: 2rem; }
  .initiative-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .brand img { width: 44px; height: 36px; }
  .brand-text small { display: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 14px auto 14px;
    display: grid;
    gap: .2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: .65rem;
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .primary-nav[data-open="true"] { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { padding: .85rem 1rem; border-radius: 14px; }
  h1 { letter-spacing: -.052em; }
  .section { padding: 3.7rem 0; }
  .page-hero-inner { padding: 4rem 0 3.3rem; }
  .split-heading, .two-column, .contact-grid, .cta-inner, .footer-grid { grid-template-columns: 1fr; }
  .cards.three, .cards.four, .experience-list.full, .process-grid, .process-grid.six, .metric-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail-icon { margin-bottom: 0; }
  .profile-card, .contact-card { position: static; }
  .credential-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-panel { padding: 1.25rem; border-radius: 22px; }
  .button { width: 100%; }
  .button-row { width: 100%; }
  .footer-bottom { display: grid; }
  .card, .service-detail, .initiative-card, .quote-card, .profile-card, .contact-card, .contact-form { padding: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
