:root {
  --content-width: 800px;
  --condensed: 'Open Sans Condensed', sans-serif;
  --condensed: 'Barlow Condensed', sans-serif;


  --highlight: #303e94;
  --accent: #6097c8;
  --body: #304254;
  --contrast-highlight: #FFF;
  --contrast-accent: #5cbde9;
  --contrast-body: #c0aed7;

  --bg-dark: #2f3670;
}

#intro {
  background-color: var(--bg-dark);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

#intro .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#intro .logo {
  width: 250px;
  height: 101px;
  mix-blend-mode: screen;
  margin-right: 2em;
}

#intro #tagline {
  margin-top: 3em;
}

#intro h1 {
  margin: 0em;
  font-size: 2em;
}

#intro h1 span{
  display: block;
}

#intro h1 span:first-child {
  margin-right: 1em;
}

#intro h1 span:last-child {
  margin-left: 1em;
}

#intro .action {
  margin: 3em;
  width: 50%;
  text-align: center;
}

#intro .scroll-prompt {
  color: var(--contrast-accent);
}

/**
 * Text Styles
 */
h1,h2,h3,h4,h4,h6 {
  color: var(--highlight);
  font-family: var(--condensed);
  font-weight: normal;
  text-transform: uppercase;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 2em;
}

h1:first-child {
  margin-top: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.contrast {
  background-color: var(--bg-dark);
  color: var(--contrast-body);
}
.contrast h1, .contrast h2, .contrast h3,
.contrast h4, .contrast h5, .contrast h6 {
  color: var(--contrast-highlight);
}

.contrast a {
  color: var(--contrast-accent);
}

/**
 * LAYOUT
 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 12pt;
  color: var(--body);
}

main {
  position: relative;
}

main section {
}

header {
  position: sticky;
  top: 0;
  z-index: 99;
  /* mix-blend-mode: screen; */
}

header .inner {
  padding: 1em;
  display: flex;
  justify-content: space-between;
}

.logo {
  text-indent: -999em;
  display: block;
  background-image: url('ParseLogo.svg');
  background-size: cover;
}

header .logo {
  width: 35px;
  height: 74px;
  z-index: 99;
}

#navButton {
  outline: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

nav {
  width: 35px;
  height: 35px;
  margin: 0;
}

nav > ul {
  font-size: 1.5em;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-transform: uppercase;
  font-family: var(--condensed);
  background-color: var(--bg-dark);
  mix-blend-mode: screen;
}

nav > ul li {
  margin: 1em 0;
  padding: 0 2em;
}

nav > ul li:first-child {
  margin-top: 2em;
}


@media screen and (min-width: 1200px) {

  #intro #tagline {
    margin-top: 1em;
  }

  #screen {
    display: none !important;
  }

  header {
    position: sticky;
    top: 3em;
    width: var(--content-width);
    margin: 0 auto;
    background-color: transparent;
    height: 0;
  }

  header .inner {
    height: 0;
  }

  header .logo {
    width: 184px;
  }

  a.logo {
    transform: translateX(-100%);
  }

  nav {
    transform: translateX(100%);
    position: static;
    margin: 1em 0 0;
  }

  nav > ul {
    transform: translateX(0) !important;
    right: initial;
    font-size: 1.5em;
    margin: 0;
    padding: 1em;
    background-color: transparent;
    display: none;
  }

  nav.open > ul {
    display: block;
  }

  nav > ul li {
    margin: 0.5em 0;
    padding: 0 0.5em;
    display: block;
  }

  nav > ul li:first-child {
    margin: 0;
  }

  ul.two-column-large {
    display: flex;
    flex-wrap: wrap;
  }

  ul.two-column-large li {
    width: 45%;
  }

  #investment .inner{
    padding: 3em 5em;
  }


}

#navButton {
  z-index: 99;
}

#navButton circle {
  fill: var(--highlight);
}

#navButton rect {
  fill: white;
}

#screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-dark);
  opacity: 0;
  display: none;
}


nav.open {
  cursor: none;
}

nav.open rect{
  display: none;
}

nav a {
  text-decoration: none;
  color: var(--contrast-accent);
  cursor: none;
}

section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

.wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
}

.inner {
  padding: 3em 2em;
  /* mix-blend-mode: color-dodge; */
}

.parallax {
  position: relative;
  overflow: hidden;
}

.parallax .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

#home .byline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.8em;
  padding: 2em;
}

#home .byline > img {
  margin: 1em;
}

#home .byline h3, #home .byline p {
  margin: 0;
  padding: 0;
}


#service-categories .inner {
  mix-blend-mode: normal;
}

#service-categories dl {
  margin: 2em 0;
  font-family: var(--condensed);
}

#service-categories dt {
  text-transform: uppercase;
  color: var(--contrast-accent);
}

#service-categories dd {
  font-size: 3em;
  color: var(--contrast-highlight);
  text-transform: uppercase;
  margin: 0;
}

.questions {
  margin: 6em 0;
}

.questions > div p {
  font-size: 1.75em;
  font-weight: 200;
  font-family: var(--condensed);
}

.active {
  opacity: 1;
}

.quotes {
  font-size: 2em;
  font-family: var(--condensed);
}

.quotes p {
  font-style: italic;
  font-weight: 200;
}

#investment {
}

#investment .wrapper {
  max-width: calc(var(--content-width) + 6em);
}

#about .headline {
  display: flex;
  justify-content: space-between;
}

#about img {
  float: right;
  width: 11em;
  margin: 3em 3em 1em 1em;
}

#contact {
  /* background-color: #4154b5; */
  font-size: 1.25em;
}

#contact h1 {
}

#contact input[type="text"] {
  border: 0;
  background: none;
  font-family: var(--condensed);
  font-size: 1em;
  color: var(--grey);
}

#contact a {
  text-decoration: underline;
}

.sticky{
  position: sticky;
  top: 0;
}

.quote-header {
  font-size: 0.65em;
}

.quote-header.sticky {
  top: 9em;
}

.quote-header h3 {
  text-transform: uppercase;
  margin: 0;
}

.quote-header p {
  margin: 0;
}

.quote-list {
  margin-top: 3em;
  position: relative;
}

.quote-list .sticky {
  /* top: 6em; */
}

.quote-list>*{
  transition-property: opacity;
  transition-duration: 0.5s;
  margin: 3em 0;
}

.fade-in-element {
  opacity: 1;
}

.fade-out-element {
  opacity: 0;
}

ol.circle {
  list-style: none;
  counter-reset: phase-counter;
  padding: 0;
  width: 35%;
}

ol.circle li {
  counter-increment: phase-counter;
}

ol.circle li::before{
  content: counter(phase-counter);
  display: inline-block;
  width: 2em;
  height: 2em;
  color: #FFF;
  line-height: 2em;
  text-align: center;
  border-radius: 50%;
  background-color: var(--highlight);
  font-family: var(--condensed);
  margin: 0 0.25em 0 0;
}

#approach {
  overflow: hidden;
  position: relative;
}

#approach .bg {
  background-image: url('logo-bg.png');
}


.approach {
  /* position: sticky; */
  /* top: 0; */
  /* z-index: 0; */
  /* background: linear-gradient(to bottom, #4e4376, #2b5876); */
  /* color: var(--contrast-body); */
}

.approach:nth-child(even) {
  /* background: linear-gradient(to top, #4e4376, #2b5876); */
}

.approach h1, .approach h2, .approach h3, .approach h4 {
  /* color: var(--contrast-highlight); */
}

.phase {
  display: flex;
  justify-content: space-around;
}

.phase:nth-child(1) {
  top: 0;
}

.phase:nth-child(2) {
  top: 10em;
}

.phase:nth-child(3) {
  /* top: 20em; */
}

.phase > div:nth-child(1) {
  font-size: 1em;
  padding: 2em 0 0;
}

.phase > div:nth-child(2) {
}

.circle {
  display: inline-block;
  width: 2em;
  height: 2em;
  font-size: 1em;
  color: var(--contrast-highlight);
  line-height: 2em;
  text-align: center;
  border-radius: 50%;
  background-color: var(--highlight);
  font-family: var(--condensed);
  margin: 0 1em;
}

footer {
  font-size: 0.85em;
  text-align: center;
}
