:root {
  color-scheme: light;
  --forest: #0b2821;
  --ink: #14332b;
  --muted: #3c5850;
  --paper: #f5f8f3;
  --pale-mint: #d7ede0;
  --mint: #a9e5c3;
  --rule: #c4d3c9;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --shell: 80rem;

  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

body,
h1,
h2,
h3,
h4,
p {
  margin: 0;
}

body {
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 0.16rem solid currentColor;
  outline-offset: 0.25rem;
}

section[id] {
  scroll-margin-block-start: 1.25rem;
}

.shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.625rem 1rem;
  background: var(--paper);
  color: var(--forest);
}

.skip-link:not(:focus) {
  clip-path: inset(50%);
  pointer-events: none;
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__inner {
  min-height: 5rem;
  border-block-end: 1px solid var(--rule);
}

.brand,
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.brand {
  gap: 0.55rem;
  color: var(--forest);
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.055em;
}

.brand__mark {
  position: relative;
  flex: 0 0 1.35rem;
  height: 1.35rem;
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  width: 0.88rem;
  height: 0.88rem;
  border: 0.1rem solid var(--forest);
  border-radius: 0.18rem;
  content: "";
}

.brand__mark::before {
  inset: 0 0 auto auto;
  background: var(--mint);
}

.brand__mark::after {
  inset: auto auto 0 0;
  background: var(--forest);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  column-gap: clamp(0.75rem, 2.6vw, 2.25rem);
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.hero__intro {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
}

h1,
h2 {
  color: var(--forest);
  font-weight: 650;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6.05vw, 6rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero__intro p {
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
}

.hero__visual {
  margin: 0;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  background: var(--pale-mint);
}

.hero__details {
  max-width: 64ch;
  margin-block-start: 0.75rem;
  color: var(--muted);
}

.hero__details summary {
  width: fit-content;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero__details p {
  margin-block-start: 0.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  max-width: 100%;
  padding: 0.75rem 1.35rem;
  border-radius: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  color: var(--paper);
  background: var(--forest);
}

.button--primary:hover {
  background: #1b493b;
}

.button--primary:focus-visible {
  outline-color: var(--forest);
}

.services {
  background: var(--pale-mint);
}

.services__inner,
.workflows,
.approach {
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.section-intro {
  max-width: 59ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.2rem);
}

.services .section-intro {
  margin-block-start: 1rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  margin-block-start: clamp(1.75rem, 4vw, 3rem);
}

.services__area {
  padding-block-start: 0.95rem;
  border-block-start: 1px solid #a4c2b3;
}

.services__area ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.7rem 0 0;
  padding-inline-start: 1.2rem;
  color: var(--muted);
}

.services__area li::marker {
  color: var(--ink);
}

.approach,
.about,
.workflows__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  align-items: start;
  gap: clamp(1.2rem, 5vw, 5rem);
}

.approach {
  border-block-start: 1px solid var(--rule);
}

.workflow-example {
  margin-block-start: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.15rem, 3.5vw, 2.75rem);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
}

.workflow-example h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.workflow-example__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem clamp(1.4rem, 3.5vw, 3rem);
  margin: 1.35rem 0 0;
  padding-inline-start: 1.35rem;
}

.workflow-example__steps li {
  padding-inline-start: 0.15rem;
}

.workflow-example__steps li::marker {
  color: var(--forest);
  font-weight: 700;
}

.workflow-example__steps h4 {
  font-size: 1rem;
  line-height: 1.35;
}

.approach__steps {
  display: grid;
  gap: 1.4rem;
  margin: 0;
  padding-inline-start: 1.4rem;
}

.approach__steps li {
  padding-inline-start: 0.6rem;
}

.approach__steps li::marker {
  color: var(--muted);
  font-weight: 650;
}

.services__area h3,
.approach__steps h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
}

.workflow-example__steps p,
.approach__steps p {
  max-width: 44ch;
  margin-block-start: 0.35rem;
  color: var(--muted);
}

.about p,
.contact p {
  max-width: 46ch;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
}

.about {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-block-start: 1px solid var(--rule);
}

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

.contact {
  color: var(--pale-mint);
  background: var(--forest);
}

.contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 3rem;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.contact h2 {
  max-width: 16ch;
  color: var(--paper);
}

.contact p {
  margin-block-start: 1rem;
}

.contact__action {
  flex-shrink: 0;
  max-width: 100%;
}

.contact__action .contact__address {
  margin-block-start: 0.6rem;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.button--email {
  color: var(--forest);
  background: var(--mint);
  overflow-wrap: anywhere;
}

.button--email:hover {
  background: var(--pale-mint);
}

.button--email:focus-visible {
  outline-color: var(--paper);
}

.site-footer__inner {
  min-height: 4.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

@media (max-width: 65rem) {
  .services__grid,
  .workflow-example__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 46rem) {
  .hero__copy {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 38rem) {
  .services__grid,
  .workflows__intro,
  .workflow-example__steps,
  .approach,
  .about {
    grid-template-columns: 1fr;
  }

  .contact__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 32rem) {
  .site-header__inner {
    min-height: 0;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 0.35rem;
  }

  .site-nav {
    flex-basis: 100%;
    justify-content: start;
  }

  .site-nav a {
    font-size: 0.875rem;
  }
}

@media (max-width: 25rem) {
  h1 {
    font-size: clamp(2.5rem, 12vw, 3rem);
  }
}
