/* -------------------------------- 
PRIMARY STYLES
-------------------------------- */

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

html {
  font-size: 62.5%;
}

body, textarea, input {
  font-size: 1.6rem;
  font-family: 'Open Sans', hevletica, arial, sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, html {
  height: 100%;  /* Needed for hero poster */
}

a {
  color: #0089CF;
  text-decoration: none;
}
a:visited {
   color: #0089CF; 
}


h1, h2, h3, h4, h5 {
  font-family: 'Barlow', helvetica, arial, sans-serif;
  font-weight: 700;
}

h1 {
  font-size: calc(3.4rem + 2.1vw);
  line-height: .95;
  margin-top: 2.5rem;
}
h2 {
  font-size: calc(3.2rem + 8.9vw);
  line-height: .8;
  text-align: right;
  text-transform: uppercase;
  color: #fff;
  overflow: hidden;
  margin-top: 3vh;
  margin-bottom: -1vh;
}
h3 {
  position: sticky;
  float: right;
  top: 0;
  text-align: right;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: bottom right;
  overflow: hidden;
  text-transform: uppercase;
  font-size: calc(3.2rem + 6vw);
  line-height: 0.8;
  color: #fff;
}
h3.smaller {
  font-size: calc(4rem + 2vw);
}
h4 {
  font-size: calc(1.8rem + 2vw);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin: 4vh auto 3vh auto;
  width: 80%;
}
h4.nopad {
  margin: 0 auto;
}
h5 {
  font-size: calc(2rem + .5vw);
  line-height: 1;
  color: #555;
  font-weight: bolder;
  position: relative;
  padding: 0 0 1vh 0;
  margin-top: 6vh;
  text-align: left;
}
h6 {
  font-size: calc(1.2rem + 0.2vw);
  line-height: 120%;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
  color: #000;
  display: block;
  margin: 0 0 0.5em 0;
  padding: 0 0 0.5vh 0;
}

p, ul, ol {
  font-size: calc(1.4rem + .2vw);
  line-height: 140%;
}
p {
  margin-bottom: 3vh;
}
p:first-child:first-letter {
  color: #fff;
  float: left;
  font-size: calc(5rem + 3vw);
  font-weight: 300;
  padding-top: 4px;
  padding-right: 8px;
}
p.dropcap-black:first-child:first-letter {
  color: #000000;
  line-height: 0.8;
}
p.nopad {
  margin-bottom: 3vw;
}
.biggertext p {
  font-size: calc(1.3rem + .4vw); 
}
b {
 font-weight: bold;  
}
i {
  font-style: italic;
}
blockquote {
  padding: 0 3vw 3vh 3vw;
  margin: 0;
  color: #0353a1;
  font-size: calc(1.4rem + 0.8vw);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}
blockquote span {
  font-size: 420%;
  line-height: 1.1;
  color: #fff;
}

article {
  margin-top: 2em;
}

.twocol, .threecol {
  columns: 1;
}
.twocol-m {
  columns: 2;
}

.hide {
  display: none;
}

.logo {
  width: 26vw;
  height: auto;
  min-width: 190px;
  max-width: 550px;
  margin-left: 2vw;
}

.checklist {
  list-style-type: none;
  margin: 0 10vw 6vw 10vw;
  padding: 2em 0 2em 3em; 
}
.checklist li:before {
  content: '➔ ';
}
.checklist li {
  font-size: calc(1.3rem + .5vw);
  font-weight: bold;
  line-height: 1.5;
  margin: 0 0 0.6em 0;
  padding: 0;
  text-indent: -1em;
}

.arrowlist {
  list-style-type: none;
  margin-bottom: 10vw;
  line-height: 1.2;
}
.arrowlist li:before {
  content: '▸ ';
}
.arrowlist li {
  margin: 0 0 0.5em 0.6em;
  padding: 0; 
  text-indent: -0.8em;
}
.arrowlist.nopad {
  margin-bottom: 3vw;
}







/* -------------------------------- 
ANIMATE HEADLINES
-------------------------------- */
.typewriter {
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .1em solid white; /* The typwriter cursor */
  animation: 
    typing 2.5s steps(30, end),
    blink-caret .3s step-end infinite;
}
/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: white }
}







/* -------------------------------- 
BIG LINKS (Homepage)
-------------------------------- */
#biglinks {
  font-family: Barlow, Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: calc(3.8rem + 7vw);
  letter-spacing: -0.5rem;
  line-height: .8;
}
#biglinks a {
  display: inline-block;
  transition: 0.5s;
  padding-bottom: .1em;
}
#biglinks a:nth-child(odd) {
  color: #000;
}
#biglinks a:nth-child(even) {
  color: #fff;
}
#biglinks a:hover {
  font-size: 105%;
}
#biglinks a:nth-child(odd):hover {
  box-shadow: inset 0 -.2em #fff;
}
#biglinks a:nth-child(even):hover {
  box-shadow: inset 0 -.2em #000;
}
#biglinks a.sm {
  font-size: calc(2.5rem + 2.5vw);
  letter-spacing: 0rem;
}
#biglinks a.sm:hover {
  font-size: 50%;
}





/* -------------------------------- 
PORTFOLIO STYLES
-------------------------------- */


.portsection {
  padding-bottom: 15vh;
}
.portsection article {
  width: 30%;
  display: inline-block;
  position: sticky;
  float: right;
  top: 0;
  right: 0;
  padding: 14vh 2vw 0 3vw;
  overflow: hidden;
}


.portfolio {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 10vw 0 0 4vw;
  width: 70%;
}
.portfolio:first-child {
  padding-top: 20vw;
}
.portfolio img {
  width: 100%;
  height: auto;
  border-radius: calc(1rem + 2vw);
  margin: 0 0 calc(3.5rem + 5vw);
  object-fit: cover;
}
.portfolio img.nopad {
  margin-bottom: 4vh;
}
.portfolio .half {
  width: 50%;
}
.portfolio .onethird {
  width: 33%;
}
.portfolio .twothirds {
  width: 67%;
}
.portfolio .rightpad {
  padding-right: 10px;
  box-sizing: border-box;
}







.blendedsection {
  padding-bottom: 15vh;
}
.blendedsection article {
  width: 100%;
  padding: 3vh 6vw 5vh 8vw;
}
.blendedsection article a {
  color: #000;
  box-shadow: inset 0 -.4em #fff;
  transition: all 0.2s;
}
.blendedsection article a:hover {
   box-shadow: inset 0 2em #fff; 
}

.mergerlogo {
  padding: 8vh;
  margin: 0 4vw;
  background: #fff;
  border-radius: 3em;
}
.mergerlogo img {
  display: block;
  vertical-align: middle;
  text-align: center;
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0 auto;
}
.mergerlogo img:nth-child(2) {
  width: 30%;
  padding: 2em 0;
}




/* VIEW MORE styling */
details {
  position: relative;
  margin-block-start: 0.4rem;
  transition: all 0.2s;
}
details:hover {
  cursor: pointer;
}
details p {
  line-height: 180%;
  margin-bottom: 1vw;
}
details > summary {
    color: #2FAFB6;
    font-weight: bolder;
}
details[open] > summary {
  display: none;
}
details[open] summary ~ * {
    animation: fadein .3s ease-in-out;
}
details img {
  width: 60px;
  height: 60px;
}
summary {
  list-style-type: none;
}
/* Anim to review details content */
@keyframes fadein {
    0%    {opacity: 0;}
    100%  {opacity: 1; }
}









/* ANIMATED TITLE styling
Add <span> around text but puts headline in front of text, doesn't hide
from https://codepen.io/andysanchez-dev/pen/GYPevV
NOT USED */
h2 span {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

h2 span::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: a-ltr-after 2s cubic-bezier(.77,0,.18,1) forwards;
    transform: translateX(-101%);
}

h2 span::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    animation: a-ltr-before 2s cubic-bezier(.77,0,.18,1) forwards;
    transform: translateX(0);
}

h2 span:nth-of-type(1)::before,
h2 span:nth-of-type(1)::after {
    animation-delay: 0.1s;
}

h2 span:nth-of-type(2)::before,
h2 span:nth-of-type(2)::after {
    animation-delay: 0.6s;
}

@keyframes a-ltr-after {
    0% {transform: translateX(-100%)}
    100% {transform: translateX(101%)}
}

@keyframes a-ltr-before {
    0% {transform: translateX(0)}
    100% {transform: translateX(200%)}
}







.contactform {
  width: 93%;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 4vh 2vh 2vh;
  border-radius: 2em;
  font-size: 95%;
}

input, textarea {
  padding: 0.5em 1em;
  margin: 0.5vh 0 1.3vh 0;
  font-size: 100%;
  border: 1px solid #ccc;
  border-radius: 1em;
}
textarea {
  width: 100%;
}
label {
  color: #999;
  margin-left: 1em;
  font-size: 95%;
  text-transform: uppercase;
}
input {
  width: 82%;
}


footer {
  width: 100%;
  padding: 0 10vw 4vh;
  background-color: #fff;
  color: #666;
  text-align: center;
}

.footnote {
  font-size: 95%;
  line-height: 140%;
  margin-top: 1rem;
}

.rgb {
  width: 5vw;
  display: inline-block;
  margin: 0 0.5vw 4vh 0.5vw;
  margin-top: -2vh;
  padding-top: -2vh;
}

.clearfix:after {
  content: '';
  display: table;
  clear: both;
}

.clearfix {
  content: '';
  display: table;
  clear: both;
}

a.button {
  color: #fff;
}
.button {
  background: #E5016B;
  color: #fff;
  border: 1px solid #E5016B;
  border-radius: 2rem;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0.9rem 2rem;
  width: 20%;
  min-width: 160px;
  margin: 0.2vh auto 1.2vh;
  transition: .3s;
  text-align: center;
  display: block;
}
.button:hover {
  color: #ED1C24;
  background: none;
  cursor: hand;  
}
.button.outline {
  background: none;
  color: #fff;
  border: 1px solid #fff;
}
.button:hover,
.button.outline:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}





/* -------------------------------- 
PARALLAXY IMAGES
-------------------------------- */

section, .hero {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
}

.hero {
  height: 100vh;
  background-color: #999999;
  background-size: cover;
  width: 100%;
}
.hero {
  overflow: hidden;
}

.full-width {
  width: 100vw;
  height: 50vh;
  min-height: 500px;
  margin-left: -5vw;  /* Full-width breaking main */
  margin-right: -5vw;
  margin-top: 10vh;
  padding: 15vh 15vw;
  background-size: cover;
  display: flex;  /* For centering content */
  align-items: center;
  justify-content: center;
}

/* Full-width breaking main max */
@media (min-width: 1200px) {
  .full-width {
    margin-left: calc((100vw - 1200px + 10vw) / -2);
    margin-right: calc((100vw - 1200px + 5vw) / -2);
  }
}

h1.full-width {
  padding-top: 16vh;
  padding-bottom: 2vh;
  height: 18vw;
  min-height: 26vh;
  font-size: calc(4.8rem + 2.7vw);
  margin-top: 0;
  margin-bottom: 0;
  background: linear-gradient(rgba(51,51,51,0.1) 60%, rgba(51,51,51,0) 100%);
  text-shadow: 0 0 25px rgba(0,0,0,0.4);
  color: #fff;
}










/* -------------------------------- 
HERO
-------------------------------- */

.hero-info {
  position: relative;
  top: 30%;
  min-width: 32rem;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 25px rgba(0,0,0,0.6);
  background-color: rgba(0,0,0,0.6);
  border-radius: 40vw;
  transition: 0.5s;
  -webkit-animation: blobbify 1.5s infinite;
  animation: blobbify 1.5s infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@media (min-width: 320px) {
  .hero-info {
    width: 80%;
  }
}

@media (min-width: 550px) {
 .hero-info {
    width: 70%;
  }
}

@media (min-width: 750px) {
 .hero-info {
    width: 55%;
  }
}

@media (min-width: 1200px) {
 .hero-info {
    width: 45%;
  }
}

@keyframes blobbify {
  0% {
    padding: 10vh 6vw 3.2vh;
  }
  50% {
    border-radius: 45vw;
    padding: 9.4vh 6vw 3.5vh;
 }
  100% {
    padding: 10vh 6vw 3.2vh;
  }
}

.ico-arrow {
  width: 50px;
  height: 50px;
  margin: 2vw auto 0;
  display: block;
  -webkit-animation: swipe-vertical 1.5s infinite;
  animation: swipe-vertical 1.5s infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@keyframes swipe-vertical {
  0% {
    -webkit-transform: translateY(0vh);
    opacity: 0.2;
  }
  50% {
   -webkit-transform: translateY(3vh);
    opacity: 1;
 }
  100% {
    -webkit-transform: translateY(0vh);
    opacity: 0.2;
  }
}




/* -------------------------------- 
LOGO-BLOCK (Used on About)
-------------------------------- */

.logo-block {
  text-align: center;
  background: #fff;
  padding: 3vh 0 6vh 0;
}

.logo-block h6 {
  margin-bottom: 3vh;
}

.logo-block .col3, .logo-block .col4 {
  width: 80%;
  height: auto;
}

@media (min-width: 450px) {
  .logo-block .col3, .logo-block .col4 {
    width: 40%;
  }
  .logo-block .col4 {
    padding: 5% 0;
  }
}

@media (min-width: 850px) {
  .logo-block .col3, .logo-block .col4 {
    padding: 1% 0;
  }
  .logo-block .col3 {
    width: 24%;
  }
  .logo-block .col4 {
    width: 28%;
  }
}




/* -------------------------------- 
HOMEPAGE PROMO (Not Used)
-------------------------------- */


.promo-3up {
  padding: 0;
  max-width: none;
  width: 100%;
}
.promo-3up figure {
  text-align: center;
  color: #fff;
}
.promo-3up figure a {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #ED1C24;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-decoration: none;
  z-index: 1;
}.promo-3up figure img {
  padding-top: 8vh;
}
.promo-3up figure p,
.promo-3up figure h2 {
  padding: 0 5vw 11vh 5vw;
}
.promo-3up figure p {
  font-size: 140%;
}
.promo-3up figure p em {
  font-size: 140%;
}
.promo-3up figure h2 {
  font-size: 200%;
  line-height: 140%;
  margin-top: 2rem;
  color: #fff;
  font-weight: bold;
  text-shadow: none;
}


@media (min-width: 800px) {
  .promo-3up {
    display: flex;
  }
 .promo-3up figure {
    width: 33.33%;
    float: none;
  }
  .promo-3up figure p {
    font-size: calc(0.9rem + 1vw);
    line-height: 150%;
  }
  .promo-3up figure p em {
    font-size: 150%;
  }
  .promo-3up figure h2 {
    font-size: calc(1rem + 2vw);
    line-height: 110%;
  }
}

.link-inner {
  display: block;
  height: 100%;
  animation: glowy 3s ease infinite;
  background-color: rgba(128,195,66,1);
  transform: scale(1);
  transition: 0.5s;
}
.link-inner:hover {
  cursor: hand; 
  animation: bouncy 1.2s ease infinite;
  background-color: rgba(145,215,0,1);
  transform: scale(1.03);
}


@keyframes glowy {
  0% { background-color: rgba(128,195,66,1); }
  30% { background-color: rgba(145,215,0,1); }
  60% { background-color: rgba(128,195,66,1); }
  100% { background-color: rgba(128,195,66,1); }
}
@keyframes bouncy {
  0% { transform: scale(1.02); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1.02); }
}
@keyframes flickery {
  0% { background-color: rgba(145,215,0,1); }
  2% { background-color: rgba(128,195,66,1); }
  4% { background-color: rgba(145,215,0,1); }
  6% { background-color: rgba(128,195,66,1); }
  8% { background-color: rgba(128,195,66,1); }
  38% { background-color: rgba(145,215,0,1); }
  40% { background-color: rgba(160,230,0,1); }
  42% { background-color: rgba(128,195,66,1); }
  100% { background-color: rgba(128,195,66,1); }
}









/* ----------------------
RESPONSIVE STATES
-----------------------*/

/* Larger than mobile */
@media (min-width: 320px) {
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {
}

/* Smaller than tablet */
@media (max-width: 1100px) {
  .portfolio {
    width: 85%;
  }
  .portsection article {
    padding-left: 6vw;
    width: 85%;   /* Same as Portfolio above */
    float: none;
    position: block;
    padding-top: 0;
    margin-top: 0;
    text-align: center;
  }
  .portsection article h5 {
    text-align: center;
    font-size: calc(1.5rem + 2vw);
    margin-top: 0;
    padding-top: 0;
  }
  details p {
    line-height: 1.4;
  }
  details img {
    width: 40px;
    height: 40px;
  }
}

/* Larger than tablet */
@media (min-width: 850px) {
  h2 {
    margin-bottom: -6vw;
    margin-top: 10vw;
  }
  .biggertext p {
    line-height: 190%;
  }
  .hide {
    display: inline-block;
  }
  .threecol {
    columns: 3;
  }
  .twocol {
    columns: 2;
  }
  .twocol-m {
    columns: 1;
  }
  .colbreak{
    break-before: column;
  }
 .blendedsection article {
    width: 70%;
    padding: 3vh 0 5vh 10vw;
  }  
  .mergerlogo img {
    display: inline-block;
    max-width: none;
  }
  .mergerlogo img:nth-child(1) {
    width: 45%;
  }
  .mergerlogo img:nth-child(2) {
    width: 14%;
    vertical-align: bottom;
    transform: rotate(-90deg);
    padding: 0 1.5em;
  }
  .mergerlogo img:nth-child(3) {
    width: 39%;
  }
}

/* Larger than desktop */
@media (min-width: 1200px) {
}






