@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');


html { scroll-behavior: smooth; }

/* Variables */
:root {
    /* Colors */
    --c_black: #111;
    --c_blue: #0070bb;
    --c_general: #3f3f3f;
    --c_white: #fff;
    --c_gray: #e8ecef;
    --c_lightblue: #e8f3f9;
 
    /* Fonts */
    --f_general: 'Open Sans', sans-serif;
    --f_head: 'Times New Roman', sans-serif;
  
    /* Sizes */
    --fs_nav: 1.5rem;
    --fs_btn: 1.15rem;
    --fw_head: 600;
    --wd_full: 100vw;
    --wd_nav-logo: 10rem;
    --wd_container: 84vw;
    --wd_hero-logo: 42.125rem;
  
    /* Columns */
    --cols: 12;
    --gap: 1.25rem;
}

/* Base */
html { font-size: 100%; }
body {
  font: 1rem/1.5 var(--f_general);
  color: var(--c_general);
  margin: 0;
}
h1, h2, h3 {
  font-family: var(--f_head);
  font-weight: var(--fw_head);
  color: var(--c_blue);
}
h1 { font-size: 2rem; }
h2 { font-size: 2rem; }

a, a:visited {
  color: var(--c_blue);
  text-decoration: none;
  transition: all .4s;
  padding: 0.625rem 0.313rem;
}
a:hover, a:visited:hover { color: var(--c_white); background-color: var(--c_blue); }

p { margin-bottom: 2.5rem; }
section { margin-bottom: 4rem; }

.container { width: var(--wd_container); margin: 0 auto; overflow: hidden; }
.layout_flex { display: flex; }
.layout_flex-spc-btwn { justify-content: space-between; }

.btn, .btn:visited {
  font-family: var(--f_general);
  font-style: italic;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  color: var(--c_white);
  border: 0.063rem solid var(--c_white);
  padding: 1rem 1.5rem;
  margin: 0.625rem 0 1.875rem;
}

/*NAV*/
.desk-wrap { display: none; }
.info-bar { background: var(--c_black); }
.info-bar__inner {
  font-family: var(--f_general);
  display: flex; justify-content: flex-end; align-items: center;
  padding: 0.3125rem 2rem; font-size: 1.25rem; color: var(--c_white);
}
.info-bar__inner a { color: var(--c_white); margin-right: 7.5rem; text-decoration: underline; }
.info-bar__inner a:hover { color: var(--c_white); background: var(--c_blue); }

.desknav li {
  list-style: none; display: inline-block; margin: 0 1rem;
  text-transform: uppercase; font-weight: 600; font-family: var(--f_general);
}
.desknav li:not(:last-child)::after { content: "|"; margin-left: 1rem; color: var(--c_blue); }
.desklogo-img { padding: 0.313rem; }

/* Mobile nav */
.mnav { width: 100%; position: relative; font-family: var(--f_general); margin-top: -4.375rem; }
.mnav-header { display: inline; }
.mnav-btn { display: none; }
.mnav-links {
  position: absolute; display: inline-block; float: right; font-size: 1.125rem; padding: 0;
  width: 100%; z-index: 999;
}
.mnav-links a { display: inline-block; width: 100%; padding: 1rem 0.625rem; color: var(--c_white); }
.mnav-links li { padding: 0.75rem 0.625rem; width: 100%; }
.mnav-logo { width: 50%; margin-top: 3.125rem; box-shadow: 0.625rem 0.5rem 0.938rem rgba(0,0,0,.08); }

.mnav-links a:hover {
  background-color: rgba(0,0,0,.3);
  padding: 0.75rem 0.625rem;
  width: 100%;
  color: var(--c_blue);
}

#nav-check { display: none; }

/*HERO*/
.hero_brand-img { width: 100%; }
#hero {
  position: relative;
  background: url("https://assets.codepen.io/1064831/bg_welcome.jpg") center center / cover no-repeat;
  min-height: 80vh;
  display: flex; justify-content: center; align-items: center;
}
#hero::before {
  content: ""; position: absolute; inset: 0;
  background-color: rgba(0,112,187,.5);
}
.hero_brand { position: relative; z-index: 2; }

/*HOW*/
#how {
  background: url("https://assets.codepen.io/1064831/bg_about.jpg") no-repeat center center;
  background-size: cover; padding: 7.5rem 0;
}
#how .container {
  display: flex; flex-direction: column; align-items: center;
  background-color: rgba(17,17,17,.85);
  width: 25rem; padding: 1.563rem; box-sizing: border-box; text-align: center;
}
#how h1 { padding: 1rem; font-size: 1.5em; color: var(--c_white); }
.about-shell { margin: 0 auto; }
.about-sub { display: block; position: relative; top: .938rem; font-family: var(--f_general); color: var(--c_white); }
.emphasis { font-family: var(--f_general); color: var(--c_blue); font-weight: 800; font-size: 1.1em; }

/*WELCOME*/
.desk-only .container.layout_flex.layout_flex-spc-btwn {
  display: flex; flex-direction: row; align-items: flex-start; justify-content: center; margin-top: -1.25rem;
}
.welcome-card .welcome-img { display: block; max-width: 25rem; height: auto; margin: .938rem auto; }
.welcome-card.col-5 { margin-right: .625rem; }
.welcome-card.col-7 p { width: 31.25vw; font-family: var(--f_general); }
.text-accent { color: var(--c_blue); }

/* ===== WHAT WE DO ===== */
#what {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-top: -5.375rem; background: var(--c_lightblue);
}
#what h2 { font-size: 3em; }
.what-col { display: flex; flex-direction: column; }
.what-card { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; justify-content: center; }
.what-card img { width: 9.375rem; height: auto; }
.what-card p { max-width: 70%; font-size: .938rem; font-family: var(--f_general); text-align: center; }
.what-desktop { display: none; }
.what-italic, .what-strong { font-family: var(--f_general); font-style: italic; font-size: .9em; }
.what-strong { font-weight: 600; margin-top: -2.5rem; color: var(--c_blue); }

/*JOIN US*/
#join-us {
  position: relative; width: 100%; overflow: hidden; height: 28.125rem; margin-top: -4.063rem; display: block;
}
.join-img { position: absolute; width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; }
.join-copy { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; text-align: center; }
.join-copy h1 { margin: 0; padding: .625rem; color: var(--c_white); font-size: 1.7em; }
.satisfied-text { color: var(--c_blue); font-style: italic; font-family: var(--f_general); font-weight: 800; }
.join-a { display: block; }
.join-b { display: none; }

/*LIENT LIST*/
#client-list h2 { text-align: center; }
.client-links {
  background: var(--c_black); padding: .938rem;
  display: flex; align-items: center; justify-content: space-around; text-align: center;
}
.client-links a { width: 9.375rem; font-family: var(--f_general); font-weight: 670; }
.client-links a:first-child { color: var(--c_white); }

.client-logos {
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.688rem;
  padding: 1.25rem; background: var(--c_lightblue);
}
.client-logos img { width: 40%; max-width: 9.375rem; display: block; height: 20%; }
.client-first { margin-top: 1.563rem; }
.client-last { margin-top: .625rem; }

.client-tagline { text-align: center; font-family: var(--f_general); font-style: italic; font-weight: 600; font-size: .9em; }
.client-tagline p { margin-bottom: 1.3rem; }

.client-cta {
  text-align: center; background: var(--c_black); width: 50%; display: block; margin: 0 auto;
  padding: .625rem; text-transform: uppercase; font-family: var(--f_general); font-size: .8em; font-weight: 600; margin-bottom: 2.5rem;
}
.client-cta:hover { background: var(--c_blue); }

.client-arrows .arrow { display: none; background: none; border: none; cursor: pointer; }
.client-arrows .arrow img { width: .938rem; height: auto; }


/*RESPONSIVE*/
@media (min-width: 1024px) {
  .desk-wrap { display: block; }

  .client-links {
    background: none; justify-content: space-evenly; margin-bottom: 1.25rem;
  }
  .client-links a {
    width: 17.5rem; background: var(--c_white); color: var(--c_blue);
    border: 0.125rem solid var(--c_blue); padding: 0.625rem;
  }
  .client-links a:hover { background: var(--c_blue); color: var(--c_white); }
  .client-links a:first-child { background: var(--c_blue); color: var(--c_white); }

  #client-list h2 { text-align: left; margin-left: 7.5rem; font-size: 3em; }
  .join-a { display: none; }
  .join-b { display: block; }

  .client-cta {
    padding: 0.625rem; display: inline-block; margin: 0; width: auto; font-size: 1em;
    background: var(--c_white); border: 0.125rem solid var(--c_blue); height: 1.25rem;
  }

  .client-info { display: flex; justify-content: center; align-items: center; gap: 2.5rem; margin-top: 2.5rem; }

  .join-copy {
    position: absolute; background: rgba(0,0,0,.7); padding: 3.75rem; max-width: 25rem;
    text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
    top: 20%; right: 15%;
  }
  .join-copy h1 { padding: 0; }
}

@media (min-width: 1280px) {
  .container.layout_flex.layout_flex-spc-btwn {
    display: flex; flex-direction: row; align-items: center; margin-bottom: -3.125rem;
  }
  .welcome-card .welcome-img { margin-bottom: .375rem; }
  #how .container { display: flex; flex-direction: column; align-items: center; }
  .about-shell { margin-left: 37.5rem; margin-right: 0; }
  #welcome { display: block; }
  .what-desktop { display: flex; flex-direction: row; }
  .what-card { display: flex; flex-direction: column; align-items: center; }
  .client-logos img { max-width: 13.75rem; display: block; height: 20%; }
  #timeline { display: block; margin-bottom: 100px; }
}

@media (max-width: 768px) {
  .desk-wrap { display: none; }
  .mnav { display: block; }

  .mnav-btn { display: inline-block; position: absolute; right: 1.563rem; top: 1.563rem; }
  .mnav-btn label {
    display: inline-block; width: 2.188rem; height: 2.188rem; padding: 0.438rem;
    background: var(--c_blue); border-radius: 0.625rem;
  }
  .mnav-btn label:hover,
  #nav-check:checked ~ .mnav-btn label { background: var(--c_black); max-height: 2.188rem; }
  .mnav-btn label span {
    display: block; width: 2.188rem; height: 0.313rem; margin: 0.375rem auto; border-radius: 0.125rem; background: var(--c_white);
  }

  .mnav-links {
    position: absolute; display: block; width: 100%; max-width: 100vw; box-sizing: border-box;
    background: var(--c_blue); height: 0; transition: all .3s ease-in; overflow: hidden; top: 4.375rem; left: 0;
    text-align: center; text-transform: uppercase; font-weight: 600; font-size: 1.375rem;
  }
  .mnav-links a { display: block; width: 100%; max-width: 100%; box-sizing: border-box; margin: 0; padding: 0.3rem 0; }

  #nav-check:not(:checked) ~ .mnav-links { height: 0; }
  #nav-check:checked ~ .mnav-links { height: 90vh; overflow-y: auto; }

  .welcome-card .welcome-img { width: 100%; max-width: 15.625vw; }
  .desk-only .container.layout_flex.layout_flex-spc-btwn { margin-top: -3.125rem; }

  #hero { min-height: 50vh; }
  #hero::before { background: none; }
  .hero_brand-img { display: block; width: 85%; margin: 0 auto; }

  #how .container { width: 80%; }
}
.mnav { display: none; }

/* Mobile*/
@media (min-width: 576px) and (max-width: 767px) {
  :root { --fs_nav: 1.125rem; }
  .hero_brand-img { width: min(90%, 40rem); }
  .client-logos img { max-width: 10.5rem; }
}


@media (min-width: 768px) and (max-width: 1023px) {
  .desk-wrap { display: none; }
  .container { width: 88vw; }
  #how .container { width: 36rem; }
}

@media (min-width: 1024px) {
  .mnav { display: none; }              
  .layout_head-resp { display: none; }   
  .layout_head-desk { display: flex; }  
}

@media (min-width: 1280px) {
  .container { width: 85%; }
}
/*MILESTONES */
#milestones { display: none; }
#milestones-hero { display: block; margin: 2.5rem auto; max-width: 100%; height: auto; width: 42vw; }
.milestones-ui {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  width: 100%; max-width: 75rem; margin: 0 auto;
}
.milestones-info { display: flex; align-items: center; gap: 1.25rem; }
#milestones p { max-width: 41ch; width: 23.75rem; font-family: var(--f_general); font-size: 1.2em; }
.mile-prev, .mile-next { background: none; cursor: pointer; border: none; }
.mile-prev { transform: scaleX(-1); }
.icon-figure { margin: 0 2.5rem 3.75rem 0; }


@media (min-width: 1280px) {
  #milestones { display: block; margin-bottom: 100px; }
}

/* PARTNERSHIP */
#partnership {
  position: relative; width: 100%; overflow: hidden; height: 28.125rem; margin-top: -4.063rem; display: block;
}
.banner-img { position: absolute; width: 100%; height: 100%; object-fit: cover; top: 0; left: 0; }
.banner-copy { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; text-align: center; }
.banner-copy h1 { margin: 0; padding: .625rem; color: var(--c_white); font-size: 1.7em; }
.satisfied-accent { color: var(--c_blue); font-style: italic; font-family: var(--f_general); font-weight: 800; }


.banner-a { display: block; }
.banner-b { display: none; }

@media (min-width: 1024px) {
  .banner-a { display: none; }
  .banner-b { display: block; }
  .banner-copy {
    position: absolute; background: rgba(0,0,0,.7); padding: 3.75rem; max-width: 25rem;
    text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
    top: 20%; right: 15%;
  }
  .banner-copy h1 { padding: 0; }
}

/* CLIENTS*/
#clients h2 { text-align: center; }

.sector-links {
  background: var(--c_black); padding: .938rem;
  display: flex; align-items: center; justify-content: space-around; text-align: center;
}
.sector-links a { width: 9.375rem; font-family: var(--f_general); font-weight: 670; }
.sector-links a:first-child { color: var(--c_white); }

.logo-wall {
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.688rem;
  padding: 1.25rem; background: var(--c_lightblue);
}
.logo-wall img { width: 40%; max-width: 9.375rem; display: block; height: 20%; }
.logo-first { margin-top: 1.563rem; }
.logo-last { margin-top: .625rem; }

.logo-nav .nav-arrow { display: none; background: none; border: none; cursor: pointer; }
.logo-nav .nav-arrow img { width: .938rem; height: auto; }

/* Desktop adjustments */
@media (min-width: 1024px) {
  #clients h2 { text-align: left; margin-left: 7.5rem; font-size: 3em; }
  .sector-links {
    background: none; justify-content: space-evenly; margin-bottom: 1.25rem;
  }
  .sector-links a {
    width: 17.5rem; background: var(--c_white); color: var(--c_blue);
    border: 0.125rem solid var(--c_blue); padding: 0.625rem;
  }
  .sector-links a:hover { background: var(--c_blue); color: var(--c_white); }


  .client-info { display: flex; justify-content: center; align-items: center; gap: 2.5rem; margin-top: 2.5rem; }


  .logo-wall img { max-width: 13.75rem; }
}


/* Columns Styles */
/*.row{
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.col{
  --span: 1;
  flex: 0 0 auto;
  width: calc(
    ((100% - (var(--cols) - 1) * var(--gap)) * var(--span) / var(--cols))
    + ((var(--span) - 1) * var(--gap))
  );
}
 
.col-1  { --span: 1; }
.col-2  { --span: 2; }
.col-3  { --span: 3; }
.col-4  { --span: 4; }
.col-5  { --span: 5; }
.col-6  { --span: 6; }
.col-7  { --span: 7; }
.col-8  { --span: 8; }
.col-9  { --span: 9; }
.col-10 { --span: 10; }
.col-11 { --span: 11; }
.col-12 { --span: 12; }
*/


