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

/* variables */

:root {
  --fontFamily-sans: 'Source Sans Pro', Arial, sans-serif;
  --fontFamily-serif: 'Source Serif Pro', 'Times New Roman', serif;
  --backgroundColor-base: #ffffff;
  --foregroundColor-base: #000000;
  --backgroundColor-accent: #a5050d;
  --foregroundColor-accent: #ffffff;
  --foregroundColor-faint: #777777;
  --grid-padding: 2rem;
  --button-hPadding: 1.5rem;
  --button-vPadding: 1rem;
}

/* component styles */

body {
  margin: 0;
  font-family: var(--fontFamily-sans);
  background-color: var(--backgroundColor-base);
  color: var(--foregroundColor-base);
  letter-spacing: 1px;
}

h1, h2, h3 {
  font-family: var(--fontFamily-serif);
  letter-spacing: 0;
  font-weight: normal;
}

.max-width {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--grid-padding);
}

.text-center {
  display: block;
  text-align: center;
}

.button {
  font: inherit;
  letter-spacing: inherit;
  border-radius: 2px;
  display: inline-block;
  cursor: pointer;
  background-color: var(--backgroundColor-accent);
  color: var(--foregroundColor-accent);
  border: 1px solid var(--backgroundColor-accent);
  font-weight: bold;
  padding: var(--button-vPadding) var(--button-hPadding);
  text-decoration: none;
}

.button:focus {
  outline: 0;
}

.background-container {
  background-size: cover;
  background-attachment: fixed;
  background-position-x: center;
  background-position-y: bottom;
  background-repeat: no-repeat;
  background-image: url(./mountains.jpg);
  min-height: 100vh;
}

/* header styles */

.header {
  display: flex;
  padding: 2rem;
  color: var(--foregroundColor-faint);
  font-size: 11px;
}

.header-locations {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  margin-left: auto;
  align-items: center;
}

.header-locations li {
  vertical-align: middle;
}

.header-locations li:not(:last-child):after {
  content: '\2b29';
  line-height: 1;
  vertical-align: text-top;
  margin: 0 .5rem;
}

/* content styles */

.logo-link {
  display: block;
}

.wlp-logo {
  width: 100%;
  max-width: 240px;
}

.splash-description {
  margin-top: 3rem;
  line-height: 24px;
}

.splash-description .button {
  margin-top: 3rem;
}

/* reveal animations */

body .background-container,
body .header,
body .logo-link,
body .splash-description {
  opacity: 0;
  transition: 0s linear;
}

body.reveal .background-container {
  opacity: 1;
  transition: 1s 0s ease;
}

body.reveal .header {
  opacity: 1;
  transition: 1s .4s ease;
}

body.reveal .logo-link {
  opacity: 1;
  transition: 1s .8s ease;
}

body .splash-description {
  transform: translateY(4rem);
}

body.reveal .splash-description {
  opacity: 1;
  transform: translateY(0);
  transition: .3s 1.5s ease-in;
}

@media (max-width: 640px) {
  .wlp-logo {
    max-width: 180px;
  }
}