:root {
  --page-bg: #eeeeee;
  --ink: #3a3a3a;
  --muted: #555555;
  --line: #d9d9d9;
  --brand: #f3534e;
  --nav: #424242;
  --nav-rail: #222222;
  --panel: #ffffff;
  --content-width: 900px;
  --container-padding: 40px;
  --container-width: calc(var(--content-width) + (var(--container-padding) * 2));
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  min-height: 70px;
  background: var(--nav-rail);
}

.header-inner {
  display: flex;
  width: min(100%, var(--container-width));
  min-height: 70px;
  margin: 0 auto;
  background: var(--nav);
}

.brand {
  display: flex;
  flex: 0 0 300px;
  align-items: center;
  width: 300px;
  min-width: 300px;
  min-height: 70px;
  padding: 0 12px;
  background: var(--brand);
  color: #ffffff;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: stretch;
  min-height: 70px;
}

.site-nav a {
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
}

.page-shell {
  width: min(100%, var(--container-width));
  margin: 14px auto 0;
}

.content-panel {
  min-height: 620px;
  padding: 19px var(--container-padding);
  background: var(--panel);
  outline: 1px solid var(--line);
}

.content-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.welcome-media {
  width: min(458px, 100%);
  margin: 42px auto 49px;
}

.welcome-media img {
  display: block;
  width: 100%;
  aspect-ratio: 458 / 303;
  object-fit: cover;
}

.copy-block h2 {
  margin: 0 0 12px;
  color: #2f2f2f;
  font-size: 14px;
  line-height: 1.35;
  text-transform: uppercase;
}

.copy-block h3 {
  margin: 0 0 13px;
  color: #676767;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.copy-block p {
  margin: 0 0 14px;
  text-align: justify;
}

.services-panel {
  min-height: 900px;
}

.services-copy {
  margin-top: 25px;
}

.services-copy h2 {
  margin-top: 16px;
}

.service-list {
  margin: 28px 0 32px;
  padding-left: 35px;
  color: var(--muted);
  line-height: 1.35;
}

.service-list li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.three-column-list {
  column-count: 3;
  column-gap: 86px;
}

.two-column-list {
  max-width: 720px;
  column-count: 2;
  column-gap: 86px;
}

.single-column-list {
  margin-top: 16px;
}

.contact-panel {
  min-height: 585px;
}

.contact-panel h1 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
}

.contact-form-wrap h2 {
  margin: 19px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.contact-form {
  margin-top: 19px;
  max-width: 680px;
}

.contact-form h3 {
  margin: 0 0 9px;
  color: #676767;
  font-size: 16px;
  line-height: 1.35;
}

.required-note {
  margin: 0 0 10px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

.form-row label {
  flex: 0 0 150px;
  line-height: 1.3;
}

.form-row input,
.form-row textarea {
  display: block;
  flex: 0 0 370px;
  width: 370px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #808080;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.form-row input {
  height: 25px;
  padding: 2px 6px;
}

.form-row textarea {
  min-height: 157px;
  padding: 6px;
  resize: vertical;
}

.message-row {
  align-items: start;
}

.message-row label {
  padding-top: 5px;
}

.copy-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 2px 0 26px;
  line-height: 1.3;
}

.copy-row input {
  width: 13px;
  height: 13px;
  margin: 0;
}

.captcha-row {
  margin-bottom: 17px;
}

.submit-button {
  min-width: 60px;
  min-height: 23px;
  border: 0;
  background: var(--brand);
  color: #ffffff;
  cursor: default;
  font: inherit;
  font-weight: 700;
  line-height: 1;
}

.site-footer {
  width: min(100%, var(--container-width));
  margin: 35px auto 28px;
  padding: 0 var(--container-padding);
  color: #9c9c9c;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 760px) {
  .site-header {
    background: var(--nav);
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 62px;
    font-size: 21px;
    letter-spacing: 3px;
  }

  .nav-toggle {
    display: flex;
    width: 58px;
    min-height: 62px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: var(--nav);
    padding: 0 18px;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: #ffffff;
  }

  .site-nav {
    flex-direction: column;
    width: 100%;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 180ms ease;
  }

  .nav-open .site-nav {
    max-height: 160px;
  }

  .site-nav a {
    flex: 1;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
  }

  .page-shell {
    margin-top: 0;
  }

  .content-panel {
    min-height: 0;
    padding: 22px 17px 28px;
    outline: 0;
  }

  .content-panel h1 {
    font-size: 27px;
  }

  .welcome-media {
    margin: 28px auto 34px;
  }

  .copy-block p {
    text-align: left;
  }

  .services-panel {
    min-height: 0;
  }

  .service-list,
  .two-column-list,
  .three-column-list {
    column-count: 1;
    column-gap: 0;
  }

  .contact-panel {
    min-height: 0;
  }

  .contact-form {
    max-width: none;
  }

  .form-row {
    display: block;
    gap: 4px;
    margin-bottom: 10px;
  }

  .form-row label {
    display: block;
    margin-bottom: 4px;
  }

  .form-row input,
  .form-row textarea {
    width: 100%;
    flex-basis: auto;
  }

  .message-row label {
    padding-top: 0;
  }

  .site-footer {
    margin-top: 28px;
    padding: 0 17px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 18px;
    letter-spacing: 2px;
  }

}
