:root {
  /* Original logo colors; darker/lighter companions keep text accessible. */
  --brand-green: #018c45;
  --brand-red: #ce202a;
  --brand-gray: #58595b;
  --green-text: #006b34;
  --green-light: #9de0bc;
  --red-hover: #ab1821;
  --paper: #f5f5f3;
  --white: #ffffff;
  --ink: #242628;
  --muted: var(--brand-gray);
  --line: #d8dcda;
  --line-dark: #4d5350;
  --font-brand: Menlo, Monaco, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 5px; }
::selection { background: var(--green-text); color: var(--white); }
.skip-link {
  background: var(--ink);
  color: var(--white);
  left: 1rem;
  padding: .6rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 20;
}
.skip-link:focus { top: 1rem; }
.site-header {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: auto;
  max-width: var(--max);
  padding: 1.5rem 0;
}
.wordmark { display: inline-block; flex-shrink: 0; width: 190px; }
.primary-nav { align-items: center; display: flex; gap: 1.8rem; }
.primary-nav a { color: var(--muted); font-family: var(--font-brand); font-size: .75rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--green-text); text-decoration: underline; }
.nav-cta { border: 1px solid var(--brand-green); color: var(--green-text); padding: .65rem .9rem; }
.primary-nav [aria-current="page"] { background: #edf5f0; color: var(--green-text); }
.hero { margin: auto; max-width: var(--max); padding: 5.5rem 0 5rem; }
.hero-layout { align-items: center; display: grid; gap: 4rem; grid-template-columns: 1.12fr .88fr; }
.hero-content { min-width: 0; }
.hero-visual { border: 1px solid var(--line); border-radius: 2rem; box-shadow: 0 30px 80px rgba(36, 38, 40, .14); overflow: hidden; position: relative; }
.hero-visual::after { border: 1px solid rgba(255, 255, 255, .7); border-radius: 1.65rem; content: ""; inset: .65rem; pointer-events: none; position: absolute; }
.hero-visual img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.eyebrow, .kicker {
  color: var(--green-text);
  font-family: var(--font-brand);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow { align-items: center; display: flex; gap: .7rem; }
.eyebrow span { background: var(--brand-red); flex-shrink: 0; height: 3px; width: 28px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-brand); text-wrap: balance; }
.hero-label { color: var(--green-text); font-family: var(--font-brand); font-size: .72rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 1.5rem; text-transform: uppercase; }
.hero-label span { color: var(--brand-red); padding: 0 .25rem; }
.hero h1 {
  font-size: clamp(2.2rem, 4.7vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1.22;
  margin: 0 0 1.7rem;
}
.hero h1 em { color: var(--green-text); font-style: normal; }
.hero-copy { color: var(--muted); font-size: 1.12rem; line-height: 1.7; max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button {
  align-items: center;
  display: inline-flex;
  font-family: var(--font-brand);
  font-size: .78rem;
  font-weight: 700;
  gap: 1.4rem;
  padding: .95rem 1.1rem;
  text-decoration: none;
}
.button.primary { background: var(--brand-red); color: var(--white); }
.button.primary:hover, .button.primary:focus-visible { background: var(--red-hover); }
.button.text { border-bottom: 1px solid var(--brand-green); color: var(--green-text); }
.button.text:hover { background: var(--paper); }
.section { padding: 6rem max(calc((100vw - var(--max)) / 2), 5vw); }
.section.light { background: var(--paper); }
.section.dark { background: var(--ink); color: var(--white); }
.section.dark .kicker { color: var(--green-light); }
.section.dark a:focus-visible { outline-color: var(--green-light); }
.section-heading { max-width: 900px; }
.section-heading h2, .contact h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.3;
  margin-bottom: 3rem;
}
.section-heading.split { align-items: end; display: grid; gap: 4rem; grid-template-columns: 1.3fr .7fr; max-width: none; }
.section-heading.split > p { color: #d1d6d3; font-size: .9rem; margin-bottom: 3rem; }
.section-lede { color: var(--muted); font-size: 1.05rem; margin: -1.5rem 0 3rem; max-width: 720px; }
.service-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-grid article { background: var(--white); border: 1px solid var(--line); border-radius: 1.25rem; min-width: 0; overflow: hidden; padding: 1.75rem; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-grid article:hover { border-color: #aeb7b2; box-shadow: 0 18px 45px rgba(36, 38, 40, .08); transform: translateY(-4px); }
.number { color: var(--brand-red); font-family: var(--font-brand); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
.service-grid h3, .approach h3 { font-size: 1.15rem; line-height: 1.5; font-weight: 700; margin: 1.8rem 0 1rem; }
.service-grid p, .approach p { color: var(--muted); font-size: .95rem; }
.service-grid ul { list-style: none; margin: 2rem 0 0; padding: 0; }
.service-grid li { border-top: 1px solid var(--line); font-family: var(--font-brand); font-size: .7rem; padding: .6rem 0; }
.service-visual { align-items: end; background: linear-gradient(135deg, #eef6f1, #fff); border: 1px solid #dce9e1; border-radius: .9rem; display: flex; height: 104px; margin-bottom: 1.5rem; overflow: hidden; padding: 1.25rem; position: relative; }
.pipeline-visual::before { background: var(--brand-green); content: ""; height: 2px; left: 18%; position: absolute; right: 18%; top: 50%; }
.pipeline-visual { align-items: center; justify-content: space-between; }
.pipeline-visual span { background: var(--white); border: 3px solid var(--brand-green); border-radius: 50%; height: 17px; position: relative; width: 17px; z-index: 1; }
.pipeline-visual span:nth-child(3) { border-color: var(--brand-red); height: 23px; width: 23px; }
.analytics-visual { align-items: end; gap: .55rem; justify-content: center; }
.analytics-visual span { background: var(--brand-green); border-radius: .3rem .3rem 0 0; height: 28%; width: 11%; }
.analytics-visual span:nth-child(2) { height: 62%; }
.analytics-visual span:nth-child(3) { background: var(--brand-red); height: 42%; }
.analytics-visual span:nth-child(4) { height: 78%; }
.analytics-visual span:nth-child(5) { background: var(--ink); height: 55%; }
.systems-visual { align-items: center; display: grid; gap: .55rem; grid-template-columns: repeat(2, 46px); justify-content: center; }
.systems-visual span { background: var(--white); border: 2px solid var(--brand-green); border-radius: .45rem; height: 28px; }
.systems-visual span:nth-child(2), .systems-visual span:nth-child(3) { border-color: var(--ink); }
.systems-visual span:nth-child(4) { border-color: var(--brand-red); }
.delivery-visual { align-items: center; justify-content: space-around; }
.delivery-visual::before { border: 2px dashed #91a29a; content: ""; left: 20%; position: absolute; right: 20%; top: 50%; }
.delivery-visual span { background: var(--white); border: 2px solid var(--brand-green); border-radius: .35rem; height: 24px; position: relative; width: 24px; z-index: 1; }
.delivery-visual span:last-child { background: var(--brand-green); border-color: var(--brand-green); box-shadow: 0 0 0 6px rgba(1, 140, 69, .13); }
.outcomes { background: var(--white); }
.outcomes-heading > p { color: var(--muted); }
.outcome-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); background: var(--line); border: 1px solid var(--line); }
.outcome-grid article { background: var(--white); padding: 2.25rem; }
.outcome-grid span { color: var(--brand-red); font-family: var(--font-brand); font-size: .72rem; }
.outcome-grid h3 { font-size: 1.05rem; margin: 1.2rem 0 .8rem; }
.outcome-grid p { color: var(--muted); font-size: .95rem; margin: 0; }
.work-list { border-top: 1px solid var(--line-dark); }
.work-list a {
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 2rem;
  grid-template-columns: 45px 1fr 30px;
  padding: 1.8rem 0;
  text-decoration: none;
  transition: background-color .2s ease;
}
.work-list a:hover, .work-list a:focus-visible { background: #303a34; }
.work-list strong { display: block; font-family: var(--font-brand); font-size: 1.4rem; font-weight: 700; letter-spacing: -.04em; }
.work-list small { color: #d1d6d3; font-size: .78rem; }
.work-index, .work-list .arrow { color: var(--green-light); }
.work-index { font-family: var(--font-brand); font-size: .75rem; }
.work-list .arrow { font-size: 1.3rem; text-align: right; }
.approach { display: grid; gap: 3rem 5rem; grid-template-columns: .8fr 1.2fr; }
.approach ol { list-style: none; margin: 0; padding: 0; }
.approach li { border-top: 1px solid var(--line); display: grid; gap: 1.5rem; grid-template-columns: 35px 1fr; padding: 1.6rem 0; }
.approach li > span { color: var(--brand-red); font-size: .75rem; }
.approach h3 { margin: 0 0 .6rem; }
.support-callout { border-left: 4px solid var(--brand-green); grid-column: 2; padding: 1.5rem 2rem; }
.support-callout .kicker { margin-bottom: .7rem; }
.support-callout h3 { margin-bottom: .6rem; }
.support-callout p:last-child { margin-bottom: 0; }
.contact { background: #edf5f0; border-top: 4px solid var(--brand-green); padding: 5rem max(calc((100vw - var(--max)) / 2), 5vw); text-align: center; }
.contact h2 { margin: 1rem auto 2.5rem; max-width: 780px; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-main, .footer-bottom { margin: auto; max-width: var(--max); }
.footer-main { align-items: start; display: grid; gap: 5rem; grid-template-columns: 1.4fr .6fr .8fr; padding: 4rem 0 3rem; }
.site-footer p, .site-footer a { color: var(--muted); font-size: .82rem; }
.site-footer p { margin: 0; }
.footer-brand p { line-height: 1.7; margin-top: 1.1rem; max-width: 390px; }
.footer-column h2 { color: var(--ink); font-size: .72rem; letter-spacing: .08em; margin: .15rem 0 1.15rem; text-transform: uppercase; }
.footer-nav, .footer-contact { display: grid; gap: .65rem; }
.footer-nav a, .footer-contact a, .footer-bottom a { text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus-visible, .footer-contact a:hover, .footer-contact a:focus-visible, .footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--green-text); text-decoration: underline; }
.footer-bottom { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 1.4rem 0 1.8rem; }
.footer-bottom p, .footer-bottom a { font-family: var(--font-brand); font-size: .67rem; }
.error-page main { margin: 0 auto; max-width: 760px; min-height: 100vh; padding: 10vh 2rem; }
.error-page .kicker { margin-top: 5rem; }
.error-page h1 { font-size: clamp(2rem, 6vw, 3.5rem); letter-spacing: -.055em; line-height: 1.25; }
.error-page p { color: var(--muted); }
.error-page .button { margin-top: 2rem; }
.container { line-height: 1.75; margin: 0 auto; max-width: 44rem; min-height: calc(100vh - 5rem); padding: 5rem 1.25rem; }
.container h1, .container h2 { line-height: 1.3; }
.contact-page { display: grid; gap: 5rem; grid-template-columns: .8fr 1.2fr; margin: 0 auto; max-width: var(--max); padding: 5rem 0 6rem; }
.contact-intro h1 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.06em; line-height: 1.2; margin: 1rem 0 2rem; }
.contact-intro > p:last-child { color: var(--muted); }
.inquiry-form { background: var(--paper); border-top: 4px solid var(--brand-green); padding: 2rem; }
.form-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inquiry-form label { display: block; font-size: .75rem; font-weight: 700; margin-bottom: 1.5rem; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { background: var(--white); border: 1px solid #aeb4b0; border-radius: 0; color: var(--ink); display: block; font: inherit; margin-top: .45rem; padding: .75rem; width: 100%; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--brand-green); outline: 3px solid rgba(1, 140, 69, .18); }
.inquiry-form textarea { resize: vertical; }
.optional { color: var(--muted); float: right; font-size: .65rem; font-weight: 400; text-transform: uppercase; }
.field-help, .form-fallback, .form-status, .privacy-note { color: var(--muted); font-size: .72rem; }
.field-help { margin-top: -1rem; }
.form-trap { height: 0; opacity: 0; overflow: hidden; pointer-events: none; position: absolute; }
.inquiry-form button { border: 0; cursor: pointer; font-family: inherit; }
.inquiry-form button:focus-visible { outline: 3px solid var(--brand-green); outline-offset: 4px; }
.inquiry-form button:disabled { cursor: wait; opacity: .7; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; }
.form-status.error { color: var(--brand-red); }
.form-status.success { color: var(--green-text); }
.form-fallback { margin: 1rem 0 0; }
.form-fallback a { color: var(--green-text); }
.privacy-note { border-top: 1px solid var(--line); margin: 1.5rem 0 0; padding-top: 1rem; }

@media (max-width: 1240px) {
  .header-inner, .hero, .footer-main, .footer-bottom { margin-left: 5vw; margin-right: 5vw; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 1.2rem; }
  .primary-nav { flex-wrap: wrap; gap: 1rem; }
  .hero { padding-top: 3rem; }
  .hero-layout { gap: 2rem; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.1rem, 7vw, 4rem); }
  .hero-visual { margin: 0 auto; max-width: 560px; width: 100%; }
  .section-heading.split, .approach, .contact-page { gap: 2rem; grid-template-columns: 1fr; }
  .contact-page { margin-left: 5vw; margin-right: 5vw; }
  .support-callout { grid-column: 1; }
  .service-grid { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: 1fr; }
  .footer-main { gap: 2.5rem; grid-template-columns: 1fr; }
  .footer-brand p { max-width: 520px; }
}
@media (max-width: 600px) {
  .header-inner { padding: 1rem 0; }
  .wordmark { width: 170px; }
  .primary-nav { width: 100%; gap: .65rem 1rem; }
  .primary-nav a { font-size: .7rem; }
  .nav-cta { padding: .45rem .65rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-label { line-height: 1.8; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .work-list a { gap: .75rem; grid-template-columns: 22px minmax(0, 1fr) 20px; }
  .work-list strong { font-size: 1.1rem; }
  .work-list small { font-size: .7rem; }
  .approach li { gap: .8rem; grid-template-columns: 25px minmax(0, 1fr); }
  .footer-main { padding-top: 3rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
