:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17211d;
  background: #fefefd;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(145deg, #fefefd 0%, #f9faf8 62%, #f4f7f5 100%);
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(70rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.8rem;
  border-bottom: 1px solid #d8d7cf;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #17211d;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .075em;
  text-decoration: none;
  text-transform: uppercase;
}

.mark {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border: 1px solid #b57f20;
  border-radius: 50%;
  color: #b57f20;
  font-family: Georgia, serif;
  font-size: .82rem;
  letter-spacing: 0;
}

.byline {
  color: #526158;
  font-size: .8rem;
}

main { padding-block: clamp(4.5rem, 12vw, 9rem) 5rem; }

.intro { max-width: 48rem; }

.eyebrow {
  margin: 0 0 .65rem;
  color: #167a72;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1,
h2,
h3 { font-family: Georgia, "Times New Roman", serif; }

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .94;
}

.intro > p:last-child {
  max-width: 39rem;
  margin-bottom: 0;
  color: #526158;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.case-studies { margin-top: clamp(4.5rem, 11vw, 8rem); }

.section-heading { margin-bottom: 1.25rem; }

h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.045em;
}

.case-card {
  max-width: 50rem;
  padding: clamp(1.45rem, 4vw, 2.5rem);
  border: 1px solid #d8d7cf;
  border-top: 3px solid #b57f20;
  background: #fff;
  box-shadow: 0 1rem 2.6rem rgb(23 33 29 / .06);
}

.case-card h3 {
  margin-bottom: .7rem;
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -.045em;
}

.case-card > p:not(.eyebrow) {
  max-width: 46rem;
  margin-bottom: 1.25rem;
  color: #526158;
  line-height: 1.6;
}

.case-link {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  color: #17211d;
  font-weight: 750;
  text-decoration-color: #b57f20;
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
}

.case-link:hover { color: #8c5e14; }

a:focus-visible {
  outline: 3px solid #167a72;
  outline-offset: 4px;
}

footer {
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid #d8d7cf;
  color: #526158;
  font-size: .8rem;
  line-height: 1.5;
}

footer p { margin: 0; }

@media (max-width: 35rem) {
  .site-header,
  main,
  footer { width: min(100% - 1.6rem, 70rem); }
  .site-header { min-height: 4.2rem; }
}
