:root {
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-soft: #eaf0ec;
  --ink: #16201c;
  --muted: #5e6a64;
  --line: #d9e2dc;
  --green: #126242;
  --green-dark: #0c4930;
  --blue: #24587a;
  --amber: #c98a2c;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(22, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 245, 0.92);
  border-bottom: 1px solid rgba(217, 226, 220, 0.85);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(164px, 16vw, 230px);
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff !important;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-content: center;
  justify-items: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.hero {
  padding: 82px 0 68px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 64px;
  font-weight: 650;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  font-weight: 650;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.2;
}

.hero-text {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 650;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.keyword-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.keyword-links a:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 36px));
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 226, 220, 0.9);
  box-shadow: 0 14px 34px rgba(22, 32, 28, 0.16);
}

.hero-media strong,
.hero-media span {
  display: block;
}

.hero-media strong {
  margin-bottom: 5px;
  font-size: 15px;
}

.hero-media span {
  color: var(--muted);
  font-size: 14px;
}

.signal-band {
  padding: 28px 0;
  background: var(--ink);
  color: #ffffff;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.signal-grid div {
  padding: 8px 0;
}

.signal-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: #9fcdb9;
  font-size: 13px;
  font-weight: 600;
}

.signal-grid strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.signal-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.section {
  padding: 88px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.intro-copy p {
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.services {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-explorer {
  display: grid;
  gap: 22px;
}

.service-tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.service-tab {
  min-height: 46px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf8;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.service-tab:hover,
.service-tab:focus-visible,
.service-tab.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.service-browser {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 24px;
  align-items: start;
}

.service-menu {
  display: grid;
  gap: 14px;
}

.service-panel-label {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-option {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 13px 42px 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8faf8;
  color: #2e3934;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.service-option[hidden] {
  display: none;
}

.service-option::after {
  content: "";
  position: absolute;
  right: 17px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.45;
  transform: rotate(45deg);
}

.service-option:hover,
.service-option:focus-visible,
.service-option.is-active {
  border-color: var(--green);
  background: var(--surface-soft);
  color: var(--green-dark);
}

.service-option.is-active {
  box-shadow: inset 4px 0 0 var(--green);
}

.service-detail {
  position: sticky;
  top: 104px;
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-detail h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.service-detail p {
  color: var(--muted);
  font-size: 18px;
}

.detail-meta {
  display: grid;
  gap: 4px;
  margin: 22px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-meta strong {
  color: var(--ink);
}

.detail-meta span {
  color: var(--muted);
}

.service-detail-cta {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--green);
  color: #ffffff;
  font-weight: 650;
}

.service-detail-cta:hover {
  background: var(--green-dark);
}

.feature-section {
  background: var(--bg);
}

.feature-section.alt {
  background: #eef4f0;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: center;
}

.feature-layout.reverse {
  grid-template-columns: 1.14fr 0.86fr;
}

.feature-layout.reverse .feature-copy {
  order: 2;
}

.feature-layout.reverse .feature-image {
  order: 1;
}

.feature-copy p {
  color: var(--muted);
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  color: #2e3934;
  font-weight: 600;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
}

.section-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: var(--green);
  font-weight: 650;
}

.section-link:hover {
  color: var(--green-dark);
}

.feature-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 78px 0 70px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 52px;
  align-items: center;
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-summary,
.content-panel,
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.page-summary {
  padding: 28px;
  box-shadow: var(--shadow);
}

.page-summary h2,
.content-panel h2 {
  font-size: 28px;
}

.summary-list,
.detail-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.summary-list li,
.detail-list li {
  position: relative;
  padding-left: 22px;
  color: #2e3934;
  font-weight: 600;
}

.summary-list li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.content-panel {
  padding: 28px;
}

.content-panel p {
  color: var(--muted);
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.content-band {
  background: #eef4f0;
}

.page-cta {
  background: var(--ink);
  color: #ffffff;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.page-cta .eyebrow {
  color: #9fcdb9;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.related-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.related-links a:hover {
  border-color: var(--green);
  color: var(--green);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-content {
  padding: 26px;
}

.case-content p {
  color: var(--muted);
}

.case-content h2 {
  font-size: 30px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.case-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.case-details {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.case-details div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.case-details strong {
  display: block;
  margin-bottom: 4px;
}

.case-quote {
  margin: 22px 0 0;
  padding: 18px;
  border-left: 4px solid var(--green);
  background: var(--surface-soft);
  color: var(--ink);
}

.case-quote p {
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 600;
}

.case-quote cite {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.manager-panel,
.fergus-form-panel,
.email-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.manager-panel {
  padding: 30px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
}

.panel-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.manager-panel h3 {
  margin-bottom: 4px;
}

.manager-panel p {
  margin-bottom: 6px;
  color: var(--muted);
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.audience-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 600;
}

.manager-email {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-weight: 650;
}

.manager-email:hover {
  background: var(--green);
}

.contact {
  background: var(--ink);
  color: #ffffff;
}

.contact .eyebrow {
  color: #9fcdb9;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.email-panel {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.email-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.email-panel a {
  width: fit-content;
  color: #ffffff;
  font-size: 22px;
  font-weight: 650;
}

.copy-email {
  width: fit-content;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.copy-email:hover {
  background: rgba(255, 255, 255, 0.1);
}

.fergus-form-panel {
  padding: 30px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}

.fergus-form-heading {
  display: grid;
  gap: 4px;
}

.fergus-form-heading h3 {
  margin: 0;
  color: var(--ink);
}

.fergus-frame-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.fergus-form-frame {
  width: 100%;
  height: 1040px;
  display: block;
  border: 0;
  background: #ffffff;
}

.fergus-form-actions {
  display: flex;
  justify-content: flex-end;
}

.fergus-open-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green);
  font-weight: 650;
}

.fergus-open-link:hover {
  border-color: var(--green);
  background: var(--surface-soft);
}

.site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a:hover {
  color: #ffffff;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-layout,
  .feature-layout,
  .feature-layout.reverse,
  .two-col,
  .page-hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-layout.reverse .feature-copy,
  .feature-layout.reverse .feature-image {
    order: initial;
  }

  .hero-copy {
    max-width: none;
  }

  .service-browser {
    grid-template-columns: 1fr;
  }

  .service-detail {
    position: static;
  }

  .service-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-grid,
  .content-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding: 54px 0 54px;
  }

  .page-hero {
    padding: 54px 0;
  }

  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-text,
  .intro-copy p,
  .section-heading p,
  .feature-copy p,
  .contact-copy p {
    font-size: 17px;
  }

  .hero-actions,
  .page-actions,
  .btn {
    width: 100%;
  }

  .section-link {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .hero-media img {
    min-height: 420px;
  }

  .hero-media figcaption {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .service-tabs {
    margin-right: -14px;
    padding-right: 14px;
  }

  .service-options {
    grid-template-columns: 1fr;
  }

  .service-option {
    min-height: 56px;
  }

  .service-detail {
    padding: 24px;
  }

  .service-detail h3 {
    font-size: 24px;
  }

  .fergus-form-panel {
    padding: 20px;
  }

  .fergus-form-frame {
    height: 980px;
  }

  .fergus-form-actions {
    justify-content: stretch;
  }

  .fergus-open-link {
    width: 100%;
  }

  .email-panel a {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  .footer-wrap {
    flex-direction: column;
  }
}
