:root {
  color-scheme: light;
  --ink: #0A0A0A;
  --body: #3C3C3C;
  --blue: #005AA9;
  --blue-dark: #004482;
  --blue-tint: #EAF2FA;
  --paper: #FFFFFF;
  --muted: #F2F2F2;
  --line: #DCDCDC;
}

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

html { scroll-padding-top: 100px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.65 "Public Sans", Arial, sans-serif;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 10px;
  left: 14px;
  transform: translateY(-200%);
  padding: 10px 16px;
  background: var(--paper);
}

.skip-link:focus { transform: none; }

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

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.12;
  text-transform: uppercase;
}

h1, h2 { font-weight: 700; }

h1 {
  font-size: clamp(2.1rem, 4.1vw, 4.1rem);
  letter-spacing: -.02em;
}

h1 em { color: var(--blue); font-style: normal; }

h2 {
  font-size: clamp(1.75rem, 3.1vw, 3rem);
  letter-spacing: -.015em;
}

h3 { font-size: clamp(1.2rem, 1.75vw, 1.55rem); }
p { color: var(--body); }

.wrap { width: min(calc(100% - 64px), 1240px); margin-inline: auto; }

.masthead {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-content, .footer-content {
  display: flex;
  min-height: 81px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { flex: 0 0 auto; display: block; width: 153px; }

nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  font-size: .875rem;
  font-weight: 700;
}

nav a, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--blue); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 20px;
  color: var(--paper);
  background: var(--blue);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.45;
  border-radius: 2px;
  transition: background-color 150ms ease;
}

.button:hover { color: var(--paper); background: var(--blue-dark); }
.button-small { min-height: 42px; padding-block: 8px; }

.hero {
  padding: 64px 20px;
  background: var(--muted);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr minmax(0, .86fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.hero-copy-col {
  min-width: 0;
}

.breadcrumb-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb-link:hover { text-decoration: underline; }

.hero-copy {
  max-width: 48ch;
  margin-top: 22px;
  font-family: var(--heading);
  font-size: clamp(1.0625rem, 1.45vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  padding-block: 8px;
  color: var(--blue-dark);
  font-size: .875rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.journey {
  min-width: 0;
  overflow: hidden;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background-color: var(--paper);
}

.journey-header { margin-bottom: 22px; }
.journey h2 { font-size: clamp(1.5rem, 2.3vw, 2.25rem); }
.journey-header p { margin-top: 8px; font-family: var(--heading); font-size: .95rem; }

.journey-path {
  display: grid;
  gap: 10px;
  position: relative;
}

.journey-path::before {
  content: "";
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 8px;
  border-left: 1px dashed #B5B5B5;
}

.journey details {
  position: relative;
  margin-left: 24px;
  background: var(--muted);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.journey details[open] {
  background: var(--paper);
  border-color: var(--blue);
}

.journey details::before {
  content: "";
  position: absolute;
  top: 19px;
  left: -21px;
  width: 10px;
  height: 10px;
  border: 2px solid #9A9A9A;
  border-radius: 50%;
  background: var(--paper);
  pointer-events: none;
}

.journey details[open]::before {
  background-color: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #D6E6F5;
}

.journey summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 700;
  list-style: none;
}

.journey summary::-webkit-details-marker { display: none; }

.journey summary::after {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  margin-right: 3px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}

.journey details[open] summary { color: var(--blue-dark); }
.journey details[open] summary::after { transform: rotate(225deg); }

.journey details p {
  padding: 0 16px 16px;
  font-size: .875rem;
  line-height: 1.55;
}

.section { padding: 68px 20px; }

.section-intro {
  max-width: 68ch;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
}

.section-lead {
  margin-top: 14px;
  font-size: 1.05rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.cycle-figure {
  padding: 20px 20px 16px;
  background: var(--muted);
  border-bottom: 1px solid var(--line);
}

.cycle-svg {
  display: block;
  width: 100%;
  height: auto;
}

.cycle-caption {
  margin-top: 10px;
  color: var(--body);
  font-size: .8rem;
  line-height: 1.4;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 26px 28px;
}

.service-lead {
  margin-top: 10px;
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.service ul {
  margin: 18px 0 24px;
  padding-left: 20px;
  color: var(--body);
  font-size: .9375rem;
}

.service li + li { margin-top: 8px; }
.service li::marker { color: var(--blue); }

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-dark);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}

.service-link:hover { text-decoration: underline; }

.method, .footer {
  background: var(--muted);
  border-block: 1px solid var(--line);
}

.method-content {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 36px clamp(40px, 7vw, 108px);
  align-items: start;
}

.method-intro p + p { margin-top: 16px; }
.method h2 + p, .contact h2 + p { margin-top: 16px; }

.cycle-loop-note {
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-size: .92rem;
}

.cycle-loop-note strong { color: var(--blue-dark); }

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 22px 54px;
}

.steps li + li {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--blue);
  font: 700 1.45rem/1.25 var(--heading);
}

.steps p { margin-top: 7px; }

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px 32px;
  align-items: center;
}

.footer-content { justify-content: flex-start; font-size: .875rem; }
.footer .logo { width: 130px; margin-right: auto; }

@media (max-width: 1020px) {
  .services { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .hero-content, .method-content { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 15ch; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 36px); }
  .masthead { position: static; }
  .header-content { min-height: 67px; gap: 12px; }
  .logo { width: 126px; }
  nav { gap: 0; }
  nav > :not(.button) { display: none; }
  .button-small { font-size: .76rem; gap: 8px; padding-inline: 10px; }
  .contact-content { grid-template-columns: minmax(0, 1fr); }
  .contact .button { justify-self: start; }
  .footer-content { flex-wrap: wrap; padding-block: 22px; gap: 15px 20px; }
  .footer .logo { width: min(100%, 130px); margin-right: calc(100% - 130px); }
}
