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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

svg {
  width: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Metro Nova";
  src: url("/fonts/metro-nova-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Metro Nova";
  src: url("/fonts/metro-nova-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: bold;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-regular.woff2");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-bold.woff2");
  font-style: normal;
  font-weight: bold;
}
.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px;
  height: auto;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Metro Nova", sans-serif;
  color: hsl(0, 1%, 21%);
  background-color: #e8e8e8;
}

h1,
h2,
h3,
h4 {
  color: var(--header-color, hsl(0, 1%, 21%));
}

h2 {
  margin-bottom: 1em;
  text-transform: uppercase;
}
@media screen and (min-width: 56rem) {
  h2 {
    font-size: 2.5rem;
  }
}

h3 {
  margin-bottom: 1em;
}

p {
  font-size: 1.125rem;
  margin-bottom: 1em;
}
@media screen and (min-width: 75rem) {
  p {
    font-size: 1.5rem;
  }
}

ul {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.875rem;
  padding: 1em;
}
@media screen and (min-width: 37.5rem) {
  ul {
    columns: 2;
    gap: 2rem;
  }
}
@media screen and (min-width: 56rem) {
  ul {
    font-size: 1rem;
  }
}
@media screen and (min-width: 75rem) {
  ul {
    font-size: 1.375rem;
    gap: 3rem;
  }
}

li {
  margin-bottom: 1em;
}

dl {
  font-family: "IBM Plex Mono", monospace;
  font-weight: bold;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media screen and (min-width: 37.5rem) {
  dl {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 56rem) {
  dl {
    grid-template-columns: repeat(4, 1fr);
  }
}
dl > div {
  display: flex;
  justify-content: start;
  flex-direction: column-reverse;
}
@media screen and (min-width: 37.5rem) {
  dl > div:nth-child(odd) dd {
    color: hsl(204, 54%, 64%);
  }
  dl > div:nth-child(even) dd {
    color: hsl(45, 86%, 52%);
  }
}
@media screen and (min-width: 56rem) {
  dl > div:nth-child(5) dd, dl > div:nth-child(7) dd {
    color: hsl(45, 86%, 52%);
  }
  dl > div:nth-child(6) dd, dl > div:nth-child(8) dd {
    color: hsl(204, 54%, 64%);
  }
}
dl > div:nth-child(2) dd, dl > div:nth-child(3) dd, dl > div:nth-child(6) dd, dl > div:nth-child(7) dd {
  color: hsl(45, 86%, 52%);
}
dl dd {
  font-size: 3rem;
  color: hsl(204, 54%, 64%);
}
@media screen and (min-width: 56rem) {
  dl dd {
    font-size: 4rem;
  }
}
@media screen and (min-width: 75rem) {
  dl dd {
    font-size: 6rem;
  }
}
dl dt {
  font-size: 0.75rem;
}
@media screen and (min-width: 56rem) {
  dl dt {
    font-size: 0.875rem;
  }
}
@media screen and (min-width: 75rem) {
  dl dt {
    font-size: 1rem;
  }
}

.section {
  padding: 2rem 1rem;
}
@media screen and (min-width: 56rem) {
  .section {
    padding-block: 3rem;
  }
}
.section--highlight {
  background-color: hsl(204, 54%, 64%);
  --header-color: hsl(45, 86%, 52%);
}
.section__inner {
  max-width: 75rem;
  margin: 0 auto;
}

@media screen and (min-width: 56rem) {
  .grid {
    display: grid;
    grid-auto-flow: dense;
    column-gap: 3rem;
    grid-template-columns: 1fr 1fr;
  }
}

.thumbnail {
  margin-bottom: 1.5rem;
}

.vimeo {
  margin-bottom: 1.5rem;
  width: 100%;
  aspect-ratio: 16/9;
}

.author-image {
  max-width: 13rem;
  aspect-ratio: 1;
  margin-bottom: 2rem;
  border-radius: 100%;
}
@media screen and (min-width: 56rem) {
  .author-image {
    max-width: 21rem;
  }
}

.header {
  padding: 3.75rem 1rem 2rem;
}
.header__inner {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: auto auto;
  justify-content: space-between;
  max-width: 75rem;
  margin: 0 auto;
}
.header__brand {
  display: inline-block;
  max-width: 2rem;
}
@media screen and (min-width: 75rem) {
  .header__brand {
    max-width: 3.75rem;
  }
}
.header__logo {
  max-width: 18.75rem;
}
@media screen and (min-width: 75rem) {
  .header__logo {
    width: 50rem;
    max-width: 100%;
  }
}

.footer {
  padding: 1rem 1rem 1.5rem;
  background-color: hsl(204, 54%, 64%);
}
@media screen and (min-width: 56rem) {
  .footer p:last-child {
    margin: 0;
  }
}
.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 75rem;
  margin: 0 auto;
}
@media screen and (min-width: 56rem) {
  .footer__inner {
    column-gap: 2rem;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}
.footer__logo {
  grid-column: 2;
  justify-self: center;
  max-width: 3.75rem;
}
@media screen and (min-width: 56rem) {
  .footer__logo {
    grid-column: 1;
    justify-self: start;
  }
}
@media screen and (min-width: 75rem) {
  .footer__logo {
    max-width: 6.75rem;
  }
}
.footer__colophon {
  grid-column-end: span 3;
  grid-row: 1;
}
@media screen and (min-width: 56rem) {
  .footer__colophon {
    grid-column: 2/span 1;
  }
}
.footer__return-link {
  display: inline-block;
  justify-self: end;
  max-width: 2rem;
}
@media screen and (min-width: 75rem) {
  .footer__return-link {
    max-width: 3.75rem;
  }
}

.form {
  font-size: 1.125rem;
  display: grid;
  column-gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: hsl(0, 0%, 85%);
}
@media screen and (min-width: 56rem) {
  .form {
    grid-column: 2;
    align-self: start;
  }
}
@media screen and (min-width: 75rem) {
  .form {
    font-size: 1.5rem;
    padding: 2rem;
  }
}
.form__title {
  grid-column-end: span 2;
}
@media screen and (min-width: 56rem) {
  .form__title {
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 75rem) {
  .form__title {
    font-size: 2rem;
  }
}
.form__field {
  grid-column-end: span 2;
}
.form__input {
  font-size: inherit;
  display: block;
  width: 100%;
  margin-bottom: 1em;
  padding: 0.5rem;
  border: 0;
  border: 2px solid #fff;
}
.form__input:focus {
  border: 2px solid hsl(45, 86%, 52%);
  outline: none;
}
.form__disclaimer {
  font-size: 0.875rem;
  color: hsl(120, 1%, 32%);
}
@media screen and (min-width: 56rem) {
  .form__disclaimer {
    grid-column-end: span 2;
  }
}
@media screen and (min-width: 75rem) {
  .form__disclaimer {
    font-size: 1.25rem;
  }
}
.form__action {
  font-size: inherit;
  font-weight: bold;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: hsl(45, 86%, 52%);
  border: 0;
  background-color: hsl(204, 54%, 64%);
}
@media screen and (min-width: 56rem) {
  .form__action {
    font-size: 1.5rem;
    grid-column-end: span 2;
    grid-row: 3;
    justify-self: end;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
  }
}
@media screen and (min-width: 75rem) {
  .form__action {
    font-size: 2rem;
  }
}
.form__action:hover, .form__action:focus {
  opacity: 0.8;
}
