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

Colors

*/
:root {
  --primary: #B40005;
  --primary-rgb: 180, 0, 5;
  --secondary: #C79A3D;
  --secondary-rgb: 199, 154, 61;
  --secondary-light: #E9DEA6;
  --secondary-light-rgb: 233, 222, 166;
  --black: #0c0922;
  --black-rgb: 12, 9, 34;
  --white: #fff;
  --gray: #707b7b;
  --gray-rgb: 112, 123, 123;
  --gray-light: #f2f2f2;
  --breakpoint-large: 1100px;
  --breakpoint-medium-large: 950px;
  --breakpoint-medium: 820px;
  --breakpoint-medium-small: 750px;
  --breakpoint-small: 600px;
  --background-gradient-primary: linear-gradient(130deg, rgba(var(--primary-rgb), .25) 50%, rgba(var(--secondary-rgb), .25));
  --background-gradient-secondary: linear-gradient(130deg, rgba(var(--secondary-rgb), .25) 50%, rgba(var(--primary-rgb), .25));
}

/*

Fonts

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  font-family: "PT Serif", serif;
}

h1 {
  font-size: 3.5em;
}

h2 {
  font-size: 3em;
}

h3 {
  font-size: 2.5em;
}

h4 {
  font-size: 2em;
}

h5 {
  font-size: 1.6em;
}

h6 {
  font-size: 1.2em;
}

@media (max-width: 650px) {
  h1 {
    font-size: 2.8em;
  }
  h2 {
    font-size: 2.8em;
  }
  h3 {
    font-size: 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;
}

/*

Global - Container

*/
.container {
  width: 95%;
  max-width: 1200px;
  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: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 10;
  transition: all 0.5s;
  background-color: var(--primary);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s;
}
header .container a.logo {
  text-decoration: none;
  color: var(--secondary-light);
  display: flex;
  align-items: center;
  font-family: "PT Serif", serif;
  font-weight: 700;
  width: 420px;
  transition: all 0.5s;
}
header .container a.logo img {
  display: block;
  width: 60px;
  transition: all 0.5s;
}
header .container a.logo p {
  font-size: 1.4em;
  text-shadow: 0 1px 1px var(--black);
  margin: 0 0 0 15px;
}
header .container a.logo p span {
  display: block;
  font-weight: 400;
  font-size: 0.7em;
  border-top: 1px solid;
  margin-top: 5px;
  padding-top: 5px;
}
header .container nav {
  height: 74px;
  margin: -10px 0;
  display: flex;
  align-items: center;
  width: calc(100% - 450px);
}
header .container nav ul {
  display: flex;
  justify-content: center;
  align-items: stretch;
  grid-gap: 25px;
  list-style: none;
  margin: 0;
  width: 100%;
  padding-top: 5px;
}
header .container nav ul li {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}
header .container nav ul li a {
  font-weight: 500;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  font-size: 0.8em;
  transition: all 0.1s;
  letter-spacing: 0.5px;
  color: var(--secondary-light);
  text-transform: uppercase;
  height: 100%;
  padding: 8px 0;
  padding-bottom: 15px;
}
header .container nav ul li a img {
  max-width: 60px;
  max-height: 60px;
  display: block;
  margin: 0 auto 5px;
  transition: all 0.5s, filter 0s;
}
header .container nav ul li a span {
  height: -moz-max-content;
  height: max-content;
}
header .container nav ul li a svg {
  display: none;
}
header .container nav ul li a.active {
  color: var(--white);
}
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 ul li:hover a {
  color: var(--white);
}
header .container nav ul li:hover a img {
  filter: brightness(0) invert(100);
}

body.mobile-nav-open header:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 98;
}

@media (max-width: 1250px) {
  header .container nav ul li a img {
    max-width: 50px;
    max-height: 50px;
  }
}
@media (max-width: 600px) {
  header .container a.logo {
    width: 300px;
  }
  header .container a.logo p span {
    display: none;
  }
}
/*

Header > Ribbon

*/
header .ribbon {
  background-color: var(--primary);
  position: relative;
  color: var(--white);
  transition: all 0.5s;
  font-weight: 300;
}
header .ribbon:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}
header .ribbon .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  padding: 12px 0;
}
header .ribbon .container a {
  font-weight: 400;
  text-decoration: underline;
  color: var(--white);
}
header .ribbon .container *:last-child {
  margin-bottom: 0;
}
header .ribbon .container .links {
  display: flex;
  align-items: center;
  grid-gap: 20px;
}
header .ribbon .container .links a {
  text-decoration: none;
  display: flex;
  align-items: center;
}
header .ribbon .container .links a svg {
  height: 16px;
  margin-right: 5px;
}
header .ribbon .container .links a svg path {
  fill: var(--white);
}
header .ribbon .container .links a:hover {
  text-decoration: underline;
}

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

Header > Nav Items with Sub Menus

*/
header .container nav ul li:has(.nav-level-2) > a svg {
  margin: 0 0 2px 5px;
  width: 10px;
  transition: all 0.2s;
}
header .container nav ul li:has(.nav-level-2) > a svg path {
  fill: var(--white);
}
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);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.5);
  width: -moz-max-content;
  width: max-content;
  transition: all 0.2s;
}
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;
}
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;
  padding: 20px 30px;
  transition: all 0.1s;
  width: 100%;
  color: var(--white);
  margin: 0;
  text-align: left;
}
header .container nav ul li:has(.nav-level-2) .nav-level-2 ul li a:hover {
  text-decoration: none;
  background-color: rgba(var(--primary-rgb), 1);
}

/*

Header - Button

*/
header .container button.mobile-menu-button {
  background: none;
  border: 0;
  padding: 0;
  display: none;
  z-index: 100;
  cursor: pointer;
}
header .container button.mobile-menu-button span {
  background-color: var(--secondary-light);
  height: 2px;
  width: 30px;
  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(3) {
  transform: rotate(0deg) translate(0px, 0px);
  transform-origin: 0px -2px;
}
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(-3px, -1px);
  width: 25px;
}
header .container button.mobile-menu-button.open span:nth-child(2) {
  opacity: 0;
}
header .container button.mobile-menu-button.open span:nth-child(3) {
  transform: rotate(-45deg) translate(-3px, 0px);
  width: 25px;
}

@media (max-width: 1100px) {
  header .container nav {
    display: none;
  }
  header .container button.mobile-menu-button {
    display: block;
  }
}
/*

Header - Scrolling

*/
header.scrolling {
  background-color: rgba(var(--primary-rgb), 0.5);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}
header.scrolling .container {
  padding: 8px 0;
}
header.scrolling .container a.logo {
  font-size: 0.8em;
}
header.scrolling .container a.logo img {
  width: 40px;
}
header.scrolling .container nav ul li a img {
  max-width: 30px;
  max-height: 30px;
}
header.scrolling .ribbon .container {
  padding: 12px 0;
}

/*

Header - Mobile nav

*/
header .mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100%;
  margin-right: -100%;
  transition: all 0.5s;
  padding: 100px 0;
  overflow: hidden;
  height: 100vh;
  z-index: 99;
}
header .mobile-menu.open {
  margin-right: 0;
}
header .mobile-menu:before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 10px;
  height: 500vh;
}
header .mobile-menu .container {
  display: block;
  height: 100%;
  overflow-y: auto;
  width: 100%;
  padding: 50px;
  border-bottom: 0;
}
header .mobile-menu .container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
header .mobile-menu .container ul li {
  margin-bottom: 30px;
  position: relative;
}
header .mobile-menu .container ul li a {
  color: var(--white);
  font-size: 1.3em;
  font-weight: 500;
}
header .mobile-menu .container ul li a.button {
  text-decoration: none;
  font-size: 1.1em;
}
header .mobile-menu .container ul li a.search {
  display: flex;
  align-items: center;
}
header .mobile-menu .container ul li a.search svg {
  display: block;
  width: 24px;
  margin-right: 10px;
}
header .mobile-menu .container ul li a.search svg path {
  fill: var(--white);
}
header .mobile-menu .container ul li svg {
  display: none;
}
header .mobile-menu .container ul li .nav-level-2 {
  visibility: visible;
  opacity: 1;
  position: relative;
  font-size: 0.8em;
}
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 > First child not hero or hero_for_locations

*/
body:not(:has(.sections > .section-hero:first-child, .sections > .section-hero_for_locations:first-child)) header {
  background-color: var(--primary);
}

/*

Footer

*/
footer {
  padding: 200px 0 50px;
  position: relative;
  background-color: var(--primary);
  margin-top: 150px;
}
footer img.graphic {
  width: auto;
  height: 250px;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
}
footer .container {
  text-align: center;
  color: var(--secondary-light);
}
footer .container .text h6 {
  font-size: 2em;
  margin: 0 0 20px;
}
footer .container .text a {
  color: var(--secondary-light);
  display: block;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto 20px;
  font-weight: 400;
}
footer .container .text a:hover {
  text-transform: underline;
}
footer .container .nav a {
  color: var(--white);
  margin: 0 15px;
  font-weight: 400;
}
footer .container .legal {
  font-size: 0.8em;
  border-top: 1px solid rgba(var(--secondary-light-rgb), 0.25);
  padding-top: 25px;
  margin-top: 25px;
  position: relative;
}
footer .container .legal p.back-to-top {
  position: absolute;
  top: 10px;
  right: 0;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}
footer .container .legal p.back-to-top svg {
  width: 20px;
}
footer .container .legal p.back-to-top svg path {
  fill: var(--white);
}
footer .container .legal p.back-to-top:hover {
  background-color: rgba(0, 0, 0, 0.25);
}

@media (max-width: 500px) {
  footer {
    padding-top: 115px;
  }
  footer img.graphic {
    height: 175px;
    top: -80px;
  }
}
/*

Button

*/
.button {
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 0.9em;
  position: relative;
  color: var(--black);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  grid-gap: 10px;
  align-items: center;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.button svg {
  width: 12px;
  position: relative;
}
.button svg path {
  fill: var(--white);
}
.button span {
  position: relative;
}
.button:before {
  content: "";
  position: absolute;
  top: 0;
  right: 105%;
  width: 100%;
  bottom: 0;
  transition: all 0.5s;
  background-color: rgba(0, 0, 0, 0.2);
}
.button:hover {
  text-decoration: none;
  transform: scale(1.05);
}

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

/*

Button - Variations

*/
.button.primary {
  color: #fff;
  background-color: var(--primary);
  box-shadow: 0 10px 50px rgba(var(--primary-rgb), 0.4);
  border-color: var(--primary);
}
.button.primary:hover {
  box-shadow: 0 15px 70px rgba(var(--primary-rgb), 0.6);
}

.button.secondary {
  color: #fff;
  background-color: var(--secondary);
  box-shadow: 0 10px 50px rgba(var(--secondary-rgb), 0.4);
  border-color: var(--secondary);
}
.button.secondary:hover {
  box-shadow: 0 15px 70px rgba(var(--secondary-rgb), 0.6);
}

.button.white {
  color: var(--black);
  background-color: var(--white);
  box-shadow: 0 10px 50px rgba(var(--secondary-rgb), 0.4);
  border-color: var(--secondary);
}
.button.white:hover {
  box-shadow: 0 15px 70px rgba(var(--secondary-rgb), 0.6);
}

.button.black {
  color: var(--white);
  background-color: var(--black);
  box-shadow: 0 10px 50px rgba(var(--secondary-rgb), 0.4);
  border-color: var(--secondary);
}
.button.black:hover {
  box-shadow: 0 15px 70px rgba(var(--secondary-rgb), 0.6);
}

.button.outline {
  border-color: var(--black);
}
.button.outline svg path {
  fill: var(--black);
}

.button.plain-text {
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.1s;
}
.button.plain-text:before {
  display: none;
}
.button.plain-text:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  transform: unset;
}

/*

Buttons container

*/
.buttons {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  grid-gap: 10px;
}

/*

Utils

*/
.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);
}

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

.large-text {
  font-size: 1.3em;
}

/*

Section defaults

*/
section:first-child {
  margin-top: 104px;
}
section .container iframe {
  max-width: 100%;
}
section h1, section h2 {
  margin: 0 0 0.5em;
  line-height: 1.2em;
  font-weight: 500;
}
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 span.primary, section h2 span.primary {
  color: var(--primary);
}
section .description {
  font-size: 1em;
  line-height: 2em;
}
section strong, section b {
  font-weight: 600;
}
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 .border-bottom {
  width: 95%;
  max-width: 1000px;
  margin: 75px auto 0;
  border-top: 1px solid var(--gray);
}

body:has(header .ribbon) section:first-child {
  margin-top: 146px;
}

@media (max-width: 1100px) {
  body:has(header .ribbon) section:first-child {
    margin-top: 104px;
  }
}
@media (max-width: 750px) {
  body:has(header .ribbon) section:first-child {
    margin-top: 158px;
  }
}
/*

Section defaults > Image layers

*/
section .image:has(.layers) .layers {
  position: relative;
  width: 100%;
}
section .image:has(.layers) .layers img {
  display: block;
  max-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:nth-child(5) {
  z-index: 4;
}
section .image:has(.layers) .layers img:nth-child(4) {
  z-index: 3;
}
section .image:has(.layers) .layers img:nth-child(3) {
  z-index: 2;
}
section .image:has(.layers) .layers img:nth-child(2) {
  z-index: 1;
}
section .image:has(.layers) .layers img:nth-child(1) {
  z-index: 0;
}
section .image:has(.layers) .layers img.transition-slide-up {
  top: 20%;
  opacity: 0;
}
section .image:has(.layers) .layers img.transition-slide-down {
  top: -20%;
  opacity: 0;
}
section .image:has(.layers) .layers img.transition-slide-left {
  left: -20%;
  opacity: 0;
}
section .image:has(.layers) .layers img.transition-slide-right {
  left: 20%;
  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;
  }
}
/*

Form

*/
.gform_wrapper {
  margin-top: 40px;
}
.gform_wrapper .gform_heading {
  display: none;
}
.gform_wrapper .gform_fields {
  grid-row-gap: 10px !important;
  grid-column-gap: 10px !important;
}
.gform_wrapper .gform_fields .ginput_complex {
  grid-column-gap: 6px;
}
.gform_wrapper .gform_fields .gfield {
  margin-bottom: 6px;
}
.gform_wrapper .gform_fields .gfield legend {
  font-size: 0.7em;
  margin-bottom: 4px;
}
.gform_wrapper .gform_fields .gfield label {
  font-size: 0.7em;
  margin-bottom: 4px;
}
.gform_wrapper .gform_fields .gfield label span.gfield_required {
  color: red;
}
.gform_wrapper .gform_fields .gfield .gform-theme--foundation .gform-grid-row {
  grid-gap: 6px;
}
.gform_wrapper .gform_fields .gfield input, .gform_wrapper .gform_fields .gfield textarea, .gform_wrapper .gform_fields .gfield select {
  background-color: #f2f2f2;
  padding: 2px 20px;
  border-radius: 8px;
  box-shadow: unset;
  border: 0;
  height: unset;
  font-size: 0.8em;
}
.gform_wrapper .gform_fields .gfield input:is(select), .gform_wrapper .gform_fields .gfield textarea:is(select), .gform_wrapper .gform_fields .gfield select:is(select) {
  height: 44px;
}
.gform_wrapper .gform_fields .gfield input::-moz-placeholder, .gform_wrapper .gform_fields .gfield textarea::-moz-placeholder, .gform_wrapper .gform_fields .gfield select::-moz-placeholder {
  color: var(--very-dark-gray);
}
.gform_wrapper .gform_fields .gfield input::placeholder, .gform_wrapper .gform_fields .gfield textarea::placeholder, .gform_wrapper .gform_fields .gfield select::placeholder {
  color: var(--very-dark-gray);
}
.gform_wrapper .gform_fields .gfield input.datepicker {
  width: 100%;
}
.gform_wrapper .gform_fields .gfield .gfield_time_hour {
  flex: 1;
}
.gform_wrapper .gform_fields .gfield select {
  height: 46px;
  padding: 3px 12px;
}
.gform_wrapper .gform_fields .gfield textarea {
  height: 150px;
  padding-top: 20px;
  min-block-size: unset !important;
}
.gform_wrapper .gform_fields .gfield span.gfield_required {
  text-transform: lowercase;
  color: var(--black);
  font-style: italic;
  font-size: 10px;
}
.gform_wrapper .gform_fields .gfield .ginput_complex label {
  margin: 2px 0 0;
}
.gform_wrapper :is(#field_submit, .gform_footer) {
  justify-content: center;
  margin-top: 15px;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  position: relative;
  border-radius: 50px;
  background-color: var(--primary);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}
.gform_wrapper :is(#field_submit, .gform_footer) .button {
  width: 100%;
  color: var(--white);
  padding: 18px 70px 18px 50px;
  border: 0;
  position: relative;
  background: none;
  text-align: left;
  font-weight: 400;
}
.gform_wrapper :is(#field_submit, .gform_footer):hover {
  text-decoration: none;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.6);
}
.gform_wrapper :is(#field_submit, .gform_footer):hover .button {
  transform: scale(1);
}
.gform_wrapper form.arrow-icon :is(#field_submit, .gform_footer):before {
  content: "";
  background-image: url("/wp-content/uploads/2025/05/arrow-icon.png");
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 50px;
  width: 10px;
  height: 10px;
  background-size: contain;
}

/*

Subheading

*/
.subheading {
  position: relative;
  color: var(--secondary);
  text-transform: uppercase;
  background-color: rgba(var(--secondary-rgb), 0.2);
  padding: 5px 22px 4px;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto 20px;
  font-size: 0.8em;
  letter-spacing: 1px;
  border-radius: 25px;
  font-weight: 600;
}

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.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  z-index: 10;
}
.modal .container {
  background-color: rgba(var(--black-rgb), 0.9);
  color: var(--white);
  max-width: 600px;
  max-height: 90vh;
}
.modal.active {
  visibility: visible;
  opacity: 1;
}

/*

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));
}

/*

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(--black);
  transition: all 0.5s;
}
.site-loading img {
  width: 100px;
  animation: enlargeIcon 5s infinite linear;
}
.site-loading.hidden {
  visibility: hidden;
  opacity: 0;
}

@keyframes enlargeIcon {
  to {
    transform: scale(1.1);
  }
}
/*

Page 404

*/
.page-404 {
  width: 100%;
  max-width: 600px;
  margin: 12rem auto 5rem;
  text-align: center;
}
.page-404 .mega {
  font-size: 10em;
  margin: 0;
}
.page-404 h1 {
  font-size: 2.5em;
}