/*! 
Theme Name: Main
Author: Tyler Willis
Version: 1.0
*/
/*

Colors

*/
:root {
  --primary: #5790ff;
  --primary-rgb: 87, 144, 255;
  --secondary: #1e3a74;
  --secondary-rgb: 30, 58, 116;
  --color-3: #0299da;
  --color-3-rgb: 2, 153, 218;
  --color-4: #eb008b;
  --color-4-rgb: 235, 0, 139;
  --black: #131212;
  --black-rgb: 1, 1, 1;
  --black-lt: #333;
  --white: #fff;
  --gray: #e7eaf0;
  --gray-lt: #f7f8fa;
  --gray-dk: #a9a9a9;
  --breakpoint-large: 1100px;
  --breakpoint-medium: 820px;
  --breakpoint-small: 600px;
  --body-font: "Poppins", sans-serif;
}

/*

Fonts

*/
body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: var(--black);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.5em;
  line-height: 1em;
}

h4, h5, h6 {
  font-weight: 500;
}

h1 {
  font-size: 3.5em;
}

h2 {
  font-size: 3em;
}

h3 {
  font-size: 2.5em;
}

@media (max-width: 750px) {
  h3 {
    font-size: 1.8em;
  }
}
h4 {
  font-size: 2em;
}

@media (max-width: 750px) {
  h4 {
    font-size: 1.5em;
  }
}
h5 {
  font-size: 1.6em;
}

@media (max-width: 750px) {
  h5 {
    font-size: 1.4em;
  }
}
h6 {
  font-size: 1.2em;
}

@media (max-width: 750px) {
  h6 {
    font-size: 1.2em;
  }
}
/*

Global

*/
html, body {
  width: 100vw;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

p {
  margin-top: 0;
  font-weight: 300;
}

strong, b {
  font-weight: 500;
}

/*

Global - Container

*/
.container {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
}

/*

Global - Resets

*/
html {
  scroll-behavior: smooth;
  background-color: var(--white);
}

body {
  margin: 0;
}

:is(ul, ol) li {
  margin-bottom: 10px;
}

* {
  box-sizing: border-box;
}

/*

Header

*/
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
header .container {
  display: flex;
  justify-content: space-between;
  transition: all 0.5s;
  padding: 10px 0;
}
header .container a.logo {
  display: block;
}
header .container a.logo img {
  display: block;
  width: 150px;
  position: relative;
}
header .container nav {
  display: flex;
  align-items: center;
  padding-left: 50px;
  grid-gap: 25px;
  font-family: "Alternate Gothic", sans-serif;
}
header .container nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 25px;
  list-style: none;
  margin: 0;
  width: 100%;
  padding: 0;
}
header .container nav ul li {
  display: flex;
  align-items: center;
  margin: 0;
}
header .container nav ul li a {
  color: var(--secondary);
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.8em;
  transition: all 0.1s;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-weight: 500;
}
header .container nav ul li a:not(.button) {
  font-weight: 400;
  margin-top: 15px;
  padding-bottom: 15px;
}
header .container nav ul li a:hover {
  text-decoration: none;
  color: var(--primary);
}
header .container nav ul li a.button {
  transition: all 0.3s;
  padding: 15px 25px;
}
header .container nav ul li a.button:hover {
  text-decoration: none;
}
header .container nav ul li a:not(.button).active {
  color: var(--primary);
}
header .container nav ul li a:not(.button).active svg path {
  fill: var(--primary);
}
header .container nav ul li.search-modal-button {
  margin: 0;
  padding-bottom: 5px;
  cursor: pointer;
}
header .container nav ul li.search-modal-button svg {
  width: 16px;
}
header .container nav ul li.search-modal-button svg path {
  fill: var(--white);
}
header .container nav ul li:has(.button) + li:has(.button) a {
  margin-left: -15px;
}
header .container nav .divider {
  height: 30px;
  width: 1px;
  background-color: var(--white);
  display: none;
}
header .container a.phone {
  display: flex;
  align-items: center;
  grid-gap: 5px;
  color: var(--secondary);
  font-size: 1.5em;
  line-height: 1em;
  text-decoration: none;
  transition: all 0.1s;
}
header .container a.phone img {
  width: 48px;
}
header .container a.phone span tag {
  display: block;
  font-size: 0.48em;
  line-height: 1.2em;
}
header .container a.phone:hover {
  color: var(--primary);
}
header.scrolling {
  position: fixed;
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(var(--black-rgb), 0.12);
  animation: headerSlideDown 0.4s ease;
}
header.scrolling .container {
  align-items: center;
  padding: 5px 0;
}
header.scrolling .container a.logo img {
  width: 120px;
}
header.scrolling .container a.phone {
  font-size: 1.3em;
}
header.scrolling .container a.phone img {
  width: 40px;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
body header:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--black);
  z-index: 98;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
}
body header:after {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  width: 100vw;
  min-width: 900px;
  height: 100vh;
  background-image: url("/wp-content/uploads/2026/04/icon-blk.png");
  z-index: 99;
  filter: brightness(0) invert(1) blur(100px);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
  transform: scale(0) translateX(-50%);
}
body.mobile-nav-open header:before {
  visibility: visible;
  opacity: 1;
}
body.mobile-nav-open header:after {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translateX(-50%);
  filter: brightness(0) invert(1) blur(0);
}

@media (max-width: 1000px) {
  body.mobile-nav-open header:after {
    opacity: 0.25;
    filter: brightness(0) invert(1) blur(10px);
  }
  header .container nav > ul {
    display: none;
  }
}
@media (max-width: 500px) {
  header .container nav a.phone {
    display: none;
  }
}
/*

Header > Ribbon

*/
header .ribbon {
  background-color: var(--white);
  padding: 10px 0;
  position: relative;
  z-index: 1;
}
header .ribbon .container {
  height: auto;
}
header .ribbon .container p {
  margin: 0;
  color: var(--primary);
  font-size: 0.9em;
}
header .ribbon .container p a {
  font-weight: 300;
}
header .ribbon .container .social-media {
  display: flex;
  grid-gap: 20px;
}
header .ribbon .container .social-media a svg {
  height: 16px;
}
header .ribbon .container .social-media a svg path {
  transition: all 0.1s;
}
header .ribbon .container .social-media a:hover svg path {
  fill: var(--primary);
}

@media (max-width: 800px) {
  header .ribbon .container .social-media {
    display: none;
  }
}
/*

Header > Nav Items with Sub Menus

*/
header .container nav ul li:has(.nav-level-2) {
  position: relative;
}
header .container nav ul li:has(.nav-level-2) > a svg {
  margin: 0 0 2px 2px;
  width: 16px;
  transition: all 0.2s;
}
header .container nav ul li:has(.nav-level-2) > a svg path {
  fill: var(--primary);
}
header .container nav ul li:has(.nav-level-2) > a.active {
  color: var(--black);
}
header .container nav ul li:has(.nav-level-2) > a.active svg path {
  fill: var(--black);
}
header .container nav ul li:has(.nav-level-2):hover > a svg {
  transform: rotate(180deg);
}
header .container nav ul li:has(.nav-level-2):hover .nav-level-2 {
  opacity: 1;
  visibility: visible;
}
header .container nav ul li:has(.nav-level-2) .nav-level-2 {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  top: calc(100% - 2px);
  left: 0;
  background-color: var(--gray);
  width: -moz-max-content;
  width: max-content;
  transition: all 0.2s;
  padding: 40px;
}
header .container nav ul li:has(.nav-level-2) .nav-level-2:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  background-image: url("/wp-content/uploads/2026/05/polygon-2-1.png");
  background-size: cover;
  width: 100px;
  height: 100px;
  opacity: 0.1;
}
header .container nav ul li:has(.nav-level-2) .nav-level-2 ul {
  display: block;
  width: -moz-max-content;
  width: max-content;
  padding: 0;
  grid-gap: 0;
  position: relative;
}
header .container nav ul li:has(.nav-level-2) .nav-level-2 ul li {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
}
header .container nav ul li:has(.nav-level-2) .nav-level-2 ul li a {
  display: block;
  transition: all 0.1s;
  width: 100%;
  color: var(--primary);
  margin: 0;
}
header .container nav ul li:has(.nav-level-2) .nav-level-2 ul li a:hover {
  color: var(--black);
}
header .container nav ul li:has(.nav-level-2) .nav-level-2 ul li a.active {
  color: var(--black);
}

/*

Header - Button

*/
header .container button.mobile-menu-button {
  background: none;
  border: 0;
  padding: 5px 0 0;
  z-index: 101;
  cursor: pointer;
  position: relative;
  margin-left: 5px;
}
header .container button.mobile-menu-button:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: var(--black);
  top: 50%;
  transform: translateY(-50%);
  left: -15px;
  opacity: 0.25;
}
header .container button.mobile-menu-button span {
  background-color: var(--secondary);
  height: 2px;
  width: 34px;
  display: block;
  margin-bottom: 5px;
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.3s ease;
}
header .container button.mobile-menu-button span:nth-child(1) {
  transform: rotate(0deg) translate(0px, 0px);
  transform-origin: 0px 3px;
}
header .container button.mobile-menu-button span:nth-child(2) {
  transform: rotate(0deg) translate(0px, 0px);
  transform-origin: 0px -2px;
}
header .container button.mobile-menu-button.open {
  position: fixed;
  top: 20px;
  right: 20px;
}
header .container button.mobile-menu-button.open:before {
  display: none;
}
header .container button.mobile-menu-button.open span {
  background-color: var(--white);
}
header .container button.mobile-menu-button.open span:nth-child(1) {
  transform: rotate(45deg) translate(-7px, -6px);
  width: 26px;
}
header .container button.mobile-menu-button.open span:nth-child(2) {
  transform: rotate(-45deg) translate(-4px, 1px);
  width: 26px;
}

@media (max-width: 1000px) {
  header .container button.mobile-menu-button {
    margin-left: 0;
  }
  header .container button.mobile-menu-button:before {
    display: none;
  }
}
/*

Header - Mobile nav

*/
header .mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100%;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  padding: 100px 25px;
  overflow: hidden;
  height: 100vh;
  z-index: 100;
  background-color: var(--secondary);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
header .mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
header .mobile-menu:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-image: url("/wp-content/uploads/2026/05/polygon-1-1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  transform: scaleX(-1);
}
header .mobile-menu:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 175px;
  background-image: url("/wp-content/uploads/2026/05/polygon-7.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
  transform: scaleY(-1);
}
header .mobile-menu .container {
  display: block;
  overflow-y: auto;
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-bottom: 0;
  background: none;
}
header .mobile-menu .container ul:not(.dd) {
  display: none;
}
header .mobile-menu .container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
header .mobile-menu .container ul li {
  margin-bottom: 10px;
  position: relative;
}
header .mobile-menu .container ul li a {
  color: var(--white);
  font-size: 1em;
  font-weight: 400;
  opacity: 0.75;
}
header .mobile-menu .container ul li a.primary {
  color: var(--primary);
}
header .mobile-menu .container ul li a:hover {
  opacity: 1;
}
header .mobile-menu .container ul li svg {
  display: none;
}
header .mobile-menu .container ul li .nav-level-2 {
  position: relative;
  font-size: 0.8em;
  margin-bottom: 40px;
}
header .mobile-menu .container ul li .nav-level-2 ul {
  padding-left: 40px;
  list-style: disc;
  color: var(--white);
}
header .mobile-menu .container ul li .nav-level-2 ul li {
  margin: 20px 0;
}
header .mobile-menu .container ul li .nav-level-2 ul li:last-child {
  margin-bottom: 0;
}
header .mobile-menu .container ul.dd {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  grid-gap: 50px;
  flex-wrap: wrap;
}
header .mobile-menu .container ul.dd ul {
  display: block;
}
header .mobile-menu .container ul.dd ul li:first-child {
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid;
  color: var(--white);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
header .mobile-menu .container ul.dd ul li:first-child a {
  opacity: 1;
}
header .mobile-menu .container a.phone {
  margin: 25px 0 0;
  color: var(--white);
  display: none;
}

@media (max-width: 1000px) {
  header .mobile-menu .container ul {
    display: block;
    max-width: 450px;
    margin: 0 auto;
  }
  header .mobile-menu .container ul.btns {
    margin-bottom: 40px;
  }
  header .mobile-menu .container ul.btns li a.primary {
    color: var(--white);
  }
  header .mobile-menu .container ul:not(.dd), header .mobile-menu .container ul:not(.btns) {
    display: block;
  }
  header .mobile-menu .container ul:not(.dd) li > a, header .mobile-menu .container ul:not(.btns) li > a {
    font-size: 1.3em;
    opacity: 1;
  }
  header .mobile-menu .container ul:not(.dd) li .nav-level-2, header .mobile-menu .container ul:not(.btns) li .nav-level-2 {
    font-size: 1em;
  }
  header .mobile-menu .container ul:not(.dd) li .nav-level-2 ul li a, header .mobile-menu .container ul:not(.btns) li .nav-level-2 ul li a {
    font-size: 1em;
  }
  header .mobile-menu .container ul.dd {
    display: block;
    color: var(--white);
  }
  header .mobile-menu .container ul.dd ul {
    list-style: disc;
    padding-left: 40px;
    margin-bottom: 40px;
  }
  header .mobile-menu .container ul.dd ul li {
    margin: 20px 0;
    font-size: 1em;
  }
  header .mobile-menu .container ul.dd ul li:nth-child(1) {
    font-size: 1.3em;
    font-weight: 500;
    opacity: unset;
    border: unset;
    text-transform: unset;
    letter-spacing: unset;
    padding: unset;
    margin: unset;
    list-style: none;
    margin-left: -40px;
  }
  header .mobile-menu .container ul.dd ul li > a {
    font-size: 1em;
  }
  header .mobile-menu .container a.phone {
    display: flex;
    max-width: 450px;
    margin: 0 auto 40px;
  }
}
@media (max-width: 550px) {
  header .mobile-menu:before, header .mobile-menu:after {
    display: none;
  }
}
/*

Footer

*/
footer {
  background-color: var(--gray);
  padding: 7.5em 0 2.5em;
  position: relative;
}
footer img.graphic {
  position: absolute;
  top: -71px;
  right: 0;
  width: 125px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  grid-gap: 50px;
  position: relative;
}
footer .container .col {
  flex: 1;
  min-width: 125px;
}
footer .container .col:nth-child(1) {
  flex: 2;
  margin-top: 0;
  min-width: 200px;
  margin-top: -50px;
}
footer .container .col img.logo {
  width: 150px;
  margin-bottom: 20px;
}
footer .container .col p {
  margin-bottom: 10px;
}
footer .container .col p.link {
  margin-bottom: 20px;
  position: relative;
  margin-left: 25px;
}
footer .container .col p.link > svg {
  position: absolute;
  top: 0;
  right: calc(100% + 3px);
  width: 22px;
}
footer .container .col p.link > svg path {
  fill: var(--primary);
}
footer .container .col p.link span {
  display: block;
  text-transform: uppercase;
  color: var(--gray-dk);
  font-size: 0.7em;
  font-weight: 700;
  margin: 0 0 5px;
}
footer .container .col p.link a {
  font-weight: 400;
}
footer .container .col a {
  color: var(--secondary);
  font-size: 0.8em;
}
footer .container .nav p {
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  min-height: 22px;
  color: var(--secondary);
}
footer .container .nav a {
  display: block;
  font-weight: 400;
  margin-bottom: 10px;
}
footer .text {
  width: 60%;
  text-align: right;
}
footer .text p {
  font-size: 0.72em;
  line-height: 1.4em;
}
footer .footer-legal {
  margin-top: 75px;
}
footer .footer-legal .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.5);
  padding-top: 2.5em;
}
footer .footer-legal .container p {
  font-size: 0.8em;
  color: var(--secondary);
  font-weight: 400;
}
footer .footer-legal .container p a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 400;
  margin-left: 6px;
  opacity: 0.75;
  font-size: 0.9em;
}
footer .footer-legal .container p a:hover {
  opacity: 1;
}
footer .footer-legal .container p:last-child {
  margin-bottom: 0;
}
footer .footer-legal .container .social-media {
  display: flex;
  grid-gap: 5px;
}
footer .footer-legal .container .social-media a {
  background-color: var(--secondary);
  width: 30px;
  height: 30px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s;
}
footer .footer-legal .container .social-media a svg {
  height: 20px;
}
footer .footer-legal .container .social-media a svg path {
  fill: var(--white);
}
footer .footer-legal .container .social-media a:hover {
  background-color: var(--primary);
}

@media (max-width: 1200px) {
  footer img.graphic {
    opacity: 0.5;
  }
}
body:has(main section:last-child[options~=background-gray]) footer, body:has(main section:last-child[options~=background-primary]) footer, body:has(main section:last-child[options~=background-secondary]) footer {
  background-color: var(--white);
}

/*

Button

*/
.button {
  padding: 15px;
  font-size: 0.8em;
  position: relative;
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
  font-family: "Avenir", sans-serif;
  display: flex;
  justify-content: center;
  grid-gap: 8px;
  align-items: center;
  overflow: hidden;
  text-align: center;
  transition: all 0.2s;
  line-height: 1em;
  will-change: transform;
  border-radius: 25px;
}
.button svg {
  margin-top: -2px;
  height: 14px;
  position: relative;
  transition: all 0.2s;
}
.button svg path {
  fill: var(--primary);
}
.button span {
  position: relative;
}
.button:has(svg:last-child) {
  grid-gap: 15px;
}
.button:has(svg:last-child):before {
  content: "";
  position: absolute;
  width: 27px;
  height: 27px;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  border-radius: 100%;
  transition: all 0.2s;
}
.button:hover {
  text-decoration: none;
}
.button:hover svg:last-child {
  transform: translateX(5px);
}
.button:hover:has(svg:last-child)::before {
  right: 3px;
}

main a.button:hover {
  text-decoration: none;
}

/*

Button - Variations

*/
.button.primary {
  color: #fff;
  background-color: var(--primary);
  border: 2px solid var(--primary);
}
.button.primary svg path {
  fill: var(--white);
}
.button.primary:before {
  background-color: var(--secondary);
}
.button.primary:hover svg:nth-child(1) path {
  fill: var(--primary);
}
.button.primary:hover {
  background-color: var(--white);
  color: var(--primary);
}

.button.secondary {
  color: #fff;
  background-color: var(--secondary);
  border: 2px solid var(--secondary);
}
.button.secondary svg path {
  fill: var(--white);
}
.button.secondary:before {
  background-color: var(--primary);
}
.button.secondary:hover svg:nth-child(1) path {
  fill: var(--secondary);
}
.button.secondary:hover {
  background-color: var(--white);
  color: var(--secondary);
}

.button.white {
  color: var(--secondary);
  background-color: var(--white);
  border: 2px solid var(--white);
}
.button.white svg path {
  fill: var(--secondary);
}
.button.white:before {
  background-color: var(--primary);
}
.button.white:hover {
  background-color: var(--secondary);
  color: var(--white);
}
.button.white:hover svg path {
  fill: var(--white);
}

.button.black {
  color: var(--white);
  background-color: var(--black);
  border: 2px solid var(--black);
}
.button.black svg path {
  fill: var(--white);
}
.button.black:before {
  background-color: var(--primary);
}
.button.black:hover {
  background-color: var(--white);
  color: var(--black);
}
.button.black:hover svg path {
  fill: var(--white);
}

.button.primary-outline {
  color: var(--primary);
  border: 1px solid var(--primary);
}

.button.secondary-outline {
  color: var(--secondary-dark);
  border: 1px solid var(--secondary-dark);
}

.button.black-outline {
  color: var(--black);
  border: 1px solid var(--black);
}

.button.white-outline {
  color: var(--white);
  border: 1px solid var(--white);
}

.button.plain-text {
  font-weight: 600;
  transition: all 0.2s;
  padding: 0;
  overflow: unset;
}
.button.plain-text svg path {
  fill: var(--primary);
}
.button.plain-text:hover {
  color: var(--primary);
}

/*

Buttons container

*/
.buttons {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  grid-gap: 15px;
}
.buttons p.button-tagline {
  margin: 0;
  font-weight: 600;
  line-height: 1.2em;
}

/*

Utils

*/
.text-large {
  font-size: 2em;
  line-height: 0.8em;
}

@media (max-width: 900px) {
  .text-large {
    line-height: 1em;
  }
}
.underline-primary {
  position: relative;
}

.underline-primary::after {
  content: "";
  position: absolute;
  top: calc(100% - 10px);
  left: 0;
  width: 100%;
  height: 10px;
  background-color: var(--primary);
  z-index: -1;
}

.new-line {
  display: block;
}

.color-primary {
  color: var(--primary);
}

/*

Section defaults

*/
section {
  margin: 7.5em 0;
  position: relative;
}
section .container {
  max-width: 1100px;
}
section h1, section h2 {
  font-size: 3em;
  line-height: 1.2em;
  margin-top: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}
section h1 span.sm, section h2 span.sm {
  font-size: 0.5em;
  display: block;
  font-weight: 500;
  line-height: 1.4em;
  margin-top: 0.2em;
}
section h1 span.step, section h2 span.step {
  display: block;
  margin-bottom: 10px !important;
  color: var(--primary-dark);
}
section h1:has(.text-large), section h2:has(.text-large) {
  font-size: 4em;
}
section .description {
  font-size: 1em;
}
section p, section li {
  line-height: 1.7em;
}
section span.primary {
  color: var(--primary);
}
section span.gray {
  color: var(--gray-dk);
}
section strong, section b {
  font-weight: 500;
}
section[options~=background-white] + [options~=background-white] {
  padding-top: 0;
}
section[options~=darkmode] + [options~=darkmode] {
  padding-top: 0;
}
section[options~=background-gray] + [options~=background-gray] {
  padding-top: 0;
}
section[options~=background-secondary-dark] + [options~=background-secondary-dark] {
  padding-top: 0;
}
section[options~=background-primary] {
  background-color: var(--primary);
  margin: 0;
  padding: 5em 0;
  color: var(--white);
}
section[options~=background-primary] p.subheading {
  color: var(--white);
  background-color: rgba(var(--secondary-rgb), 0.2);
}
section[options~=background-primary] .button.plain-text {
  color: var(--white);
}
section[options~=background-primary] .button.plain-text svg path {
  fill: var(--white);
}
section[options~=background-secondary] {
  background-color: var(--secondary);
  margin: 0;
  padding: 5em 0;
  color: var(--white);
}
section[options~=background-secondary] p.subheading {
  color: var(--white);
}
section[options~=background-secondary] .button.plain-text {
  color: var(--white);
}
section[options~=background-secondary] .button.plain-text svg path {
  fill: var(--white);
}
section[options~=background-gray] {
  background-color: var(--gray);
  margin: 0;
  padding: 5em 0;
}
section[options~=border-top] {
  border-top: 12px solid var(--primary);
  padding-top: 5em;
}
section[options~=border-bottom] {
  border-bottom: 12px solid var(--primary);
  padding-bottom: 5em;
}
section[options~=border-bottom-color] .border-bottom-color, section[options~=border-top-color] .border-bottom-color {
  position: absolute;
  bottom: -12px;
  left: -10vw;
  width: 120vw;
  display: flex;
  height: 12px;
}
section[options~=border-bottom-color] .border-bottom-color div, section[options~=border-top-color] .border-bottom-color div {
  flex: 1;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  overflow: hidden;
  position: relative;
}
section[options~=border-bottom-color] .border-bottom-color div:before, section[options~=border-top-color] .border-bottom-color div:before {
  content: "";
  position: absolute;
  inset: 0;
}
section[options~=border-bottom-color] .border-bottom-color div:nth-child(1), section[options~=border-top-color] .border-bottom-color div:nth-child(1) {
  background-color: var(--black);
}
section[options~=border-bottom-color] .border-bottom-color div:nth-child(1):before, section[options~=border-top-color] .border-bottom-color div:nth-child(1):before {
  background-color: rgba(var(--primary-rgb), 0.3);
}
section[options~=border-bottom-color] .border-bottom-color div:nth-child(2), section[options~=border-top-color] .border-bottom-color div:nth-child(2) {
  background-color: var(--primary);
}
section[options~=border-bottom-color] .border-bottom-color div:nth-child(3), section[options~=border-top-color] .border-bottom-color div:nth-child(3) {
  background-color: rgba(0, 0, 0, 0.5);
}
section[options~=border-bottom-color] .border-bottom-color div:nth-child(3):before, section[options~=border-top-color] .border-bottom-color div:nth-child(3):before {
  background-color: rgba(var(--primary-rgb), 0.2);
}
section[options~=border-bottom-color] .border-bottom-color div:nth-child(4), section[options~=border-top-color] .border-bottom-color div:nth-child(4) {
  background-color: rgba(0, 0, 0, 0.2);
}
section[options~=border-bottom-color] .border-bottom-color div:nth-child(4):before, section[options~=border-top-color] .border-bottom-color div:nth-child(4):before {
  background-color: rgba(var(--primary-rgb), 0.1);
}
section[options~=border-bottom-color] .border-bottom-color div:nth-child(5), section[options~=border-top-color] .border-bottom-color div:nth-child(5) {
  background-color: rgba(0, 0, 0, 0);
}
section[options~=border-bottom-color] .border-bottom-color div:nth-child(5):before, section[options~=border-top-color] .border-bottom-color div:nth-child(5):before {
  background-color: rgba(var(--primary-rgb), 0.1);
}
section[options~=border-bottom-color][options~=border-top-color], section[options~=border-top-color][options~=border-top-color] {
  padding-top: 5em;
}
section[options~=border-bottom-color][options~=border-top-color] .border-bottom-color, section[options~=border-top-color][options~=border-top-color] .border-bottom-color {
  bottom: unset;
  top: -12px;
}
section[options~=border-bottom-color][options~=border-bottom-color], section[options~=border-top-color][options~=border-bottom-color] {
  padding-bottom: 5em;
}
section:has(img[graphic]) {
  margin: 0;
  padding: 7.5em 0;
}
section:has(img[graphic]) .container {
  position: relative;
  z-index: 2;
}
section:has(img[graphic]) + section:not(:has(img[graphic][top])):not([options~=background-gray]):not([options~=background-primary]):not([options~=background-secondary]):not(:has(> .background)) {
  padding-top: 0;
}
section img[graphic] {
  position: absolute;
  z-index: 1;
}
section img[graphic][top] {
  top: 0;
}
section img[graphic][top][overflow1] {
  top: -65px;
}
section img[graphic][top][overflow2] {
  top: -130px;
}
section img[graphic][top][overflow3] {
  top: -195px;
}
section img[graphic][top][overflow4] {
  top: -260px;
}
section img[graphic][bottom] {
  bottom: 0;
}
section img[graphic][bottom][overflow1] {
  bottom: -65px;
}
section img[graphic][bottom][overflow2] {
  bottom: -130px;
}
section img[graphic][bottom][overflow3] {
  bottom: -195px;
}
section img[graphic][bottom][overflow4] {
  bottom: -260px;
}
section img[graphic][left] {
  left: 0;
}
section img[graphic][right] {
  right: 0;
}
section img[graphic] {
  /* widths - 75px per triangle */
}
section img[graphic][width1] {
  width: 75px;
}
section img[graphic][width15] {
  width: 112px;
}
section img[graphic][width2] {
  width: 150px;
}
section img[graphic][width25] {
  width: 187.5px;
}
section img[graphic][width3] {
  width: 225px;
}
section img[graphic][width35] {
  width: 262.5px;
}
section img[graphic][width4] {
  width: 300px;
}
section img[graphic][width5] {
  width: 375px;
}
section img[graphic][white-shade] {
  filter: brightness(0) invert(1);
  opacity: 0.2;
}
section img[graphic][black-shade] {
  filter: brightness(0) invert(1);
  opacity: 0.2;
}
section img[graphic][flip-vert] {
  transform: scaleY(-1);
}
section img[graphic][flip-hor] {
  transform: scaleX(-1);
}
section img[graphic][flip-vert][flip-hor] {
  transform: scale(-1);
}

@media (max-width: 900px) {
  section h1, section h2 {
    font-size: 2em !important;
  }
  section h1:has(.text-large), section h2:has(.text-large) {
    font-size: 2em !important;
  }
}
@media (max-width: 600px) {
  section img.graphic {
    opacity: 0.1;
  }
}
/*

Section defaults > Image layers

*/
section .image:has(.layers) .layers {
  position: relative;
  width: 100%;
}
section .image:has(.layers) .layers img:first-child {
  position: relative;
}
section .image:has(.layers) .layers img:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  transition: all 1s;
}
section .image:has(.layers) .layers img {
  max-width: 100%;
}
section .image:has(.layers) .layers img:nth-child(5) {
  z-index: 0;
}
section .image:has(.layers) .layers img:nth-child(4) {
  z-index: 1;
}
section .image:has(.layers) .layers img:nth-child(3) {
  z-index: 2;
}
section .image:has(.layers) .layers img:nth-child(2) {
  z-index: 3;
}
section .image:has(.layers) .layers img:nth-child(1) {
  z-index: 4;
}
section .image:has(.layers) .layers img.transition-slide-up {
  top: 10%;
  opacity: 0;
}
section .image:has(.layers) .layers img.transition-slide-down {
  top: -10%;
  opacity: 0;
}
section .image:has(.layers) .layers img.transition-rotate-left {
  transform: rotate(45deg);
  opacity: 0;
}
section .image:has(.layers) .layers img.transition-rotate-right {
  transform: rotate(-45deg);
  opacity: 0;
}

section.scrolled-to .image .layers img {
  top: 0 !important;
  left: 0 !important;
  right: unset !important;
  bottom: unset !important;
  transform: scale(1) rotate(0deg) !important;
  opacity: 1 !important;
}

/*

Section defaults > div with class tracking

*/
section:has(.tracking) .tracking {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: var(--primary-dark);
  position: relative;
  margin-top: 50px;
  margin-left: calc(50% - 15px);
  margin-bottom: 60px;
}
section:has(.tracking) .tracking:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s;
  background-color: rgba(var(--primary-dark-rgb), 0.25);
  border-radius: 100%;
}
section:has(.tracking) .tracking:after {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 40px;
  border-left: 2px dashed var(--black);
  height: 0;
  transition: all 0.5s;
}
section:has(.tracking).scrolled-to .tracking:before {
  animation: trackingBall 1.5s forwards;
}
section:has(.tracking).scrolled-to .tracking:after {
  animation: trackingLine 2s forwards;
}

@keyframes trackingBall {
  0%, 66% {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  100% {
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
  }
}
@keyframes trackingLine {
  0%, 75% {
    height: 0;
  }
  100% {
    height: 100px;
  }
}
/*

Subheading

*/
.subheading {
  font-weight: 300;
  font-size: 0.9em;
  margin-bottom: 20px;
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.2);
  padding: 4px 12px 2px;
  border-radius: 5px;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  text-transform: uppercase;
}

section[options~=dark-mode] .subheading {
  color: var(--white);
}
section[options~=dark-mode] .subheading:before {
  background-image: url("/wp-content/uploads/2024/04/icon-rv.png");
}

/*

Ghosted Text

*/
.ghosted-text {
  font-size: 10em;
  font-weight: 900;
  line-height: 0.7em;
  text-transform: uppercase;
  color: var(--white);
  position: absolute;
  text-shadow: 1px 0px 3px rgba(255, 255, 255, 0.9), -2px -1px 2px rgba(0, 0, 0, 0.3);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin: 0;
}

/*

Modal

*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(var(--black-rgb), 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
}
.modal svg.close {
  position: absolute;
  top: 0;
  right: 5px;
  padding: 10px;
  width: 40px;
  height: auto;
  cursor: pointer;
}
.modal svg.close path {
  fill: var(--white);
}
.modal .container {
  background-color: rgba(var(--black-rgb), 0.9);
  color: var(--white);
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal.active {
  visibility: visible;
  opacity: 1;
}

/*

Modal > Image Zoom

*/
.modal-image-zoom .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--white);
  border: 1px solid var(--black);
  opacity: 0.5;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.1s;
}
.modal-image-zoom .arrow svg {
  width: 25px;
}
.modal-image-zoom .arrow.prev {
  left: 20px;
}
.modal-image-zoom .arrow.next {
  right: 20px;
}
.modal-image-zoom .arrow:hover {
  opacity: 1;
}
.modal-image-zoom img {
  transition: all 0.5s;
}
.modal-image-zoom .counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 0.9em;
  color: var(--white);
}

/*

Modal > Search

*/
.modal[modal=search] .container {
  background-color: unset;
  text-align: center;
}
.modal[modal=search] .container form label {
  display: block;
}
.modal[modal=search] .container form label input {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: unset;
  border: 0;
  padding: 15px 20px;
  font-size: 20px;
  width: 300px;
}
.modal[modal=search] .container form input.search-submit {
  background-image: linear-gradient(to bottom, var(--primary) 20%, var(--primary-light));
  padding: 15px 20px;
  border-radius: 25px;
  border: 0;
  color: var(--white);
  min-width: 175px;
  font-size: 20px;
  margin-top: 20px;
}
.modal[modal=search] .container form input.search-submit:hover {
  background-image: linear-gradient(to bottom, var(--primary), var(--primary));
}

/*

Cookie Consent

*/
.cookie-consent {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 200;
  background-color: rgba(var(--black-rgb), 0.95);
  backdrop-filter: blur(10px);
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.5s;
}
.cookie-consent.active {
  transform: translateY(0);
}
.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 20px;
}
.cookie-consent .message {
  font-size: 0.9em;
}
.cookie-consent .message p:last-child {
  margin-bottom: 0;
}
.cookie-consent .message a {
  color: var(--white);
  text-decoration: underline;
}
.cookie-consent .cookie-accept {
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-consent svg.close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: auto;
  padding: 8px;
  cursor: pointer;
}
.cookie-consent svg.close path {
  fill: var(--white);
}
@media (max-width: 750px) {
  .cookie-consent .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 20px 25px;
  }
  .cookie-consent .cookie-accept {
    width: 100%;
  }
}

/*

Site loading

*/
.site-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background-color: var(--white);
  transition: all 0.5s;
}
.site-loading img {
  width: 200px;
  animation: scaleIcon 5s infinite linear;
}
.site-loading.hidden {
  visibility: hidden;
  opacity: 0;
}

@keyframes scaleIcon {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.5);
  }
}