:root {
  --paper: #F2F2EF;
  --ink: #36454F;
  --ink-soft: #5E6A70;
  --rule: #C9CBC6;
  --green: #118E5F;
  --green-ink: #0C6E49;
  --serif: 'Sanchez', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --max: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img { width: 250px; }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.nav a {
  display: block;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--green-ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); }

/* Banner */

.banner { margin: 0; border-top: 12px solid var(--green); }
.banner img {
  width: 100%;
  height: clamp(220px, 32vw, 440px);
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}
/* Banner made to size: show it uncropped, anchored to the top so heads are never cut. */
.banner--natural img {
  height: auto;
  min-height: 200px;
  object-position: 40% top;
}
.banner figcaption {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6px var(--gutter) 0;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A3B2E;
  text-align: right;
}

/* Home hero: headline set into the open space at left, lined up with the page content. */

.banner__frame { position: relative; }
.banner--hero img {
  height: auto;
  min-height: 200px;
  object-position: right center;
}
.banner__title {
  position: absolute;
  top: 50%;
  left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  width: 46%;
  margin: 0;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 5.4vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
  text-wrap: balance;
}

@media (max-width: 699px) {
  .banner__title { display: none; }
}
.hero-has-title .page-head .deck { font-weight: 700; color: var(--ink); }

@media (min-width: 700px) {
  .hero-has-title .page-head h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Page title */

.page-head { padding-top: 40px; }
.label {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
}
h1 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.deck {
  margin: 12px 0 0;
  max-width: 40em;
  font-style: italic;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
}

/* The two columns */

.columns {
  columns: 2;
  column-gap: 56px;
  column-rule: 1px solid var(--rule);
  padding: 32px 0 40px;
}
.columns p { margin: 0 0 1em; orphans: 3; widows: 3; }
.columns h2 {
  margin: 1.5em 0 0.35em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  break-after: avoid;
}
.columns > h2:first-child { margin-top: 0; }
.columns .keep { break-inside: avoid; }
.columns .keep h2 { margin-top: 0; padding-top: 0.6em; }
.columns ul { margin: 0 0 1em; padding-left: 1.1em; }
.columns li { margin-bottom: 0.25em; }
.columns li::marker { color: var(--green); }
.columns figure { margin: 0.4em 0 1.2em; break-inside: avoid; }
.columns figure img { width: 100%; filter: grayscale(1) contrast(1.04); }
.columns figure.portrait { max-width: 300px; }
.columns figcaption {
  padding-top: 6px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
}
.columns .contact-list { list-style: none; padding: 0; }
.columns .contact-list b {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.button {
  display: inline-block;
  margin-top: 0.4em;
  padding: 13px 22px;
  background: var(--green-ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.button:hover { background: var(--ink); color: #fff; }

/* Small "Want to talk?" link to the Contact page */
.talk {
  display: inline-block;
  margin-top: 0.2em;
  padding: 7px 14px;
  border: 1.5px solid var(--green-ink);
  color: var(--green-ink);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.talk:hover { background: var(--green-ink); color: #fff; }

.qa__mark {
  margin-right: 0.3em;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--green-ink);
}

/* Punchy one-liners set apart from the body copy */
.columns .callout {
  margin: 0.9em 0 0.4em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  break-after: avoid;
}
.columns .callout-note { margin-top: 0; font-size: 15px; color: var(--ink-soft); }
.columns .stat { font-weight: 700; }

.quote {
  margin: 0 0 1em;
  padding-left: 16px;
  border-left: 3px solid var(--green);
  break-inside: avoid;
}
.quote p { margin: 0 0 0.4em; font-style: italic; }
.quote footer {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.quote cite { font-style: normal; }

/* Client logos, grouped. Shown in grey like the photos; full color on hover. */
.client-logos { padding: 32px 0 8px; }
.logo-group { margin: 0 0 36px; }
.logo-group h2 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 128px;
  padding: 16px 20px;
  background: #fff;
}
.logos img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(1);
  transition: filter 0.2s;
}
.logos li:hover img { filter: none; }
@media (prefers-reduced-motion: reduce) { .logos img { transition: none; } }
@media (max-width: 480px) {
  .logos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logos li { height: 96px; padding: 12px; }
}

/* Testimonials on the Clients page */
.testimonials { border-top: 1px solid var(--rule); padding: 32px 0 40px; }
.testimonials h2 {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 32px 56px;
  align-items: start;
}
.testimonials .quote { margin: 0; }
.testimonials .quote p { margin-bottom: 0.8em; }
.testimonials__talk { margin: 32px 0 0; }

/* Pages without a banner photo still open with the green rule */
.page-rule { border-top: 12px solid var(--green); }

.next {
  border-top: 1px solid var(--rule);
  padding: 22px 0 48px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}
.next a { text-decoration: none; }
.next a::after { content: " \2192"; }

/* Footer */

.site-footer { border-top: 4px solid var(--ink); padding: 28px 0 36px; }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.footer-logo { width: 200px; }
.site-footer p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.fineprint { flex-basis: 100%; font-family: var(--sans); font-size: 11px !important; letter-spacing: 0.04em; }

/* Small screens */

/* Small-screen menu: a centered Menu button above the banner. Without JavaScript the links simply show. */
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .columns { columns: 1; padding-top: 24px; }
}

/* Switch to the Menu button before the links would wrap onto a second line beside the logo. */
@media (max-width: 960px) {
  .site-header .wrap { flex-direction: column; gap: 10px; }
  .nav { display: flex; flex-direction: column; align-items: center; width: 100%; }
  .nav ul { justify-content: center; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border: 1px solid var(--rule);
    background: transparent;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-toggle[aria-expanded="true"] { border-color: var(--green); color: var(--green-ink); }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }

  .js .nav ul { display: none; }
  .js .nav.is-open ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 12px;
    border-top: 1px solid var(--rule);
  }
  .js .nav.is-open a {
    padding: 13px 12px;
    text-align: center;
    border-bottom: 1px solid var(--rule);
  }
  .js .nav.is-open a[aria-current="page"] { color: var(--green-ink); border-bottom-color: var(--rule); }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  .logo img { width: 220px; }
  .nav a { padding: 8px 9px; font-size: 11.5px; }
}
