@font-face {
  font-family: "Roboto Slab";
  src: url("../assets/fonts/roboto-slab.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../assets/fonts/public-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --red: #9b2c22;
  --red-dark: #7a2119;
  --ink: #222426;
  --muted: #595d61;
  --panel: #eef0f2;
  --line: #ced2d6;
  --dark: #2b2d2f;
  --slab: "Roboto Slab", Georgia, serif;
  --sans: "Public Sans", Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--slab);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.2rem; }
p, ul, ol, dl { margin: 0 0 1rem; }
a { color: var(--red); text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.jump {
  position: absolute; left: 8px; top: -60px;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10;
}
.jump:focus { top: 8px; color: #fff; }

.concept { background: var(--panel); font-size: .875rem; line-height: 1.4; }
.concept p { margin: 0; padding: 7px 0; color: var(--ink); }
.concept a { color: var(--ink); font-weight: 600; white-space: nowrap; }

.top { border-bottom: 5px solid var(--red); }
.top .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 28px; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font: 700 1.35rem/1 var(--slab);
}
.brand svg { width: 38px; height: 24px; flex: none; }
.brand:hover { color: var(--ink); }
.phone {
  margin-left: auto; text-align: right; line-height: 1.2;
  color: var(--red); text-decoration: none;
}
.phone strong { display: block; font: 700 1.5rem/1.1 var(--slab); }
.phone span { font-size: .8125rem; color: var(--muted); }
.phone:hover strong { text-decoration: underline; }
.nav { flex-basis: 100%; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a {
  display: inline-block; padding: 4px 0;
  color: var(--ink); font-weight: 600; text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line); color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }

@media (min-width: 900px) {
  .nav { flex-basis: auto; order: 2; margin-left: 24px; }
  .phone { order: 3; }
  .phone strong { font-size: 1.75rem; }
}
@media (max-width: 599px) {
  .top .wrap { gap: 8px 16px; }
  .phone { order: 1; flex-basis: 100%; margin-left: 0; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
  .phone strong { font-size: 1.4rem; }
  .nav { order: 2; }
  .nav ul { gap: 2px 14px; }
  .nav a { font-size: .9375rem; }
}

.btn {
  display: inline-block; padding: 13px 22px;
  background: var(--red); color: #fff;
  font: 700 1.0625rem/1.2 var(--sans);
  text-decoration: none; border: 2px solid var(--red); border-radius: 3px;
  cursor: pointer;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--plain { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--plain:hover { background: var(--panel); color: var(--ink); border-color: var(--ink); }

main { display: block; }
.section { padding: 56px 0; }
.section--panel { background: var(--panel); }
.lead { font-size: 1.1875rem; max-width: 40em; }
.muted { color: var(--muted); }
.narrow { max-width: 44em; }

.intro { padding: 44px 0 56px; }
.intro .wrap { display: grid; gap: 36px; }
.intro h1 { max-width: 15em; }
.intro__call { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.leak {
  border: 2px solid var(--ink); padding: 22px 24px; align-self: start;
}
.leak h2 { font-size: 1.3rem; }
.leak ol { padding-left: 1.2em; margin: 0; }
.leak li + li { margin-top: 6px; }
@media (min-width: 900px) {
  .intro .wrap { grid-template-columns: 1.6fr 1fr; gap: 56px; }
  .intro { padding-top: 64px; }
}

.work-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 0 48px; border-top: 2px solid var(--ink);
}
.work-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.work-list h3 { margin-bottom: 4px; }
.work-list h3 a { color: var(--ink); }
.work-list p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .work-list { grid-template-columns: 1fr 1fr; } }

.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; display: grid; gap: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  font: 700 2.25rem/1 var(--slab); color: var(--red);
}
.steps h3 { margin: 4px 0 4px; }
.steps p { margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps li { grid-template-columns: 1fr; border-top: 3px solid var(--ink); padding-top: 14px; }
  .steps li::before { grid-row: auto; margin-bottom: 10px; }
}

.split { display: grid; gap: 32px; }
@media (min-width: 860px) { .split { grid-template-columns: 3fr 2fr; gap: 64px; } }
.box { align-self: start; background: #fff; border-left: 5px solid var(--red); padding: 20px 24px; }
.box h3 { margin-bottom: 10px; }
.box ul { margin: 0; padding-left: 1.2em; }
.box--gray { background: var(--panel); }
.box > :last-child { margin-bottom: 0; }

.teaser { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .teaser { grid-template-columns: 1fr 1.3fr; gap: 56px; } }

.qa { max-width: 46em; }
.qa h3 { margin: 28px 0 6px; }
.qa p { margin: 0; }

.pagehead { background: var(--dark); color: #fff; padding: 40px 0 36px; }
.pagehead p { max-width: 42em; margin: 0; color: #e4e6e8; font-size: 1.125rem; }

.svc { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
.svc__index { font-size: .9375rem; }
.svc__index h2 { font: 700 1rem/1.3 var(--sans); margin-bottom: 8px; }
.svc__index ul { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--line); }
.svc__index a { display: block; padding: 5px 0 5px 14px; color: var(--ink); text-decoration: none; }
.svc__index a:hover { color: var(--red); text-decoration: underline; }
.service { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.service:last-child { border-bottom: 0; margin-bottom: 0; }
.service p, .service ul { max-width: 40em; }
.service h3 { font: 700 1rem/1.3 var(--sans); margin: 20px 0 6px; }
.service ul { padding-left: 1.2em; }
.note { background: var(--panel); padding: 14px 18px; max-width: 40em; }
.note p { margin: 0; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 220px 1fr; gap: 64px; }
  .svc__index > div { position: sticky; top: 24px; }
}

.jobs-head { padding-top: 48px; padding-bottom: 8px; }
.jobs-head h1 { margin-bottom: 12px; }
.fiction { border: 1px dashed var(--muted); padding: 12px 16px; max-width: 46em; font-size: .9375rem; }
.fiction p { margin: 0; }
.jobs { padding-top: 24px; padding-bottom: 64px; }
.job { border-top: 4px solid var(--ink); padding: 22px 0 36px; display: grid; gap: 24px; }
.job h2 { font-size: 1.4rem; margin-bottom: 14px; }
.job__where { display: block; font: 400 .9375rem/1.4 var(--sans); color: var(--muted); margin-top: 4px; }
.job dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 2px 20px; }
.job dt { font-weight: 700; margin-top: 10px; }
.job dd { margin: 0; }
.job figure { align-self: start; margin: 0; border: 1px solid var(--line); padding: 14px; background: #fff; }
.job figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
@media (min-width: 640px) {
  .job dl { grid-template-columns: 150px 1fr; }
  .job dt { margin-top: 0; }
  .job dd { margin-bottom: 10px; }
}
@media (min-width: 960px) {
  .job { grid-template-columns: 1.5fr 1fr; gap: 48px; }
  .job--text { grid-template-columns: 1fr; }
  .job--text .job__body { max-width: 760px; }
}

.quote { display: grid; gap: 40px; padding-top: 44px; padding-bottom: 64px; }
.quote h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }
@media (min-width: 960px) { .quote { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
.side { align-self: start; }
.side__call { background: var(--dark); color: #fff; padding: 22px 24px; margin-bottom: 28px; }
.side__call p { margin: 0 0 4px; }
.side__call a { color: #fff; font: 700 1.6rem/1.2 var(--slab); }
.side__call a:focus-visible { outline-color: #fff; }
.side ol { padding-left: 1.2em; }
.side li + li { margin-top: 8px; }

.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .9375rem; }
fieldset.field { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
input[type="text"], input[type="tel"], select, textarea {
  width: 100%; max-width: 32rem;
  font: inherit; color: var(--ink);
  padding: 10px 12px; border: 2px solid #7b8086; border-radius: 3px; background: #fff;
}
input.short { max-width: 9rem; }
textarea { min-height: 140px; resize: vertical; max-width: 40rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.radios label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.radios input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.row2 { display: grid; gap: 0 20px; max-width: 40rem; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.error { display: block; color: var(--red); font-weight: 600; font-size: .9375rem; margin-top: 6px; }
.error:empty { display: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
.form-note { font-size: .9375rem; color: var(--muted); }
.done { border: 2px solid var(--ink); padding: 24px; max-width: 40rem; }
.done h2:focus { outline: none; }
[hidden] { display: none !important; }

.foot { background: var(--dark); color: #e4e6e8; padding: 40px 0 28px; font-size: .9375rem; }
.foot .wrap { display: grid; gap: 24px; }
.foot h2 { font: 700 1.15rem/1.2 var(--slab); color: #fff; margin-bottom: 8px; }
.foot p { margin: 0 0 6px; }
.foot a { color: #fff; }
.foot a:focus-visible { outline-color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot__small { border-top: 1px solid #4a4d50; padding-top: 16px; font-size: .875rem; color: #c9ccd0; }
@media (min-width: 760px) {
  .foot .wrap { grid-template-columns: 2fr 1fr 1fr; }
  .foot__small { grid-column: 1 / -1; }
}
.job svg text { font: 600 13px/1 var(--sans); fill: var(--ink); }
