/* Beck Enterprises — www.beckenterprises.com
 *
 * Hand-written replacement for the WordPress/Elementor theme. Sizes and spacing were measured
 * from the old site so the pages render the same; see README.md for how that is checked.
 *
 * Breakpoints (inherited from the old theme):
 *   921px  header collapses to the menu button
 *   1024px "tablet" spacing
 *   767px  "mobile": columns stack
 *   544px  small-phone headings and logo
 */

/* ---------- Fonts ---------- */

/* One variable font file serves both weights. Only 400 and 700 are declared, so a request
   for any bolder-than-normal weight renders as 700. */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format("woff2");
}

/* ---------- Base ---------- */

:root {
  --ink: #011627;
  --text: #2b3a47;
  --link: #2b3a47;
  --button: #4f4c48;
  --button-hover: #f7e34b;
  --footer-hover: #d9d448;
  --wrap: 1050px;
  --gutter: 25px; /* space beside .wrap when the window is barely wider than it */
  --gap: 20px; /* space between stacked blocks */
}

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

html {
  font-size: 100%; /* 16px */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.857142857;
}

/* .h4 and .h5 give the look of a heading to text that isn't one, such as a tagline. */
h1,
h2,
h3,
h4,
h5,
.h4,
.h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}
h1 {
  font-size: 70px;
  line-height: 1.4;
}
h2 {
  font-size: 34px;
  line-height: 1.3;
}
h3 {
  font-size: 23px;
  line-height: 1.3;
}
h4,
.h4 {
  font-size: 17px;
  line-height: 1.2;
}
h5,
.h5 {
  font-size: 14px;
  line-height: 1.2;
}

p {
  margin: 0 0 1.6em;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s linear;
}
a:hover,
a:focus {
  color: var(--ink);
  text-decoration: underline;
}

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

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: absolute;
  top: 7px;
  left: 6px;
  z-index: 100000;
  padding: 15px 23px 14px;
  background: #f1f1f1;
  color: #21759b;
  font-size: 12px;
  line-height: normal;
}

@media (max-width: 921px) {
  h2 {
    font-size: 40px;
  }
  h4,
  .h4 {
    font-size: 1.0625rem;
  }
  h5,
  .h5 {
    font-size: 0.9375rem;
  }
}
@media (max-width: 544px) {
  h1 {
    font-size: 33px;
  }
  h2 {
    font-size: 25px;
  }
  h3 {
    font-size: 20px;
  }
  h4,
  .h4 {
    font-size: 1rem;
  }
  h5,
  .h5 {
    font-size: 0.875rem;
  }
}

/* ---------- Layout primitives ---------- */

/* A full-width band of the page. */
.band {
  position: relative;
}

/* A band with a photo behind it and a colour wash over the photo. Set --photo, --wash and
   --wash-opacity on the element. */
.band--photo {
  background: var(--photo) var(--photo-position, center) / cover no-repeat;
}
.band--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wash);
  opacity: var(--wash-opacity, 1);
}
@media (min-width: 1025px) {
  .band--fixed {
    background-attachment: fixed;
  }
}

/* The centred content column inside a band. Below 1025px the bands add their own side
   padding; above it, the gutter keeps content off the window edge until there is room. */
.wrap {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
}
@media (min-width: 1025px) {
  .wrap {
    box-sizing: content-box;
    padding-inline: var(--gutter);
  }
}

/* Blocks one under another, --gap apart. Paragraphs keep their own bottom margin on top of
   the gap, as they did in the old theme. */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.stack--middle {
  justify-content: center;
}

/* Side-by-side columns that stack on phones. Widths are set per use. */
.cols {
  display: flex;
}
.cols > * {
  flex: none;
  width: 50%;
  min-width: 0;
}
@media (max-width: 767px) {
  .cols {
    flex-direction: column;
  }
  .cols > * {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hide-on-phone {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 100px;
  background: var(--button);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s;
}
.button:hover,
.button:focus {
  background: var(--button-hover);
  color: #4f4e4e;
  text-decoration: none;
}
.button--md {
  font-size: 18px;
}
.button--lg {
  font-size: 20px;
}
.button--black-hover:hover,
.button--black-hover:focus {
  color: #000;
}
.button-row {
  display: flex;
  justify-content: center;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 99;
  background: #fff;
}
/* Pages that open with a photo hero: the header sits on top of the photo. */
.has-hero .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: none;
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
}

.site-logo {
  padding: 1rem 0;
}
.site-logo img {
  width: 90px;
}

.menu-toggle {
  display: none;
  width: 41.5px;
  height: 43px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.menu-toggle .icon {
  width: 1em;
  vertical-align: middle;
}
.menu-toggle .icon--close,
.menu-toggle[aria-expanded="true"] .icon--open {
  display: none;
}
.menu-toggle[aria-expanded="true"] .icon--close {
  display: inline-block;
}

.site-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a:not(.button) {
  display: block;
  padding: 0 15px;
  color: var(--text);
  line-height: 60px;
}
.has-hero .site-nav a:not(.button) {
  color: rgba(255, 255, 255, 0.75);
}
.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus {
  color: var(--ink);
  text-decoration: none;
}
.has-hero .site-nav a:not(.button):hover,
.has-hero .site-nav a:not(.button):focus {
  color: #fff;
}
.site-nav__cta {
  padding: 0 15px;
  line-height: 1;
}

@media (max-width: 921px) {
  .site-header__bar {
    padding: 0 20px;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    flex: none;
    width: calc(100% + 40px);
    margin: 0 -20px;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    display: block;
    border-top: 1px solid #ddd;
    background: #f9f9f9;
  }
  .site-nav a:not(.button) {
    padding: 0 20px;
    border-bottom: 1px solid #ddd;
    line-height: 3;
  }
  .has-hero .site-nav ul {
    background: #f9f8f8;
  }
  .has-hero .site-nav a:not(.button) {
    color: rgba(7, 23, 37, 0.75);
  }
  .has-hero .site-nav a:not(.button):hover,
  .has-hero .site-nav a:not(.button):focus {
    color: var(--ink);
  }
  .site-nav__cta {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
  }
}
@media (max-width: 544px) {
  .site-logo img {
    width: 74px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  /* A translucent navy wash over translucent grey, as before: the page background shows
     through slightly, so the footer is a touch lighter on the grey plain pages. */
  background:
    linear-gradient(rgba(1, 22, 39, 0.532), rgba(1, 22, 39, 0.532)),
    rgba(99, 102, 105, 0.79);
  padding-top: 100px;
  color: #fff;
}
.site-footer .h5 {
  color: #fff;
}

.site-footer__cols {
  display: flex;
  padding-bottom: 44px;
}
.site-footer__about {
  flex: none;
  width: 42%;
  padding-right: 60px;
}
.site-footer__about .h5,
.site-footer__services .h5,
.site-footer__contact .h5 {
  padding-bottom: 20px;
}
.site-footer__about p {
  margin-bottom: 1.75em;
  padding-right: 25px;
}
.site-footer__services {
  flex: none;
  width: 25%;
  padding: 10px;
}
.site-footer__contact {
  flex: none;
  width: 33%;
  padding: 10px;
}

.icon-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.icon-list li {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s;
}
.icon-list .icon {
  flex: none;
  width: 1.25em;
  margin-right: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: color 0.3s;
}
.icon-list span,
.icon-list a {
  padding-left: 5px;
}
.icon-list a {
  color: inherit;
}
.icon-list a:hover,
.icon-list a:focus {
  color: var(--footer-hover);
}
.icon-list--spaced li + li {
  margin-top: 6px;
}

.site-footer__legal {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.31);
}
.site-footer__legal .wrap {
  display: flex;
}
.site-footer__legal p {
  flex: none;
  width: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}
.site-footer__legal p + p {
  text-align: right;
}
.site-footer__legal a {
  color: #fff;
}
.site-footer__legal a:hover,
.site-footer__legal a:focus {
  color: #fff;
}

@media (max-width: 1024px) {
  .site-footer {
    padding: 75px 25px 0;
  }
  .site-footer__cols {
    padding-bottom: 55px;
  }
  .site-footer__about {
    padding-right: 0;
  }
  .site-footer__legal {
    padding: 20px 0;
  }
}
@media (max-width: 767px) {
  .site-footer {
    padding: 75px 20px 0;
  }
  .site-footer__cols {
    flex-direction: column;
    padding-bottom: 60px;
  }
  .site-footer__about,
  .site-footer__services,
  .site-footer__contact {
    width: 100%;
  }
  .site-footer__about .h5,
  .site-footer__services .h5,
  .site-footer__contact .h5 {
    padding-bottom: 0;
  }
  .site-footer__about {
    padding-bottom: 35px;
  }
  .site-footer__about p {
    padding-right: 0;
  }
  .site-footer__services {
    padding: 0 0 50px;
  }
  .site-footer__contact {
    padding: 0;
  }
  .site-footer__legal .wrap {
    display: block;
  }
  .site-footer__legal p,
  .site-footer__legal p + p {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Home ---------- */

/* Fills the window, with the content centred and the arrow pinned to the bottom. */
.home-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 0 110px;
}
.home-hero .wrap {
  width: 100%;
  max-width: 950px;
}
.home-hero__tagline {
  padding-bottom: 15px;
  color: #fff;
  text-align: center;
}
.home-hero__wordmark {
  background: radial-gradient(at center center, rgba(0, 0, 0, 0.6) 25%, rgba(222, 222, 222, 0) 69%);
}
.home-hero__more {
  position: absolute;
  bottom: 30px;
  left: 50%;
  padding: 10px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 30px;
  line-height: 1;
}
.home-hero__more:hover,
.home-hero__more:focus {
  color: #fff;
}
.home-hero__more .icon {
  display: block;
}

.home-intro {
  padding: 150px 0;
  text-align: center;
}
.home-intro .wrap {
  max-width: 900px;
}
.home-intro h1 {
  padding: 0 125px 29px;
  font-size: 29px;
  text-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
}

.home-tenets {
  padding: 150px 0;
}
.home-tenets h2,
.home-tenets h3,
.home-tenets h4 {
  color: #fff;
}
.home-tenets p {
  color: rgba(255, 255, 255, 0.85);
}
.home-tenets__list {
  padding-right: 100px;
}
.home-tenets hr {
  width: 100%;
  margin: 15px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
/* A rule after a paragraph tucks up under the paragraph's bottom margin. */
.home-tenets p + hr {
  margin-top: -5px;
}
.home-tenets__goal {
  padding-left: 75px;
}

.home-services-title {
  padding-top: 150px;
}
.home-services-title h2 {
  padding-bottom: 25px;
  text-align: center;
}

.home-services {
  padding: 50px 0 35px;
  background: #fff;
}
.home-services + .home-services {
  padding: 35px 0 150px;
}
.home-services .stack:first-child {
  padding-right: 15px;
}
.home-services .stack:last-child {
  padding-left: 15px;
}
.home-services img {
  width: 100%;
}
.home-services h4 {
  padding: 25px 50px 0 0;
}
.home-services p {
  padding-right: 50px;
}
.home-services p.is-wide {
  padding-right: 25px;
}

.home-cta {
  padding: 40px 0;
  background: #f9f8f8;
}
.home-cta .cols > * {
  padding: 10px;
}
.home-cta__icon {
  width: 18.069%;
  color: #69727d;
  font-size: 50px;
  line-height: 1;
  text-align: center;
}
.home-cta__icon .icon {
  display: block;
  margin: 0 auto 9px;
}
.home-cta .home-cta__text {
  display: flex;
  align-items: center;
  width: 50.98%;
}
.home-cta__button {
  width: 30.615%;
}

@media (max-width: 1024px) {
  .home-hero {
    padding: 140px 25px 100px;
  }
  .home-intro {
    padding: 100px 25px;
  }
  .home-intro h1 {
    padding: 0 0 25px;
  }
  .home-tenets {
    padding: 100px 25px;
  }
  .home-tenets__list {
    padding-right: 0;
  }
  .home-tenets__goal {
    margin-top: 45px;
    padding-left: 50px;
  }
  .home-services-title {
    padding: 100px 25px;
  }
  .home-services {
    padding: 20px 20px 50px;
  }
  .home-services + .home-services {
    padding: 0 20px 50px;
  }
  .home-services .stack:first-child {
    padding-right: 10px;
  }
  .home-services .stack:last-child {
    padding-left: 10px;
  }
  .home-services h4 {
    padding: 25px 0 0;
  }
  .home-services p,
  .home-services p.is-wide {
    padding-right: 0;
  }
  .home-cta {
    padding: 25px 0;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .home-cta .home-cta__icon {
    width: 2%;
    padding-inline: 0;
  }
  .home-cta__icon .icon {
    display: none;
  }
  .home-cta .home-cta__text {
    width: 64%;
  }
  .home-cta__button {
    width: 28%;
  }
}
@media (max-width: 767px) {
  .home-hero {
    padding: 120px 20px 90px;
  }
  .home-hero__tagline {
    padding-bottom: 5px;
  }
  .home-intro {
    padding: 75px 20px;
  }
  .home-intro h1 {
    padding: 0 25px 10px;
    font-size: 22px;
  }
  .home-tenets {
    padding: 75px 20px;
  }
  .home-tenets p {
    padding-right: 25px;
  }
  .home-tenets__goal {
    margin-top: 15px;
    padding-left: 0;
    text-align: center;
  }
  .home-services-title {
    padding: 75px 20px 50px;
  }
  .home-services-title h2 {
    padding-bottom: 0;
  }
  .home-services {
    padding: 20px 20px 40px;
  }
  .home-services + .home-services {
    padding: 0 20px 40px;
  }
  .home-services .stack:first-child {
    padding: 0 0 40px;
  }
  .home-services .stack:last-child {
    padding: 0;
  }
  .home-services h4 {
    padding-top: 10px;
  }
  .home-cta .cols > * {
    width: 100%;
  }
  .home-cta .home-cta__text {
    padding: 10px 35px 20px;
    text-align: center;
  }
  .home-cta__button .button-row {
    margin-top: -7px;
  }
}

/* ---------- Shared page pieces ---------- */

/* The photo banner with the page title, at the top of About, Our Process and Careers. */
.page-hero {
  padding: 250px 0 200px;
}
.page-hero .wrap {
  max-width: 950px;
}
.page-hero h1 {
  color: #fff;
  text-align: center;
}

/* A text column beside a picture. */
.split {
  padding: 150px 0;
}
.split--tint {
  background: #f9f8f8;
}
.split .cols {
  align-items: center;
}
.split__text {
  padding-right: 100px;
}
.split__text h2,
.split__text h5 {
  text-align: center;
}
.split__text h2 {
  padding-bottom: 20px;
}
.split__media--inset {
  padding-right: 100px;
}
.split ul {
  margin: 0 0 1.5em 3em;
  padding: 0;
}

/* The soft drop shadow behind photos. */
.photo-frame {
  border-radius: 25px;
  box-shadow: 0 32px 53px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
  .page-hero {
    padding: 200px 25px 175px;
  }
  .split {
    padding: 75px 25px;
  }
}
@media (max-width: 767px) {
  .page-hero {
    padding: 150px 20px 100px;
  }
  .split {
    padding: 75px 20px 25px;
  }
  .split__text {
    padding-right: 25px;
  }
  .split__text h2 {
    padding-bottom: 15px;
  }
  .split__media {
    margin-bottom: 50px;
    padding-right: 0;
  }
}

/* ---------- About ---------- */

.about-intro {
  padding: 150px 0;
}
.about-intro .cols {
  align-items: flex-start;
}
.about-intro__lead {
  padding-right: 50px;
}
.about-intro h3 {
  margin-bottom: 20px;
}

.about-numbers {
  padding: 100px 0 150px;
  background: #f9f8f8;
}
.about-numbers .cols > * {
  width: 33.333%;
}
.about-numbers__top {
  padding-bottom: 65px;
}
.about-numbers__summary {
  margin-bottom: 65px;
  text-align: center;
}
.about-numbers hr {
  margin: 0 0 25px;
  border: 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}
.about-numbers__detail > :nth-child(1) {
  padding-right: 50px;
}
.about-numbers__detail > :nth-child(2) {
  padding: 0 25px;
}
.about-numbers__detail > :nth-child(3) {
  padding-left: 50px;
}
.about-numbers__motto h4 {
  font-size: 22px;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.about-numbers__motto img {
  width: 51%;
  margin-inline: auto;
  filter: brightness(0); /* the white logo, shown black */
}

.counter {
  text-align: center;
}
.counter__number {
  font-size: 69px;
  font-weight: 700;
  line-height: 1;
}
/* Centred as a block; when the label wraps in a narrow column its lines stay left-aligned. */
.counter__label {
  display: flex;
  justify-content: center;
  font-size: 19px;
  line-height: 2.5;
  text-align: left;
}
.counter__label--tight {
  letter-spacing: -0.1px;
}

@media (max-width: 1024px) {
  .about-intro {
    padding: 100px 25px;
  }
  .about-intro h2 {
    padding-bottom: 25px;
  }
  .about-numbers {
    padding: 75px 25px;
  }
  .about-numbers__top {
    padding-bottom: 25px;
  }
  .about-numbers hr {
    margin-bottom: 50px;
  }
  .about-numbers__detail > :nth-child(1) {
    padding-right: 24px;
  }
  .about-numbers__detail > :nth-child(2) {
    padding: 0 12px;
  }
  .about-numbers__detail > :nth-child(3) {
    padding-left: 24px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .about-numbers .about-numbers__top > :nth-child(1) {
    width: 49%;
    padding-right: 30px;
  }
  .about-numbers .about-numbers__top > :nth-child(n + 2) {
    width: 17%;
  }
}
@media (max-width: 767px) {
  .about-intro {
    padding: 75px 20px;
  }
  .about-intro h3 {
    text-align: center;
  }
  .about-numbers {
    padding: 75px 20px;
  }
  .about-numbers .cols > * {
    width: 100%;
  }
  .about-numbers__top > * {
    padding-bottom: 25px;
    text-align: center;
  }
  .about-numbers__summary {
    margin-bottom: 45px;
  }
  .about-numbers__detail > :nth-child(n) {
    padding: 0;
  }
}

/* ---------- Our Process (services) ---------- */

/* The old page began this column with an empty paragraph; keep the space it took. */
.services-fleet__body {
  padding-top: 3.457em;
}

/* ---------- Careers ---------- */

.careers-quote {
  padding: 100px 0;
  background: #fff;
}
.careers-quote .wrap {
  max-width: 1000px;
  align-items: center;
}
.careers-quote .cols > * {
  padding: 10px;
}
.careers-quote__mark {
  width: 7.1%;
  color: #bdbdbd;
  font-size: 50px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.careers-quote__mark .icon {
  display: inline-block;
  margin-bottom: 9px;
  vertical-align: top;
}
.careers-quote .careers-quote__mark:last-child {
  width: 6.475%;
}
.careers-quote .careers-quote__body {
  width: 86.4%;
}
.careers-quote__body img {
  width: 120px;
  margin-inline: auto;
  border: 7px solid #e3e3e3;
  border-radius: 100px;
}
.careers-quote blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.careers-quote blockquote p {
  margin: 0 0 1.3em;
}
.careers-quote blockquote p:last-child {
  margin: 0;
}

@media (max-width: 1024px) {
  .careers-quote {
    padding: 50px;
  }
  .careers-quote .careers-quote__mark,
  .careers-quote .careers-quote__mark:last-child {
    width: 15%;
  }
  .careers-quote .careers-quote__body {
    width: 70%;
  }
  .careers-quote blockquote {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .careers-quote {
    padding: 50px 10px;
  }
  /* This row stays side by side on phones. */
  .careers-quote .cols {
    flex-direction: row;
    align-items: flex-start;
  }
  .careers-quote__mark {
    font-size: 22px;
  }
  .careers-quote .careers-quote__body {
    padding: 0;
  }
  .careers-quote__body img {
    width: 80px;
    border-width: 5px;
  }
  .careers-quote blockquote {
    font-size: 15px;
  }
}

/* ---------- Plain pages (Contact, 404) ---------- */

/* No photo hero: a white header bar, then the content in a white card on grey. */
.plain {
  background: #f5f5f5;
}
.plain .site-logo img {
  filter: brightness(0); /* the white logo, shown black on the white bar */
}
.plain main {
  max-width: 1210px;
  margin: 0 auto;
  padding: 4rem 20px;
}
.plain-card {
  padding: 5.34em 6.67em;
  background: #fff;
}
.plain-card > h1 {
  margin-bottom: 0.2em;
  font-size: 2.6667rem;
  font-weight: 400;
  line-height: 1.2;
}

/* Running text inside a card. */
.prose {
  padding-top: 1.5em;
}
.prose ul {
  margin: 0 0 1.5em 3em;
  padding: 0;
}
.contact-list li + li {
  margin-top: 1.5em;
}

.not-found {
  text-align: center;
}
.not-found > h1 {
  margin: 0;
  color: var(--link);
  font-size: 70px;
  line-height: 1.4;
}
.not-found__lead {
  margin: 1.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.not-found p:last-child {
  margin: 0;
}

@media (max-width: 1200px) {
  .plain-card {
    padding: 3.34em 2.4em;
  }
}
@media (max-width: 921px) {
  .plain-card {
    padding: 1.5em 2.14em;
  }
  /* The 404 page sits closer to the header on small screens. */
  .plain--404 main {
    padding-block: 1.5rem;
  }
}
@media (min-width: 769px) and (max-width: 921px) {
  .plain--404 .plain-card {
    padding: 3.34em 2.4em;
  }
}
@media (max-width: 544px) {
  .plain main {
    padding-inline: 0.54em;
  }
  .plain-card {
    padding: 1.5em 1em;
  }
  .plain-card > h1 {
    font-size: 1.6667rem;
  }
  .not-found > h1 {
    font-size: 33px;
  }
}
