@font-face {
  font-family: Figtree;
  src: url("/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #2a2350;
  --yellow: #f6c243;
}

body {
  font: 400 1.0625rem/1.55 Figtree, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

body, h1, h2, p, ul { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

/* Full-width bands; content held to one measure, two columns from 60rem. */
.band {
  display: grid;
  gap: 1.5rem;
  padding: clamp(3rem, 9vw, 6.5rem) max(1.25rem, (100% - 72rem) / 2);
}
.hero { row-gap: 2.25rem; padding-top: clamp(2.5rem, 8vw, 6rem); }
@media (min-width: 60rem) {
  .band { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); column-gap: 5rem; }
  .hero { align-items: end; }
}

.wordmark { display: block; width: min(100%, 36rem); height: auto; }
.hero p + p { margin-top: 1rem; }
.hero p + p, .services p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
.lede {
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.375rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

/* Highlighter stroke over the lower part of the line; clone gives each wrapped line its own ends. */
mark {
  color: inherit;
  background: linear-gradient(transparent 40%, var(--yellow) 40%);
  border-radius: 0.2em;
  padding: 0 0.1em;
  margin: 0 -0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.mail {
  font-weight: 700;
  text-decoration: underline var(--yellow);
  text-decoration-thickness: 0.35em;
  text-underline-offset: -0.12em;
  text-decoration-skip-ink: none;
}

h2 { font-size: 1.125rem; }

.services { padding-top: 0; }
.services ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9em;
  font-size: clamp(1.375rem, 1.05rem + 1.6vw, 2.125rem);
  line-height: 1.2;
  font-weight: 500;
}
.services li {
  padding-left: 1.5em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed7a30' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 13.2c1.7 1.3 3.4 3.2 4.9 5.6C11 12.6 15 7.4 20.8 3.6'/%3E%3C/svg%3E") no-repeat 0 0.05em / 1.05em;
}
.services p { margin-top: 0.4rem; font-weight: 400; line-height: 1.5; }

.contact { background: var(--ink); color: #fff; }
.contact div { container-type: inline-size; }
.contact .mail {
  display: inline-block;
  margin-bottom: 0.4em;
  font-size: min(10cqi, 3rem); /* the email is ~9.6em wide, so 10cqi fills its column and never overflows */
  line-height: 1.15;
  color: var(--yellow);
  text-decoration: none;
}
.contact address { font-style: normal; }

.notfound {
  display: grid;
  gap: 1.5rem;
  box-sizing: border-box;
  min-height: 100vh;
  align-content: center;
  padding: 3rem max(1.25rem, (100% - 72rem) / 2);
}
.notfound .wordmark { width: min(70%, 18rem); }
.notfound h1 { font-size: clamp(1.75rem, 1.2rem + 2.5vw, 2.75rem); line-height: 1.15; }
