:root {
  --ink: #171b18;
  --ink-soft: #4d5650;
  --paper: #f7f9f5;
  --white: #ffffff;
  --line: #ced6cf;
  --green: #b6f03c;
  --green-dark: #376f2f;
  --blue: #174fd1;
  --blue-deep: #123276;
  --coral: #ef6a4c;
  --display: Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: Aptos, Candara, "Trebuchet MS", sans-serif;
  --max: 1180px;
  --reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-deep);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 9px 13px;
  color: var(--white);
  background: var(--blue-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(23, 27, 24, 0.16);
  background: rgba(247, 249, 245, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--green);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  padding: 8px 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.nav-contact {
  margin-left: 7px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 0;
  right: max(0px, calc((100vw - var(--max)) / 2));
  width: min(45vw, 590px);
  height: 100%;
  border-left: 1px solid rgba(23, 27, 24, 0.18);
  background-color: var(--blue);
}

.hero::after {
  right: max(4vw, calc((100vw - var(--max)) / 2 + 30px));
  bottom: 13%;
  width: min(37vw, 490px);
  height: 42%;
  border: 14px solid var(--green);
  border-top-width: 52px;
  background: var(--paper);
  box-shadow: -22px 22px 0 var(--ink);
}

.hero-copy {
  width: min(660px, 58%);
  padding: 80px 0 88px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 7.1vw, 108px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  color: var(--ink);
  background: var(--green);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
}

.hero-proof {
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.hero-map {
  position: absolute;
  z-index: 2;
  right: max(4vw, calc((100vw - var(--max)) / 2 + 52px));
  bottom: 20%;
  width: min(32vw, 410px);
  color: var(--ink);
}

.map-search {
  display: flex;
  min-height: 45px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.map-search::before {
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  content: "";
}

.map-lines {
  padding: 25px 4px 0;
}

.map-lines span {
  display: block;
  height: 9px;
  margin: 0 0 16px;
  background: var(--line);
}

.map-lines span:nth-child(1) { width: 90%; background: var(--blue); }
.map-lines span:nth-child(2) { width: 72%; }
.map-lines span:nth-child(3) { width: 82%; }
.map-lines span:nth-child(4) { width: 58%; background: var(--coral); }

.service-ribbon {
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.service-ribbon .shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-ribbon a {
  min-height: 150px;
  padding: 29px 26px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.service-ribbon a:first-child {
  border-left: 1px solid var(--line);
}

.service-ribbon a:hover {
  color: var(--ink);
  background: var(--green);
}

.service-ribbon strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.08;
}

.service-ribbon span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 92px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 43px;
}

.section-head h2,
.process-intro h2,
.contact-band h2,
.about-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

.section-head > p:last-child {
  margin: 0 0 4px;
  color: var(--ink-soft);
}

.articles-section {
  border-bottom: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
}

.articles-section .eyebrow {
  color: var(--green);
}

.articles-section .section-head > p:last-child {
  color: #c8d0ca;
}

.article-tabs {
  border-top: 1px solid #657069;
}

.tab-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid #657069;
}

.tab-list button {
  flex: 1 0 auto;
  min-height: 54px;
  padding: 12px 18px;
  border: 0;
  border-right: 1px solid #657069;
  color: #dce3de;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.tab-list button:first-child {
  border-left: 1px solid #657069;
}

.tab-list button:hover,
.tab-list button[aria-selected="true"] {
  color: var(--ink);
  background: var(--green);
}

.tab-panel[hidden] {
  display: none;
}

.article-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid #657069;
}

.article-link {
  position: relative;
  min-height: 160px;
  padding: 24px 58px 25px 24px;
  border-right: 1px solid #657069;
  border-bottom: 1px solid #657069;
  color: var(--white);
  text-decoration: none;
}

.article-link:hover {
  color: var(--white);
  background: #252d28;
}

.article-link::after {
  position: absolute;
  top: 22px;
  right: 23px;
  color: var(--green);
  content: "\2197";
  font-size: 24px;
}

.article-link small {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-link strong {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.18;
}

.article-link.has-image {
  min-height: 245px;
  padding-top: 132px;
  overflow: hidden;
}

.article-link.has-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 112px;
  border-bottom: 1px solid #657069;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.82) contrast(1.05);
}

[data-na-home-published-list]:empty,
[data-na-published-list]:empty {
  display: none;
}

.process-section {
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 85px;
}

.process-intro p:last-child {
  max-width: 450px;
  color: var(--ink-soft);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 89px;
  padding: 21px 10px 20px 76px;
  border-top: 1px solid var(--line);
  counter-increment: process;
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list li::before {
  position: absolute;
  top: 17px;
  left: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: var(--green);
  content: counter(process, decimal-leading-zero);
  font-size: 13px;
  font-weight: 900;
}

.process-list strong {
  display: block;
  font-size: 18px;
}

.process-list span {
  color: var(--ink-soft);
  font-size: 15px;
}

.testimonials-band {
  border-bottom: 1px solid var(--ink);
  background: var(--green);
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 70px;
  align-items: end;
}

.quote-layout blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(31px, 4.1vw, 58px);
  font-weight: 700;
  line-height: 1.06;
}

.quote-layout cite {
  display: block;
  margin-top: 22px;
  font-family: var(--body);
  font-size: 15px;
  font-style: normal;
  font-weight: 850;
}

.about-band {
  color: var(--white);
  background: var(--blue);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.about-band .eyebrow {
  color: var(--green);
}

.about-copy {
  font-size: 20px;
}

.about-copy p:first-child {
  margin-top: 0;
}

.about-copy a {
  color: var(--white);
}

.contact-band {
  border-top: 1px solid var(--ink);
  background: var(--coral);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  padding-top: 6px;
}

.contact-details p {
  margin: 0;
  border-top: 1px solid var(--ink);
  padding-top: 12px;
}

.contact-details strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  padding: 35px 0;
  color: #dce3de;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--white);
  font-size: 14px;
}

.page-hero {
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.page-hero .shell {
  min-height: 365px;
  padding-top: 83px;
  padding-bottom: 62px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(48px, 6.3vw, 86px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

.page-summary {
  max-width: 690px;
  margin: 23px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.breadcrumb {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(220px, 1fr);
  gap: 90px;
  align-items: start;
}

.article-body {
  min-width: 0;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 1.12;
}

.article-body h2 {
  margin: 2.2em 0 0.65em;
  font-size: clamp(32px, 3.4vw, 48px);
}

.article-body h3 {
  margin: 1.8em 0 0.55em;
  font-size: 27px;
}

.article-body h4 {
  font-size: 21px;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
  margin-top: 0;
  margin-bottom: 1.25em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body blockquote {
  margin-left: 0;
  padding: 20px 24px;
  border-left: 8px solid var(--green);
  background: var(--white);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.35;
}

.article-body img {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 32px auto;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: var(--white);
}

.article-body table {
  width: 100% !important;
  margin: 30px 0 !important;
  border-collapse: collapse !important;
  font-size: 15px !important;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.table-scroll table {
  min-width: 620px;
  margin: 0 !important;
}

.article-body th,
.article-body td {
  padding: 11px 12px !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  background: var(--white) !important;
  text-align: left !important;
}

.article-meta {
  margin: 0 0 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 760;
}

.article-aside {
  position: sticky;
  top: 102px;
  padding-top: 16px;
  border-top: 8px solid var(--green);
}

.article-aside h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.12;
}

.article-aside p {
  color: var(--ink-soft);
  font-size: 15px;
}

.article-aside a {
  font-weight: 800;
}

.archive-section {
  min-height: 55vh;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.archive-card {
  min-height: 220px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}

.archive-card:hover {
  color: var(--ink);
  background: var(--green);
}

.archive-card small {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-card h2 {
  margin: 16px 0 10px;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.16;
}

.archive-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.not-found {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 9vw, 120px);
  line-height: 0.9;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 73px 0 auto;
    max-height: calc(100vh - 73px);
    padding: 18px 20px 26px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    border-bottom: 1px solid var(--ink);
    background: var(--paper);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 5px; font-size: 17px; }
  .nav-contact { margin: 8px 0 0; padding: 12px !important; text-align: center; }

  .hero::before { width: 35vw; }
  .hero::after { right: 20px; width: 29vw; height: 38%; }
  .hero-map { right: 35px; width: 23vw; }
  .hero-copy { width: 70%; }

  .service-ribbon .shell { grid-template-columns: repeat(2, 1fr); }
  .service-ribbon a:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .service-ribbon a:nth-child(4) { border-top: 1px solid var(--line); }

  .article-link-grid,
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-layout,
  .about-layout,
  .contact-layout { gap: 55px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 55px; }
  .article-aside { position: static; max-width: 560px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .shell, .header-inner { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 64px; }
  .brand-name { max-width: 215px; font-size: 14px; }
  .site-nav { inset: 65px 0 auto; max-height: calc(100vh - 65px); }

  .hero { min-height: 710px; align-items: flex-start; }
  .hero::before { top: auto; right: 0; bottom: 0; width: 100%; height: 205px; border: 0; border-top: 1px solid var(--ink); }
  .hero::after { right: 35px; bottom: 48px; width: calc(100% - 70px); height: 115px; border-width: 9px; border-top-width: 32px; box-shadow: -12px 12px 0 var(--ink); }
  .hero-copy { width: 100%; padding: 70px 0 275px; }
  .hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-lead { margin-top: 24px; font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-map { right: 54px; bottom: 67px; width: calc(100% - 108px); }
  .map-search { min-height: 35px; padding: 5px 9px; font-size: 11px; }
  .map-lines { padding-top: 12px; }
  .map-lines span { height: 5px; margin-bottom: 8px; }

  .service-ribbon .shell { width: 100%; grid-template-columns: 1fr; }
  .service-ribbon a,
  .service-ribbon a:first-child,
  .service-ribbon a:nth-child(3) { min-height: 112px; border: 0; border-bottom: 1px solid var(--line); padding: 22px 20px; }

  .section { padding: 68px 0; }
  .section-head { grid-template-columns: 1fr; gap: 19px; margin-bottom: 32px; }
  .section-head h2,
  .process-intro h2,
  .about-band h2,
  .contact-band h2 { font-size: 43px; }

  .tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .tab-list button {
    min-width: 0;
    border-bottom: 1px solid #657069;
  }
  .article-link-grid,
  .archive-grid { grid-template-columns: 1fr; }
  .article-link { min-height: 138px; }
  .article-link.has-image { min-height: 225px; }

  .process-layout,
  .quote-layout,
  .about-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .quote-layout { gap: 30px; }

  .contact-details { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }

  .page-hero .shell { min-height: 330px; padding-top: 58px; padding-bottom: 48px; }
  .page-hero h1 { font-size: clamp(38px, 11vw, 52px); overflow-wrap: normal; word-break: normal; }
  .page-summary { font-size: 17px; }
  .article-body { font-size: 17px; }
  .article-body h2 { font-size: 33px; }
  .article-body h3 { font-size: 25px; }
}
