:root{
  --cream:#ede6dc;
  --tan:#d6c8b3;
  --dark:#1e1e1e;
  --olive:#b7b58f;
  --accent:#e4e0b6;

  --night: #08131a;
  --night2: #0d2028;
  --slate: #18313a;
  --paper: #f3efe7;
  --paper2: #e8e0d2;
  --ink: #102126;
  --muted: #657177;
  --line: rgba(255, 255, 255, 0.13);
  --copper: #d69354;
  --copper2: #f0b36e;
  --ice: #8cc4c4;
  --sage: #809b87;
  --white: #fffaf2;

  --shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  --radius: 22px;



  --nav-height: 0px;


  --evilez: cubic-bezier(.666, 0, .333, 1);
}



*{box-sizing:border-box;}

html {
  scroll-behavior: smooth;
}
body {

  overflow-x: hidden;
}

body{
  font-family:"Darker Grotesque", sans-serif;
  background:var(--cream) url(https://bifrostpartnersllc.com/images/001-Basik-Paper.png);
  background-repeat: repeat;
  color:#333;
  line-height:1.6;
  padding: 0;
  margin: 0;
}

h1,h2,h3{
  display: block;
  font-family:"Merriweather", serif;
  font-weight:600;
  margin: 0;
  display: inline-block;
}

h1 {
  font-size: clamp(2.75rem, 2.25rem + 1.6vi, 4.25rem);
  line-height: 1.1;
  margin-bottom: 15px;
}

h2 {
  font-size: clamp(1.5rem, 1rem + 2.1111vw, 4rem);
  color: black;
  line-height: 1.134;
  margin-bottom: 10px;
}

h3 {
  font-size: clamp(1.25rem, 0.625rem + 1.3889vw, 1.875rem);
}

h4 {
  font-family:"Darker Grotesque", sans-serif;
  font-size: 22px;
  font-weight: 400;
}


p {
  font-size: clamp(1rem, 0.801rem + 0.638vi, 1.375rem);
  line-height: 1.3;
}

p.small {
  font-size: clamp(0.875rem, 0.742rem + 0.426vi, 1.125rem)
}

.container{
  width:90%;
  margin:auto;
}

.underline-ill {
  display: block;
}

.logo {
  position: fixed;
  max-width: 100px;
  left: 5%;
  top: 0;
  background: var(--dark);
  padding: 20px 10px;
  z-index: 100;
  box-shadow: 6px 5px 9px rgba(0, 0, 0, 0.4);
}

.logo img{
  width:100%;
  display:block;
}

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


.video-hero {
  position: relative;
  width: 100%;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--night2);


}

.add-margin {
  margin-top: var(--nav-height);
}

/* Background Video */
.video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}

.video-hero__video--mobile {
  display: none;
}

/* Overlay */
.video-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* 1220px Content Container */
.video-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 80px 40px;
  box-sizing: border-box;
}

.video-hero__content {
  max-width: 850px;
  text-align: left;
  color: #fff;
}

.video-hero__content p {
  width: 70%;
}

/* Tag */
.video-hero__tag {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Heading */
/* .video-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 700;
} */


/* Mobile */
@media (max-width: 767px) {

  .video-hero {
    min-height: 600px;
  }

  .video-hero__video--desktop {
    display: none;
  }

  .video-hero__video--mobile {
    display: block;
  }

  .video-hero__container {
    padding: 60px 24px;
  }

  .video-hero__content {
    max-width: 100%;
  }

}


.btn{
  display:inline-block;
  padding:12px 24px;
  border-radius:6px;
  text-decoration:none;
  font-size:16px;
  letter-spacing:.5px;
  font-family:"Merriweather", serif;
  font-weight:200;
  white-space: nowrap;
  transition: all 333ms cubic-bezier(0.666, 0, 0.333, 1);
}

.btn-light{
  background: var(--accent);
  color: var(--dark);
}

.btn-light:hover {
  background: var(--copper2);
  color: var(--dark);
}

.btn-dark{
  background:var(--dark);
  color:white;
  border: 1px solid var(--dark);
}

.btn-dark:hover{
  background:white;
  color:var(--dark);
}



.section-label {
  color: var(--copper2);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  font-family: "Darker Grotesque", sans-serif;
  border: 1px solid;
  padding: 5px 15px;
  display: inline-block;
  border-radius: 50px;
  margin-bottom: 15px;
  background: var(--night2);
}

/* ---------------- BIFROST WAY ---------------- */

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 10% 0;
    text-align: center;
    width: 50%;
}

.split h2{
  /* font-size:36px;
  margin-bottom:20px; */
}

.split p{
  font-size:22px;
}

.bifrost-way .underline-ill {
  margin: 0 auto;
  width: 50%;
  max-width: 280px;
  text-align: center;
}

/* ---------------- TEAM ---------------- */

.team-section{
  background: linear-gradient(135deg, #0a171e, #102a31);
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(140, 196, 196, .13), transparent 28%), radial-gradient(circle at 86% 62%, rgba(214, 147, 84, .13), transparent 30%);
}

.team-section::after {
  content: "";
  position: absolute;
  background: url('https://bifrostpartnersllc.com/images/IMG_6811.jpg');

}

/* .team-section h2{
  font-size:34px;
} */

.team-section .underline-ill {

}

.team-scroll {
  position: relative;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  padding: 10% 5%;
  color: white;
}


.team-scroll h2 {
  color: white;
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
  /* padding-top: 72px; */
}


.card{
  /* display: flex;
  flex-direction: column; */
  color: #333;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  text-align: left;
  background: white;
  border-radius: 12px;
}

.card h3 {
  font-weight: 200;
}

.card-header{
  background: var(--slate);
  padding: 0 10px;
  display: flex;
  align-items: end;
  gap: 20px;
  overflow: visible;
  position: relative;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 150px;
  color: white;
  border-bottom: 14px solid #e4e0b6;
}

.card-header .img-con {
  width: 50%;
  max-width: 500px;
  z-index: 33;
  position: relative;
}

.card-header .img-con img{
  width: 100%;
  max-width: 250px;
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 0;
}

.card-name-title {
  margin-bottom: 15px;
}

.card-name-title p {
  margin: 0;
}

.card-body{
  /* position: relative; */
  /* height: 100%; */
  padding: 0 25px 25px;
  background-color: white;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.card-body a {
  display: block;
  /* position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%,0); */
  color: var(--dark);
  font-family:"Merriweather", serif;
  text-decoration: none;
  text-align: center;
  background: var(--accent);
  padding: 10px 0;
  border-radius: 6px;
}

/* ---------------- OWNERSHIP ---------------- */

.ownership{
  padding:15% 0;
}

.ownership .underline-ill {
  max-width: 350px;
}

.ownership-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.map-placeholder{
  width: 100%;
  margin: 0 auto;
}

/* ---------------- INFO BAND ---------------- */

.info-band{
  position: relative;
  background:var(--tan);
  padding:100px 0;
}

.info-band .logo {
  position: absolute;
  width: 20%;
  max-width: 130px;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  text-align: center;
}

.info-grid .underline-ill {
  max-width: 230px;
  margin: 0 auto;
}

.info-grid h3{
  color: black;
  font-size:28px;
  margin-bottom:5px;
}

/* ---------------- FOOTER ---------------- */

footer{
  background:#000;
  color:white;
  padding:40px 0;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
}

/* .footer-inner a {
  color: white;
} */

picture {
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
}

.cta-sec {
  position: relative;
  width: 80%;
  margin: 5% auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 30px 30px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--night2);
}

.cta-sec .overlay {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(0%, -50%);
  width: 50%;
  text-align: left;
  z-index: 1;
  color: white;
}

.cta-sec picture {
  opacity: 1;
  /* filter: contrast(150%); */
}

.cta-sec h2 {
  color: white;
  margin-bottom: 25px;
  text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.8);
  /* background-color: var(--night2); */
}


.animate-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--evilez), transform 1.1s var(--evilez);
}

.animate-item.delay {
  transition-delay: 550ms
}

.animate-item.visible {
  opacity: 1;
  transform: translateY(0);
}


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

@media(max-width:1024px){

  .split,
  .team-grid,
  .info-grid{
    grid-template-columns:1fr;
  }

  .btn {
    font-size: 14px;
    padding: 8px 13px;
  }

  .cta-sec .overlay {
    width: 90%;
  }

  .hero video.mobile-vid {
    display: block;
  }

  .hero video.desk-vid {
    display: none;
  }

  .split p {
    font-size: 18px;
  }

  /* .team-scroll{
   overflow-x:auto;
   -webkit-overflow-scrolling:touch;
 }

 .team-scroll::-webkit-scrollbar{
   display:none;
 } */

 .team-grid{
   /* padding: 15% 0; */
   display: block;
   gap: 10%;
 }



 .team-section::after {
   content: '';
   display: block;
   background: url('https://bifrostpartnersllc.com/images/IMG_6811.jpg');
   position: absolute;
   top: 0;
   width: 100%;
   height: 17%;
   z-index: -1;
   opacity: 1;
   background-size: 100%;
 }

 .card{
   margin-bottom: 15%;
   /* scroll-snap-align:start; */
 }

 /* .team-scroll{
   scroll-snap-type:x mandatory;
 } */

  .ownership-grid {
    grid-template-columns: 1fr;
    grid-gap: 20px;
    padding: 15% 0 0;
  }

  .hero {
    /* padding-bottom: 130%; */
  }

  .hero-overlay{
    left:30px;
  }

  .hero-overlay{
    position: absolute;
    bottom: 50px;
    left: 20px;
    color: white;
    display: block;
    width: 90%;
  }

  .hero-overlay .underline-ill {
    margin-bottom: 0;
  }

  .hero-overlay h4 {
    width: 100%;
    font-size: 18px;
    margin: 15px 0 22px;
    line-height: 1.5;
  }

  .split{
    width: 90%;
    gap: 10px;
    padding: 15% 0;
  }

  .map-placeholder{
    width: 100%;
  }

  .info-band {
    margin-top: 15%;
  }

}


@media(max-width:1220px){

  .team-scroll {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    padding: 15% 5%;
    color: white;
  }

}
