



/* ------------------------------------- */




#scroll-indicator {
    display: none;
}

@media screen and (min-width: 1400px) {
    #scroll-indicator {
        display: flex;
    }
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    line-height: 1.5em;
    color:#666;
    -webkit-text-size-adjust: 100%;
    margin-left:42px;
    margin-right:42px;
}

p {
    margin-bottom: 24px;
}

footer {
    font-size:14px;
    color: #aaa;
    text-align: left;
    max-width:1280px; 
    margin-left: auto;
    margin-right: auto;
}

video {
    background-color: #f3f3f3;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    line-height: 0;
    object-fit: cover;
}

/* ------------------------------------------- */
/* Containers
/* ------------------------------------------- */

.outer-container {
    max-width:1280px; 
    display:flex;  
    flex-direction: column; 
    margin-right:auto; 
    margin-left:auto;
    min-height: calc(100vh - 100px); 
    background-color: none;
}

.inner-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left:80px;
    padding-right: 80px;
    padding-bottom: 120px;
    background:none;

}

/* ------------------------------------------- */
/* Fades */
/* ------------------------------------------- */

.case-study {
    opacity: 0;
    transform: translateY(40px); /* smoother offset */
    transition: opacity 1.2s ease, transform 0.8s ease;
}

.case-study.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-indicator.hidden {
    opacity: 0;
    transform: translateY(20px); /* smoother offset */
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#scroll-indicator {
  opacity: 0;
  transform: translateY(0);
}

#scroll-indicator.fade-in {
    opacity: 1;
    transform: translateY(20px); /* smoother offset */
     transition: opacity 0.4s ease 0.5s, transform 0.4s ease 0.5s; /* 1.5s delay */
}

/* ------------------------------------------- */
/* Links */
/* ------------------------------------------- */

.link-margin-left {
    margin-left:32px;
}

a:visited {
    color: #787878; 
    text-decoration: underline; 
    text-underline-offset: 4px;
}
a:link {
    color: #787878;
    text-decoration: underline; 
    text-underline-offset: 4px;
}
a.no-underline {
    text-decoration: none; 
}

a.header-link:visited {
    color: #000011;  
    text-decoration: none;
}
.header-link {
    text-decoration: none;
    font-family:Source Sans Pro; font-weight:400; font-size: 16px;
}
a.header-link:link {
    color: #000011;
    text-decoration: none;
}
a.header-link.on:link {
    color: #000011;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    font-weight: 500;
}

a.inline {
    color: #333;
    text-decoration: underline; 
    text-underline-offset: 1px;
}

.rounded-button:hover {
    background-color: #ccc;
}

.image-footer { 
    display:flex; flex-direction: row;  align-items: center;
    color:#999; font-style: italic;
}


/* ------------------------------------------- */
/* Headers and spacers */
/* ------------------------------------------- */

.header-01 {
    color:#444; 
    letter-spacing: 1.15px; 
    text-transform: uppercase; 
}
.header-02 {
    font-family:'Source Sans Pro', sans-serif; 
    font-size: 32px; 
    line-height: 1.1em;
    font-weight:500;
}
.header-03 {
    color:#222; 
    font-family:'Source Sans Pro', sans-serif; 
    font-size: 16px;
    font-weight:900;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}
.header-04 {
    color:#000; 
    font-family:'Source Sans Pro', sans-serif; 
    font-size: 16px; 
    font-weight:500;
}
.header-05 {
    color:#000; 
    font-family:'Source Sans Pro', sans-serif; 
    font-size: 12px; 
    font-weight:500;
    text-transform: uppercase;
    margin-right: 20px;
    margin-left: 20px;
    height: 40px;
    line-height: 14px;
    text-align: center;
}

.header-06 {
    color:#666; 
    font-family:'Source Sans Pro', sans-serif; 
    font-size: 14px; 
    font-weight:600;
}
.header-07 {
    color:#222;
    text-transform: uppercase; 
    font-weight:500;
}
.header-08 {
    color:#999;
    text-transform: none; 
    font-weight:400;
}


.spacer-00 {
    margin-bottom: 200px;
}
.spacer-01 {
    margin-bottom: 110px;
}
.spacer-02 {
    margin-bottom: 80px;
}
.spacer-03 {
    margin-bottom: 60px;
}
.spacer-04 {
    margin-bottom: 40px;
}
.spacer-05 {
    margin-bottom: 32px;
}
.spacer-06 {
    margin-bottom: 24px;
}
.spacer-07 {
    margin-bottom: 20px;
}
.spacer-08 {
    margin-bottom: 16px;
}
.spacer-09 {
    margin-bottom: 12px;
}
.spacer-09 {
    margin-bottom: 8px;
}
.spacer-10 {
    margin-bottom: 4px;
}

/* ------------------------------------------- */
/* Grids */
/* ------------------------------------------- */

.grid_4x1_2x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 12px;
  }

.grid_3x1_1x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px;
}

.grid_2x1_1x3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}
  
  @media (max-width: 600px) {
    .grid_4x1_2x2 {
      grid-template-columns: repeat(2, 1fr);
    }

    .grid_3x1_1x3 {
      grid-template-columns: repeat(1, 1fr);
    }
  }

/* ------------------------------------------- */
/* Resizing */
/* ------------------------------------------- */

.hide-small {
    display: flex;  
} 

.show-small {
    display: none;  
}


@media screen and (max-width: 768px) {
    /* .scroll-indicator hidden by default, no need to repeat here */
    #head-shot {
        display:none;
    }
    .banner-01 {
        font-size: 32px;
        line-height: 40px;
    }
    .banner-02 {
        font-size: 16px;
        line-height: 24px;
    }
    body {
        /*font-size: 10px;*/
    }
    .hide-small {
        display: none;  
    } 
    .show-small {
        display: flex;  
    }
    div.inner-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 1200px) {
    .hide-small {
        display: none;  
    } 
    .show-small {
        display: flex;  
    }
    /* .scroll-indicator will be shown only on screens larger than 768px */
}

@media screen and (min-width: 1000px) {
    /* Only #scroll-indicator is used for visibility */
}