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

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Roboto', sans-serif;
  font-weight:400;
  line-height: 1.5;
  color: #333;
}

body {
    margin:0;
    padding:0;
    overflow-x: hidden;
}
:root {
  --blue4:#2c4058;
  --blue3:#5b7287;
  --blue2:#8C9EA3;
  --blue1:#ECECEC;
  --white: #ffffff;
  --black: #333333;
}

.blue1{
  color:var(--blue1)!important;
}

.blue2{
  color:var(--blue2)!important;
}

.blue3{
  color:var(--blue3)!important;
}

.blue4{
  color:var(--blue4)!important;
}

img {
  width:100%;
}

li::marker {
  color:var(--blue4);
}

ol, ul {
  font-size:18px;
}

address {
  font-style:normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  line-height: 1.1;
  font-weight:700;
  color:var(--blue3);
  margin:0 0 0.35em 0;
}

h1, h2, h3, h4, p {
  font-size: clamp(
    var(--fluid-type-min, 1rem),
    calc(1rem + var(--fluid-type-target, 3vw)),
    var(--fluid-type-max, 1.2rem)
  );
}

h1 {
  --fluid-type-min: 2.5rem;
  --fluid-type-max: 4.55rem;
  --fluid-type-target: 5vw;
}

h2 {
  --fluid-type-min: 1.8rem;
  --fluid-type-max: 2.0rem;
}

h3 {
  --fluid-type-min: 1.5rem;
  --fluid-type-max: 1.8rem;
}

h4 {
  --fluid-type-min: 1.2rem;
  --fluid-type-max: 1.5rem;
}

li::marker {
  color:var(--blue2);
}

.tac {
  text-align:center;
}

.tar {
  text-align:right;
}

.aic {
  align-items: center;
}

.flxp {
  display:flex;
}

.flxc {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flxsb {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flxw {
  display:flex;
  flex-wrap:wrap;
}

.jc {
  justify-content:center;
}

.aic {
  align-items: center;
}

.mb20 {
  margin-bottom:24px;
}

.mb40 {
  margin-bottom:48px;
}

.boxed {
    width:100%;
    max-width:1440px;
    padding:10px;
    margin:0 auto;
}

.main_h {
  position:fixed;
  background:var(--blue4);
  width:100%;
  display:flex;
  align-items:center;
  top:0;
  left:0;
  right:0;
  padding:20px 10px;
  z-index:10;
}

#branding {
  width:280px;
  height:78px;
  background-image:url('../../assets/images/horizontal-rev.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition:all 500ms ease;
  margin:0 auto;
}

.main_h.scrolled {
  padding:10px;
}

.main_h.scrolled #branding {
  width:140px;
  height:39px;
}

#toggle {
  padding: 10px;
	z-index: 10;
	background:transparent;
	border:none;
	display:block;
	z-index:30;
}

#toggle svg {
  width:30px;
}

.inline_buttons {
  display:none;
}

#mobile-menu {
  transition: all 500ms ease;
  display:none;
  height:0;
  position:fixed;
  top:118px;
  bottom:0;
  left:0;
  right:0;
  text-align:center;
  z-index:100;
  background:var(--blue4);
  padding:40px 20px 0 20px;
}

#mobile-menu.open {
  display:flex;
  flex-direction:column;
  height:auto;
}

#mobile-menu.scrolled {
  top:68.2px;
}

#mobile-menu a {
  color:var(--blue1);
  text-transform:uppercase;
  text-decoration:none;
  font-size:18px;
}

#mobile-menu a:hover, #mobile-menu a:focus {
  color:var(--white);
}

#mobile-menu .contact-links {
  display:flex;
  flex-direction:column;
  background:var(--blue3);
  border-radius:20px;
  padding:10px;
  margin-top: 24px;
}

#mobile-menu .contact-links a {
  margin-bottom:12px;
}

#mobile-menu .contact-links h4 {
  color:var(--white);
  margin-bottom:12px;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-top:12px;
}

.primary_button, .secondary_button {
  padding:15px 30px;
  border-radius:30px;
  text-decoration:none;
  text-transform: uppercase;
  font-size:16px;
  letter-spacing:2px;
  border:2px solid var(--blue1);
}

.primary_button {
  color:var(--blue4);
  background:var(--blue1);
}

.secondary_button {
  color:var(--blue1);
  background:transparent;
}

.main_h .primary_button {
  margin-left:12px;
}

#contact-info {
  position:absolute;
  top:73px;
  right:-9999px;
  width:234px;
  background:white;
  display:flex;
  flex-direction:column;
  padding:20px;
}

#contact-info a {
  margin:12px 0;
  color:var(--blue4);
  text-decoration:none;
}

#contact-info a:hover {
  color:var(--blue2);
}

.main_h.scrolled #contact-info {
  top:68px;
}

#hero {
  min-height:100vh;
  background-color:var(--blue3);
  padding-top:100px;
  background-image:url('../../assets/images/jannes-jacobs-AB5Is4yp618-unsplash.jpg');
  background-size:cover;
  background-position: center 50px;
  background-repeat:no-repeat;
  /* margin-top:78px; */
}

.hero-content h1 {
  color:var(--white);
  filter:drop-shadow(0 0 0.5rem var(--blue4));
  text-transform: uppercase;
  letter-spacing: 20px;
  margin-bottom:48px;
}

.hero-content p {
  color:var(--white);
  filter:drop-shadow(0 0 0.5rem var(--blue4));
}

#content_main {
  padding-top:64px;
  padding-bottom:64px;
}

#content_main ol {
  counter-reset: section;
  list-style-type: none;
  margin-top:60px;
}

#content_main ol li {
  position:relative;
  padding-left:96px;
  margin-bottom:84px;
}

#content_main ol li::before {
  counter-increment: section;
  content: counters(section,".") " ";
  position:absolute;
  top:-28px;
  left:0;
  font-size:280%;
  border-radius: 50%;
  border:6px solid var(--blue2);
  background:transparent;
  color:var(--blue4);
  width:84px;
  height:84px;
  display:flex;
  align-items: center;
  justify-content: center;
  margin-bottom:36px;
}

.card {
  background: var(--blue1);
  border:4px solid var(--blue3);
  border-radius:10px;
  padding:24px;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content: center;
  margin-bottom:48px;
}

.allcaps {
  text-transform:uppercase;
  letter-spacing: 2px;
}

h2.allcaps {
  margin-bottom:0;
}

a.brokercheck {
  display:none;
}

a.call {
  position:fixed;
  padding:10px 20px;
  bottom:0;
  left:0;
  width:100%;
  text-align: center;
  background:var(--blue4);
  color:var(--blue1);
  text-decoration: none;
  transition:all 500ms ease;
}

a.call img {
  width:40px;
  height:40px;
}

a.call.scrolled {
  bottom:-100px;
}

a.call:hover, a.call:focus {
  background: var(--blue3);
  color:var(--blue1);
}

#bio {
  text-align:center;
}

#bio-pic {
  border-radius:50%;
  overflow:hidden;
  border:7px solid var(--blue2);
  max-width:265px;
  aspect-ratio: 1 / 1;
  background-image:url('../../assets/images/chase-smith.jpg');
  background-size:cover;
  background-position:top center;
  background-repeat:no-repeat;
  margin:0 auto 48px auto;
}

#modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  opacity: 0;
  -webkit-transition: opacity 300ms ease-in;
  -moz-transition: opacity 300ms ease-in;
  transition: opacity 300ms ease-in;
  pointer-events: none;
}

#modal > #modal-content {
  width: 80%;
  max-width: 600px;
  max-height: 80%;
  position: relative;
  padding: 32px 20px 20px 20px;
  background: var(--white);
  border-radius: 10px;
  align-items: center;
  overflow-y: scroll;
  text-align:center;
  display:flex;
  flex-direction:column;
}

#modal-content a {
  color:var(--blue4);
  text-transform:uppercase;
  text-decoration:none;
  font-size:18px;
  margin-bottom:12px;
}

#modal-content a:hover {
  color:var(--blue3);
}

#modal-close {
  position: absolute;
  right: 0px;
  top: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  background:var(--blue4);
  color: var(--blue1);
  text-decoration: none;
  width: 32px;
  height: 32px;
  border:none;
  /* border-radius: 0 5px 0 0; */
  z-index:2001;
  font-size:18px;
}


#modal-close:hover {
  cursor:pointer;
  background:var(--blue3);
}

#modal.modal-open {
  opacity:1;
  pointer-events: auto;
}

footer {
  color:var(--blue1);
  background:var(--blue4);
  text-align:center;
  padding-bottom:64px;
  padding-top:64px;
}

#footer-branding {
  max-width:230px;
  margin:48px auto;
}

footer h4 {
  color:var(--blue2);
}

footer a {
  color:var(--blue1);
  text-decoration:underline;
}

.disclosure {
  margin-top:48px;
}

.disclosure p {
  font-size: clamp(
    var(--fluid-type-min, 0.5rem),
    calc(1rem + var(--fluid-type-target, 1vw)),
    var(--fluid-type-max, 0.9rem)
  );
  text-align:left;
}

@media(min-width:1048px){
  .main_h {
    padding:10px 20px;
  }

  #branding {
    margin:0;
  }

  #toggle, #mobile-menu, #mobile-menu.open {
    display:none;
  }

  .inline_buttons {
    display:inline-flex;
  }

  #hero {
    background-attachment: fixed;
  }

  .hero-content h1 {
    font-size: 64px;
  }

  .hero-content p {
    font-size:150%;
  }

  a.call {
    display:none;
  }

  a.brokercheck {
    position:fixed;
    padding:10px 20px;
    bottom:0;
    left:0;
    width:100%;
    text-align: center;
    background:var(--blue4);
    color:var(--blue1);
    text-decoration: none;
    transition:all 500ms ease;
    display:block;
  }

  a.brokercheck.scrolled {
    bottom:-100px;
  }

  a.brokercheck:hover, a.brokercheck:focus {
    background: var(--blue3);
    color:var(--blue1);
  }

  .grid2 {
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap:64px;
    max-width: 100%;
  }

  #content_main {
    display:grid;
    grid-template-columns: 2fr 1fr;
    grid-gap:64px;
  }

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

  .asym3 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 64px;
  }

  .card {
    margin-bottom:0;
  }

  #bio {
    border-left:2px solid var(--blue3);
    padding-left:32px;
  }
}

@media(max-width:1047px){
  #bio {
    margin-top:64px;
  }
}

@media(max-width:600px){
  .main_h #branding {
    width:140px;
    height:39px;
  }
}
