:root {
  --bg: #faf9fc;
  --ink: #231f33;
  --muted: #5d5873;
  --plum: #5b3a7a;
  --plum-dark: #43285c;
  --lilac: #e8e1f3;
  --leaf: #3e6b5a;
  --line: #d9d2e6;
  --maxw: 68rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.7;
}

h1, h2, h3, .wordmark, .btn, .site-nav a {
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--plum); text-underline-offset: 0.2em; }
a:hover { color: var(--plum-dark); }

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

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

/* Header */
.site-header { padding: 1.5rem 0 0; }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--plum); }

.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--lilac); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--plum); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}
.hero::before {
  width: 30rem;
  height: 30rem;
  right: -9rem;
  top: -6rem;
  background: var(--lilac);
}
.hero::after {
  width: 15rem;
  height: 15rem;
  right: 7rem;
  top: 9rem;
  background: rgba(62, 107, 90, 0.16);
}
.hero .wrap { position: relative; z-index: 1; }

h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 1.25rem;
  max-width: 14em;
}
.byline {
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--plum);
  margin: 0 0 1.75rem;
}
.lede { max-width: 38rem; margin: 0 0 2.25rem; }

.btn {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--plum-dark); color: #fff; }

/* Sections */
.section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 1.5rem;
}
.section p { max-width: 40rem; margin: 0 0 1.25rem; }

.page-head { padding: 3.5rem 0 2.5rem; }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.page-head p { max-width: 40rem; margin: 0; color: var(--muted); }

.industries {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.industries li {
  background: var(--lilac);
  color: var(--plum-dark);
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

/* Services */
.service-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.service-list li {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.5rem 2.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.service-list li:first-child { border-top: 0; padding-top: 0; }
.service-list h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  margin: 0;
  color: var(--plum-dark);
}
.service-list p { margin: 0; max-width: 34rem; }

.also {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  max-width: 40rem;
}
.also li { padding-left: 1.5rem; position: relative; }
.also li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--leaf);
}

.home-services { display: grid; gap: 0.6rem; padding: 0; margin: 0 0 1.75rem; list-style: none; max-width: 40rem; }
.home-services li { padding-left: 1.5rem; position: relative; }
.home-services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--plum);
}

/* Contact */
.contact-card {
  background: var(--lilac);
  border-radius: 1.5rem;
  padding: 2.25rem;
  max-width: 34rem;
}
.contact-card p { margin: 0 0 0.5rem; }
.contact-card .btn { margin-top: 1rem; }
.contact-line { font-size: 1.25rem; word-break: break-word; }

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}
.site-footer a { color: var(--muted); }

@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero::before { width: 18rem; height: 18rem; right: -8rem; top: -5rem; }
  .hero::after { display: none; }
  .service-list li { grid-template-columns: 1fr; }
  .contact-card { padding: 1.5rem; }
}
