@font-face {
    font-family: 'Gilda Display';
    src: url('../assets/fonts/GildaDisplay-Regular.eot');
    src: url('../assets/fonts/GildaDisplay-Regular.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/GildaDisplay-Regular.woff2') format('woff2'),
        url('../assets/fonts/GildaDisplay-Regular.woff') format('woff'),
        url('../assets/fonts/GildaDisplay-Regular.ttf') format('truetype'),
        url('../assets/fonts/GildaDisplay-Regular.svg#GildaDisplay-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit Black';
    src: url('../assets/fonts/Outfit-Black.eot');
    src: url('../assets/fonts/Outfit-Black.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/Outfit-Black.woff2') format('woff2'),
        url('../assets/fonts/Outfit-Black.woff') format('woff'),
        url('../assets/fonts/Outfit-Black.ttf') format('truetype'),
        url('../assets/fonts/Outfit-Black.svg#Outfit-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit Bold';
    src: url('../assets/fonts/Outfit-Bold.eot');
    src: url('../assets/fonts/Outfit-Bold.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/Outfit-Bold.woff2') format('woff2'),
        url('../assets/fonts/Outfit-Bold.woff') format('woff'),
        url('../assets/fonts/Outfit-Bold.ttf') format('truetype'),
        url('../assets/fonts/Outfit-Bold.svg#Outfit-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit Extra Bold';
    src: url('../assets/fonts/Outfit-ExtraBold.eot');
    src: url('../assets/fonts/Outfit-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/Outfit-ExtraBold.woff2') format('woff2'),
        url('../assets/fonts/Outfit-ExtraBold.woff') format('woff'),
        url('../assets/fonts/Outfit-ExtraBold.ttf') format('truetype'),
        url('../assets/fonts/Outfit-ExtraBold.svg#Outfit-ExtraBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit Extra Light';
    src: url('../assets/fonts/Outfit-ExtraLight.eot');
    src: url('../assets/fonts/Outfit-ExtraLight.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/Outfit-ExtraLight.woff2') format('woff2'),
        url('../assets/fonts/Outfit-ExtraLight.woff') format('woff'),
        url('../assets/fonts/Outfit-ExtraLight.ttf') format('truetype'),
        url('../assets/fonts/Outfit-ExtraLight.svg#Outfit-ExtraLight') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit Light';
    src: url('../assets/fonts/Outfit-Light.eot');
    src: url('../assets/fonts/Outfit-Light.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/Outfit-Light.woff2') format('woff2'),
        url('../assets/fonts/Outfit-Light.woff') format('woff'),
        url('../assets/fonts/Outfit-Light.ttf') format('truetype'),
        url('../assets/fonts/Outfit-Light.svg#Outfit-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit Medium';
    src: url('../assets/fonts/Outfit-Medium.eot');
    src: url('../assets/fonts/Outfit-Medium.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/Outfit-Medium.woff2') format('woff2'),
        url('../assets/fonts/Outfit-Medium.woff') format('woff'),
        url('../assets/fonts/Outfit-Medium.ttf') format('truetype'),
        url('../assets/fonts/Outfit-Medium.svg#Outfit-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../assets/fonts/Outfit-Regular.eot');
    src: url('../assets/fonts/Outfit-Regular.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/Outfit-Regular.woff2') format('woff2'),
        url('../assets/fonts/Outfit-Regular.woff') format('woff'),
        url('../assets/fonts/Outfit-Regular.ttf') format('truetype'),
        url('../assets/fonts/Outfit-Regular.svg#Outfit-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit Semi Bold';
    src: url('../assets/fonts/Outfit-SemiBold.eot');
    src: url('../assets/fonts/Outfit-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/Outfit-SemiBold.woff2') format('woff2'),
        url('../assets/fonts/Outfit-SemiBold.woff') format('woff'),
        url('../assets/fonts/Outfit-SemiBold.ttf') format('truetype'),
        url('../assets/fonts/Outfit-SemiBold.svg#Outfit-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit Thin';
    src: url('../assets/fonts/Outfit-Thin.eot');
    src: url('../assets/fonts/Outfit-Thin.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/Outfit-Thin.woff2') format('woff2'),
        url('../assets/fonts/Outfit-Thin.woff') format('woff'),
        url('../assets/fonts/Outfit-Thin.ttf') format('truetype'),
        url('../assets/fonts/Outfit-Thin.svg#Outfit-Thin') format('svg');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

.font-GildaDisplay{
  font-family: 'Gilda Display';
}
.font-Outfit{
  font-family: 'Outfit';
}
.font-OutfitBold{
  font-family: 'Outfit Bold';
}

html {
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden !important;
}

body {
  font-family: 'Nunito Sans Light';
}

input{
  font-family: Nunito Sans Light;
  color: black;
  border-color: black; 
}

input:focus,
select:focus,
input:focus-visible,
select:focus-visible {
  box-shadow: none !important;
  border-color: #BB8749 !important;
  outline: 0;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #000000 !important;
  font-family: "Nunito Sans Light";
}

.input:focus {
  outline: 1px solid var(--line-active);
}

.input[type="submit"] {
  cursor: pointer;
}

.label {
  background-color: var(--bg);
  justify-self: start;
  transition-property: transform, padding, font-size;
  transition-duration: 0.3s;
  margin: 0 1rem;
  pointer-events: none;
}

.label,
.input {
  grid-column-start: 1;
  grid-row-start: 1;
}

.input:focus ~ .label,
.input:not(:placeholder-shown) ~ .label {
  transform: translateY(-124%);
  font-size: 0.8rem;
  padding-left: 0.2rem;
  padding-right: 0.2rem;
}

/*----------------
   Navigation
------------------*/

@media (min-width: 1024px) {
  .aviera-nav__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: #fff4de;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .aviera-nav__link:hover,
  .aviera-nav__link:focus-visible {
    color: #fff4de;
  }

  .aviera-nav__link:hover::after,
  .aviera-nav__link:focus-visible::after {
    transform: scaleX(1);
  }

}

.aviera-action-arrow {
  --arrow-color: #842620;
  --arrow-border: rgba(132, 38, 32, 0.45);
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 36px;
  height: 24px;
}

.aviera-action-arrow--light {
  --arrow-color: #ffffff;
  --arrow-border: rgba(255, 255, 255, 0.5);
}

.aviera-action-arrow--burgundy {
  --arrow-color: #842620;
  --arrow-border: rgba(132, 38, 32, 0.45);
}

.aviera-action-arrow__circle {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--arrow-border);
  border-radius: 999px;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.aviera-action-arrow__shaft {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 29px;
  height: 1px;
  background: var(--arrow-color);
  transform: translateY(-50%) scaleX(1);
  transform-origin: right center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.aviera-action-arrow__head {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--arrow-color);
  border-right: 1px solid var(--arrow-color);
  opacity: 1;
  transform: translateY(-50%) translateX(0) rotate(45deg);
  transition: opacity 0.25s ease 0.05s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.aviera-arrow-trigger:hover .aviera-action-arrow__circle,
.aviera-arrow-trigger:focus-visible .aviera-action-arrow__circle {
  border-color: var(--arrow-color);
  transform: scale(1.06);
}

.aviera-arrow-trigger:hover .aviera-action-arrow__shaft,
.aviera-arrow-trigger:focus-visible .aviera-action-arrow__shaft {
  animation: aviera-arrow-shaft-loop 0.72s cubic-bezier(0.45, 0, 0.2, 1) both;
}

.aviera-arrow-trigger:hover .aviera-action-arrow__head,
.aviera-arrow-trigger:focus-visible .aviera-action-arrow__head {
  animation: aviera-arrow-head-loop 0.72s cubic-bezier(0.45, 0, 0.2, 1) both;
}

.aviera-icon-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.aviera-social-link,
.aviera-map-link {
  box-shadow: inset 0 0 0 1px #ffffff;
}

.aviera-icon-link img {
  transition: filter 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.aviera-icon-link:hover,
.aviera-icon-link:focus-visible {
  background: #ffffff;
  outline: none;
  transform: translateY(-2px);
}

.aviera-icon-link:hover img,
.aviera-icon-link:focus-visible img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(38%) saturate(2545%) hue-rotate(338deg) brightness(91%) contrast(90%);
  transform: scale(0.94);
}

@keyframes aviera-arrow-shaft-loop {
  0% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scaleX(1);
  }

  38% {
    opacity: 0;
    transform: translateY(-50%) translateX(12px) scaleX(0.82);
  }

  39% {
    opacity: 0;
    transform: translateY(-50%) translateX(-12px) scaleX(0.82);
  }

  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scaleX(1);
  }
}

@keyframes aviera-arrow-head-loop {
  0% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) rotate(45deg);
  }

  38% {
    opacity: 0;
    transform: translateY(-50%) translateX(12px) rotate(45deg);
  }

  39% {
    opacity: 0;
    transform: translateY(-50%) translateX(-12px) rotate(45deg);
  }

  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) rotate(45deg);
  }
}

nav {
  z-index: 99;
}

body.menu-active {
  overflow: hidden;
}

.aviera-nav__toggle {
  margin-left: auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 80;
} 

.hamburger-box {
  position: relative;
  width: 32px;
  height: 22px;
  display: inline-block;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  position: absolute;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: #d0a15b;
  transition:
    transform 0.28s ease,
    opacity 0.2s ease,
    top 0.28s ease,
    left 0.28s ease,
    width 0.28s ease,
    background-color 0.2s ease;
}

.hamburger-inner {
  width: 18px;
  top: 10px;
  display: block;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  width: 32px;
}

.hamburger-inner::before {
  top: -9px;
}

.hamburger-inner::after {
  top: 9px;
}

.hamburger--spin.is-active .hamburger-inner {
  background: transparent;
}

.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  right: 0;
  transform: rotate(45deg);
}

.hamburger--spin.is-active .hamburger-inner::after {
  top: 0;
  right: 0;
  transform: rotate(-45deg);
}

.register-btn::before,
.register-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;  height: 100%;
  border-radius: inherit;
  background: inherit;
  z-index: -1;                   /* send it behind the button */
  pointer-events: none;
}
.register-btn::before {
  filter: blur(8px);             /* softer “inner” glow */
  opacity: 0.7;
}
.register-btn::after {
  filter: blur(20px);            /* larger, softer halo */
  opacity: 0.4;
}
/* 
/* Optional: animate on hover */
.register-btn:hover {
  transform: scale(1.05);
}
.register-btn:hover::before {
  filter: blur(12px);
  opacity: 0.9;
}
.register-btn:hover::after {
  filter: blur(30px);
  opacity: 0.6;
}

.register-btn:hover{
	background-color: #fff;
	color: #254E72;
}

.nav-link::after, .mobile-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .mobile-link:hover::after {
  width: 100%;
}

.navi-menu-wrapper.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navi-menu-wrapper.is-active .menu {
  transform: translateX(0);
}

.navi-menu-wrapper.is-active .menu ul li {
  opacity: 1;
  margin-left: 0%;
}

.navi-menu-wrapper .menu ul li:nth-of-type(1) {
  transition-delay: 0.1s;
}

.navi-menu-wrapper .menu ul li:nth-of-type(2) {
  transition-delay: 0.2s;
}

@media only screen and (max-width: 960px) {
  .aviera-nav__toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    display: block !important;
    width: 34px;
    height: 34px;
    margin-left: 0;
    transform: translateY(-50%);
  }

  .hamburger-box {
    width: 25px;
    height: 18px;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
  }

  .hamburger-inner {
    top: 9px;
    width: 17px;
  }

  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 25px;
  }

  .hamburger-inner::before {
    top: -8px;
  }

  .hamburger-inner::after {
    top: 8px;
  }

}

.owl-carousel {
  margin: 0;
}

.owl-dots {
  text-align: center;
  padding-top: 15px;
}
.owl-dots button.owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #ccc;
  margin: 0 3px;
}
.owl-dots button.owl-dot.active {
  background-color: #4c624f;
}
.owl-dots button.owl-dot:focus {
  outline: none;
}
.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background: #fff !important; */
  color: #4c624f !important;
  width: 50px;
  height: 50px;
  border-radius: 100%;
}
.owl-dots button span {
  font-size: 70px;
  position: relative;
  top: -5px;
}
.owl-nav button:focus {
  outline: none;
}
.owl-nav button.owl-next {
  right: 0;
}
.owl-carousel button.owl-dot {
  opacity: 50%;
}
.owl-carousel button.owl-dot.active {
  background-color: white;
  opacity: 100%;
}

.owl-carousel.popup-slider .owl-dots {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.owl-carousel.popup-slider .owl-nav button.owl-next,
.owl-carousel.popup-slider .owl-nav button.owl-prev {
  width: 50px;
  height: 50px;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  border: none; /* Remove border from the button */
}
.owl-carousel.popup-slider .owl-nav button.owl-prev {
  left: 10px
}
.owl-carousel.popup-slider .owl-nav button.owl-next {
  right: 10px;
}

@-webkit-keyframes loader {
  0% {
    width: 0;
  }
  20% {
    width: 10%;
  }
  25% {
    width: 24%;
  }
  43% {
    width: 41%;
  }
  56% {
    width: 50%;
  }
  66% {
    width: 52%;
  }
  71% {
    width: 60%;
  }
  75% {
    width: 76%;
  }
  94% {
    width: 86%;
  }
  100% {
    width: 100%;
  }
}

@keyframes loader {
  0% {
    width: 0;
  }
  20% {
    width: 10%;
  }
  25% {
    width: 24%;
  }
  43% {
    width: 41%;
  }
  56% {
    width: 50%;
  }
  66% {
    width: 52%;
  }
  71% {
    width: 60%;
  }
  75% {
    width: 76%;
  }
  94% {
    width: 86%;
  }
  100% {
    width: 100%;
  }
}

.progress-bar {
  width: 95%;
  max-width: 95%;
  left: 50%;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  margin-top: 30px;
}
.progress {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
.bar {
  margin-top: 25px !important;
  margin-bottom: 0 !important;
}
.progress-bar {
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  padding: 0;
  display: none;
}
.progress-bar span {
  display: block;
}
.bar {
  background: 0 0;
}
.progress {
  -webkit-animation: loader 8s ease infinite;
  animation: loader 8s ease infinite;
  background: #7A2721;
  color: #fff;
  padding: 5px;
  width: 0;
  margin-top: 25px;
  margin-bottom: 25px;
}
.progress-bar {
  position: relative;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  background-color: transparent;
}

/* Intl country-code selector disabled.
.iti {
  width: 100% !important;
}

.iti__selected-flag {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding-left: 10px !important;
}

.iti__country-list {
  z-index: 9999 !important;
  position: absolute !important;
  left: 0 !important;
  top: 100% !important;
  width: auto !important;
  background: white !important;
  border: 1px solid #ccc !important;
  border-radius: 5px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.iti--allow-dropdown input {
  padding-left: 3.5rem !important;
}
.iti__search-input {
  display: none;
}
*/

.checkbox-wrapper-23 *,
.checkbox-wrapper-23 *:after,
.checkbox-wrapper-23 *:before {
  box-sizing: border-box;
}

.checkbox-wrapper-23 input {
  position: absolute;
  opacity: 0;
}

.checkbox-wrapper-23 input:checked + label svg path {
  stroke-dashoffset: 0;
}

.checkbox-wrapper-23 input:focus + label {
  transform: scale(1.03);
}

.checkbox-wrapper-23 input + label {
  display: block;
  border: 2px solid;
  border-color: #7A2721;
  width: var(--size);
  height: var(--size);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-wrapper-23 input + label:active {
  transform: scale(1.05);
  border-radius: 12px;
}

.checkbox-wrapper-23 input + label svg {
  pointer-events: none;
  padding: 5%;
}

.checkbox-wrapper-23 input + label svg path {
  fill: none;
  stroke: #7A2721;
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 101;
  transition: all 250ms cubic-bezier(1, 0, 0.37, 0.91);
}

.tab-btn {
  transition: color 0.3s ease;
}

.tab-btn.active {
  color: white;
  font-family: "Sofia Pro";
}

.project-card {
  height: 630px;
}

.rotate-image {
  transform: rotate(-25deg);
}

/* popup modal general layout */
#popup-modal {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* make Owl act like a slider, not stacked blocks */
.popup-slider.owl-carousel .owl-stage-outer {
  overflow: hidden;
}

.popup-slider.owl-carousel .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* limit slide image height */
.popup-slider .item img {
  max-height: 90vh;   /* fit within screen */
  width: auto;        /* keep aspect ratio */
  object-fit: contain;
}

/* optional: modal content should not exceed viewport */
#popup-modal .relative.bg-white {
  max-height: 95vh;
  overflow: hidden;
}

.interior-modal {
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(34, 32, 30, 0.92);
}

.interior-modal__dialog {
  width: 100%;
  max-width: 1460px;
  max-height: calc(100vh - 48px);
}

.interior-modal__panel {
  width: 100%;
}

.interior-slide {
  overflow: hidden;
  background: transparent;
}

.interior-slide__image {
  width: 100%;
  height: min(68vh, 760px);
  object-fit: contain;
  object-position: center;
}

.owl-carousel.interior-modal-slider .owl-stage-outer {
  overflow: hidden;
}

.owl-carousel.interior-modal-slider .owl-dots {
  margin-top: 18px;
  text-align: center;
}

.owl-carousel.interior-modal-slider .owl-dots button.owl-dot {
  width: 12px;
  height: 12px;
  border: 1px solid #c79f66;
  background: transparent;
  opacity: 1;
}

.owl-carousel.interior-modal-slider .owl-dots button.owl-dot.active {
  background: #c79f66;
}

.owl-carousel.interior-modal-slider .owl-nav {
  margin-top: 0;
}

.owl-carousel.interior-modal-slider .owl-nav button.owl-prev,
.owl-carousel.interior-modal-slider .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 126px;
  height: 126px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
}

.owl-carousel.interior-modal-slider .owl-nav button.owl-prev:hover,
.owl-carousel.interior-modal-slider .owl-nav button.owl-next:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-50%) scale(1.1);
}

.owl-carousel.interior-modal-slider .owl-nav button.owl-prev:hover .interior-modal-nav,
.owl-carousel.interior-modal-slider .owl-nav button.owl-next:hover .interior-modal-nav {
  color: #ffffff;
}

.owl-carousel.interior-modal-slider .owl-nav button.owl-prev {
  left: 24px;
}

.owl-carousel.interior-modal-slider .owl-nav button.owl-next {
  right: 24px;
}

.interior-modal-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  font-family: "Arial", sans-serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #ffffff;
}

@media only screen and (max-width: 640px) {
  .interior-modal__dialog {
    max-height: calc(100vh - 24px);
  }

  .interior-slide__image {
    height: 52vh;
  }

  .owl-carousel.interior-modal-slider .owl-nav button.owl-prev,
  .owl-carousel.interior-modal-slider .owl-nav button.owl-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 62px;
    height: 62px;
  }

  .owl-carousel.interior-modal-slider .owl-nav button.owl-prev {
    left: 8px;
  }

  .owl-carousel.interior-modal-slider .owl-nav button.owl-next {
    right: 8px;
  }

  .interior-modal-nav {
    font-size: 10px;
  }
}

.card-double-frame {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  --frame-color: rgba(183, 155, 112, 0.7);
  --frame-gap: 6px;
  --frame-stroke: 1px;
}

.card-double-frame__line {
  position: absolute;
  display: block;
  background: var(--frame-color);
}

.card-double-frame__line--outer-top {
  top: 0;
  left: var(--frame-gap);
  right: 0;
  height: var(--frame-stroke);
}

.card-double-frame__line--outer-left {
  top: var(--frame-gap);
  left: 0;
  bottom: 0;
  width: var(--frame-stroke);
}

.card-double-frame__line--outer-bottom {
  right: 0;
  bottom: 0;
  left: 0;
  right: var(--frame-gap);
  height: var(--frame-stroke);
}

.card-double-frame__line--outer-right {
  top: 0;
  right: 0;
  bottom: var(--frame-gap);
  width: var(--frame-stroke);
}

.card-double-frame__line--inner-top {
  top: var(--frame-gap);
  left: 0;
  right: var(--frame-gap);
  height: var(--frame-stroke);
}

.card-double-frame__line--inner-left {
  top: 0;
  left: var(--frame-gap);
  bottom: var(--frame-gap);
  width: var(--frame-stroke);
}

.card-double-frame__line--inner-bottom {
  right: 0;
  bottom: var(--frame-gap);
  left: var(--frame-gap);
  height: var(--frame-stroke);
}

.card-double-frame__line--inner-right {
  top: var(--frame-gap);
  right: var(--frame-gap);
  bottom: 0;
  width: var(--frame-stroke);
}

@media only screen and (max-width: 640px) {
  .card-double-frame {
    inset: 10px;
    --frame-gap: 5px;
  }
}

@media only screen and (max-width: 1023px) {
  .registration-mobile-accent__burgundy {
    top: 0;
    left: clamp(28px, 8.8vw, 36px);
    width: clamp(56px, 17vw, 72px);
    height: clamp(56px, 17vw, 72px);
  }

  .registration-mobile-accent__gold {
    top: clamp(56px, 17vw, 72px);
    left: 0;
    width: clamp(28px, 8.8vw, 36px);
    height: clamp(28px, 8.8vw, 36px);
  }

  #elevated .elevated-square--top-right {
    top: 13px;
    width: clamp(24px, 9.6vw, 72px);
    height: clamp(24px, 9.6vw, 72px);
  }

  #elevated .elevated-square--bottom-left {
    top: auto;
    bottom: 0;
    left: 0;
    width: clamp(32px, 12.8vw, 96px);
    height: clamp(32px, 12.8vw, 96px);
  }

  #elevated .elevated-square--gold {
    top: auto;
    bottom: clamp(32px, 12.8vw, 96px);
    left: clamp(32px, 12.8vw, 96px);
    width: clamp(24px, 9.6vw, 64px);
    height: clamp(24px, 9.6vw, 64px);
  }

  .elevated-extra-card {
    display: none !important;
  }

  .elevated-grid:not(.is-expanded) .elevated-extra-card {
    border-color: transparent !important;
  }

  .elevated-grid.is-expanded .elevated-extra-card {
    display: flex !important;
    min-height: 190px !important;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    border-color: rgba(140, 45, 39, 0.2);
    animation: elevated-card-reveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .elevated-grid.is-expanded .elevated-extra-card:nth-of-type(7),
  .elevated-grid.is-expanded .elevated-extra-card:nth-of-type(8) {
    animation-delay: 0.08s;
  }

}

@keyframes elevated-card-reveal {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero line choreography from the Aviera reveal. Layout stays in Tailwind. */
.hero-rule--vertical {
  animation: hero-rule-down 1.25s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both;
}

.hero-rule--horizontal-left,
.hero-rule--horizontal-right {
  animation: hero-rule-across 1.05s cubic-bezier(0.65, 0, 0.35, 1) 1.05s both;
}

.hero-rule--corner {
  animation: hero-rule-down 0.65s cubic-bezier(0.65, 0, 0.35, 1) 1.75s both;
}

.community-rule--vertical {
  transform: scaleY(0);
}

.community-rule--horizontal,
.community-rule--mobile-left,
.community-rule--mobile-right,
.community-rule--square-approach {
  transform: scaleX(0);
}

.community-lines.is-visible .community-rule--vertical {
  animation: hero-rule-down 1.25s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both;
}

.community-lines.is-visible .community-rule--horizontal {
  animation: hero-rule-across 1.05s cubic-bezier(0.65, 0, 0.35, 1) 1.05s both;
}

.community-lines.is-visible .community-rule--square-approach {
  animation: hero-rule-across 0.85s cubic-bezier(0.65, 0, 0.35, 1) 1.75s both;
}

@media (max-width: 639px) {
  #community .community-rule--mobile-right {
    top: auto;
    bottom: var(--community-mobile-content-height, 15.2%);
  }

  .community-lines.is-visible .community-rule--vertical {
    animation: hero-rule-down 1.15s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both;
  }

  .community-lines.is-visible .community-rule--mobile-left,
  .community-lines.is-visible .community-rule--mobile-right {
    animation: hero-rule-across 0.9s cubic-bezier(0.65, 0, 0.35, 1) 1.15s both;
  }
}

.elevated-rule--top-left,
.elevated-rule--bottom-right {
  transform: scaleX(0);
}

.elevated-rule--left-down,
.elevated-rule--right-up {
  transform: scaleY(0);
}

#elevated.is-visible .elevated-rule--top-left,
#elevated.is-visible .elevated-rule--bottom-right {
  animation: hero-rule-across 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

#elevated.is-visible .elevated-rule--left-down,
#elevated.is-visible .elevated-rule--right-up {
  animation: hero-rule-down 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.25s both;
}

.elevated-grid-rule--top,
.elevated-grid-rule--bottom,
.elevated-grid-rule--middle {
  transform: scaleX(0);
}

.elevated-grid-rule--right-top,
.elevated-grid-rule--left-bottom,
.elevated-grid-rule--vertical {
  transform: scaleY(0);
}

#elevated.is-visible .elevated-grid-rule--top,
#elevated.is-visible .elevated-grid-rule--bottom {
  animation: hero-rule-across 1.25s cubic-bezier(0.22, 1, 0.36, 1) 2.2s both;
}

#elevated.is-visible .elevated-grid-rule--right-top,
#elevated.is-visible .elevated-grid-rule--left-bottom {
  animation: hero-rule-down 0.75s cubic-bezier(0.22, 1, 0.36, 1) 3.15s both;
}

#elevated.is-visible .elevated-grid-rule--vertical-one {
  animation: hero-rule-down 1.15s cubic-bezier(0.22, 1, 0.36, 1) 3.4s both;
}

#elevated.is-visible .elevated-grid-rule--vertical-two {
  animation: hero-rule-down 1.15s cubic-bezier(0.22, 1, 0.36, 1) 3.55s both;
}

#elevated.is-visible .elevated-grid-rule--vertical-three {
  animation: hero-rule-down 1.15s cubic-bezier(0.22, 1, 0.36, 1) 3.7s both;
}

#elevated.is-visible .elevated-grid-rule--middle {
  animation: hero-rule-across 1.35s cubic-bezier(0.22, 1, 0.36, 1) 3.6s both;
}

@media (min-width: 1024px) {
  #elevated .elevated-rule--left-down,
  #elevated .elevated-grid-rule--right-top {
    bottom: auto;
    height: var(--elevated-desktop-row-two, 50%);
  }

  #elevated .elevated-rule--right-up,
  #elevated .elevated-grid-rule--left-bottom,
  #elevated .elevated-grid-rule--middle {
    top: var(--elevated-desktop-row-two, 50%);
  }
}

.elevated-grid {
  transition: border-color 0.8s ease 4.15s;
}

@media (min-width: 1024px) {
  .elevated-grid > article {
    transition: border-color 0.8s ease 4.15s;
  }
}

#elevated.is-visible .elevated-grid,
#elevated.is-visible .elevated-grid > article {
  border-color: rgba(140, 45, 39, 0.78);
}

@media (max-width: 1023px) {
  #elevated .elevated-grid,
  #elevated .elevated-grid > article,
  #elevated.is-visible .elevated-grid,
  #elevated.is-visible .elevated-grid > article {
    border-color: transparent;
  }

  .elevated-mobile-rule--top,
  .elevated-mobile-rule--top-approach,
  .elevated-mobile-rule--bottom,
  .elevated-mobile-rule--bottom-approach,
  .elevated-mobile-rule--horizontal {
    transform: scaleX(0);
  }

  .elevated-mobile-rule--right,
  .elevated-mobile-rule--left,
  .elevated-mobile-rule--vertical {
    transform: scaleY(0);
  }

  .elevated-mobile-expand-rule--horizontal,
  .elevated-mobile-expand-rule--bottom-approach,
  .elevated-mobile-expand-rule--bottom {
    transform: scaleX(0);
  }

  .elevated-mobile-expand-rule--left,
  .elevated-mobile-expand-rule--right,
  .elevated-mobile-expand-rule--vertical {
    transform: scaleY(0);
  }

  #elevated .elevated-mobile-rule--vertical,
  #elevated .elevated-mobile-expand-rule--vertical {
    left: var(--elevated-mobile-column, 50%);
  }

  #elevated .elevated-mobile-rule--top-approach,
  #elevated .elevated-mobile-rule--bottom-approach,
  #elevated .elevated-mobile-expand-rule--bottom-approach {
    width: calc((100vw - 100%) / 2);
  }

  #elevated .elevated-mobile-rule--right,
  #elevated .elevated-mobile-rule--left,
  #elevated .elevated-mobile-rule--vertical {
    height: var(--elevated-mobile-row-two, 100%);
  }

  #elevated .elevated-mobile-rule--bottom,
  #elevated .elevated-mobile-rule--bottom-approach {
    top: var(--elevated-mobile-row-two, 100%);
  }

  #elevated .elevated-mobile-rule--horizontal-one {
    top: var(--elevated-mobile-row-one, 50%);
  }

  #elevated .elevated-mobile-expand-rule--left,
  #elevated .elevated-mobile-expand-rule--right,
  #elevated .elevated-mobile-expand-rule--vertical {
    top: var(--elevated-mobile-row-two, 50%);
  }

  #elevated .elevated-mobile-expand-rule--horizontal {
    top: var(--elevated-mobile-row-three, 75%);
  }

  #elevated.is-visible .elevated-mobile-rule--top {
    animation: hero-rule-across 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }

  #elevated.is-visible .elevated-mobile-rule--top-approach {
    animation: hero-rule-across 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }

  #elevated.is-visible .elevated-mobile-rule--right {
    animation: hero-rule-down 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.85s both;
  }

  #elevated.is-visible .elevated-mobile-rule--bottom {
    animation: hero-rule-across 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.35s both;
  }

  #elevated.is-visible .elevated-mobile-rule--bottom-approach {
    animation: hero-rule-across 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.35s both;
  }

  #elevated.is-visible .elevated-mobile-rule--left {
    animation: hero-rule-down 0.65s cubic-bezier(0.22, 1, 0.36, 1) 2.05s both;
  }

  #elevated.is-visible .elevated-mobile-rule--vertical {
    animation: hero-rule-down 1.05s cubic-bezier(0.22, 1, 0.36, 1) 2.35s both;
  }

  #elevated.is-visible .elevated-mobile-rule--horizontal {
    animation: hero-rule-across 1.05s cubic-bezier(0.22, 1, 0.36, 1) 2.55s both;
  }

  #elevated .elevated-grid.is-expanded .elevated-mobile-expand-rule--left,
  #elevated .elevated-grid.is-expanded .elevated-mobile-expand-rule--right,
  #elevated .elevated-grid.is-expanded .elevated-mobile-expand-rule--vertical {
    animation: hero-rule-down 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }

  #elevated .elevated-grid.is-expanded .elevated-mobile-rule--bottom-approach {
    display: none;
  }

  #elevated .elevated-grid.is-expanded .elevated-mobile-expand-rule--horizontal {
    animation: hero-rule-across 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
  }

  #elevated .elevated-grid.is-expanded .elevated-mobile-expand-rule--bottom {
    animation: hero-rule-across 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both;
  }

  #elevated .elevated-grid.is-expanded .elevated-mobile-expand-rule--bottom-approach {
    animation: hero-rule-across 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both;
  }
}

.skye-rule--top,
.skye-rule--bottom {
  transform: scaleX(0);
}

.skye-rule--top-drop,
.skye-rule--left {
  transform: scaleY(0);
}

#skye.is-visible .skye-rule--top-drop {
  animation: hero-rule-down 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

#skye.is-visible .skye-rule--top {
  animation: hero-rule-across 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

#skye.is-visible .skye-rule--left {
  animation: hero-rule-down 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

#skye.is-visible .skye-rule--bottom {
  animation: hero-rule-across 1.35s cubic-bezier(0.22, 1, 0.36, 1) 1.25s both;
}

.aviera-flex-rule--main-bottom,
.aviera-flex-rule--accent-top {
  transform: scaleX(0);
}

.aviera-flex-rule--main-vertical,
.aviera-flex-rule--accent-vertical {
  transform: scaleY(0);
}

#flex.is-visible .aviera-flex-rule--main-vertical {
  animation: hero-rule-down 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

#flex.is-visible .aviera-flex-rule--main-bottom {
  animation: hero-rule-across 1.25s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both;
}

#flex.is-visible .aviera-flex-rule--accent-vertical {
  animation: hero-rule-down 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

#flex.is-visible .aviera-flex-rule--accent-top {
  animation: hero-rule-across 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
}

.registration-rule--top,
.registration-rule--contact,
.registration-rule--bottom {
  transform: scaleX(0);
}

/* Location */
#location {
  --location-band-size: clamp(48px, 5.25vw, 76px);
}

@media (min-width: 768px) {
  .location-layout {
    padding-top: var(--location-band-size);
    padding-bottom: var(--location-band-size);
  }
}

.location-accordion__trigger {
  min-height: 48px;
}

.location-accordion__trigger:focus-visible {
  outline: 1px solid #7A2721;
  outline-offset: -3px;
}

.location-accordion__chevron {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-accordion__chevron::before,
.location-accordion__chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 1px;
  background: currentColor;
}

.location-accordion__chevron::before {
  left: 0;
  transform: rotate(45deg);
}

.location-accordion__chevron::after {
  right: 0;
  transform: rotate(-45deg);
}

.location-accordion.is-open .location-accordion__chevron {
  transform: rotate(180deg);
}

.location-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0s linear 0.5s;
}

.location-accordion__panel[hidden] {
  display: grid;
}

.location-accordion .location-accordion__content {
  min-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: padding 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-accordion.is-open .location-accordion__content {
  padding-top: 16px;
  padding-bottom: 18px;
}

.location-accordion__content p + p {
  margin-top: 16px !important;
}

.location-accordion.is-open .location-accordion__panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  box-shadow: inset 0 1px 0 #892c26;
  transition:
    grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease 0.08s,
    visibility 0s;
}

body.location-map-open {
  overflow: hidden;
}

body.location-map-open > a[aria-label="Call Aviera"] {
  display: none;
}

.location-map-modal.is-open {
  display: flex;
  animation: location-modal-fade 0.3s ease both;
}

.location-map-modal.is-open > div {
  animation: location-modal-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.location-map-modal__dialog {
  width: 100%;
}

@media (min-width: 768px) {
  .location-map-modal .location-map-modal__dialog {
    width: min(70vw, calc(100svh - 48px), 720px);
    max-width: 720px;
    aspect-ratio: 1 / 1;
  }
}

.location-rule--top-vertical,
.location-rule--bottom-vertical {
  position: absolute;
  left: 39.5%;
  width: 1px;
  background: rgba(122, 39, 33, 0.55);
  transform: scaleY(0);
}

.location-rule--top-vertical {
  top: 0;
  height: var(--location-band-size);
  transform-origin: top;
}

.location-rule--bottom-vertical {
  bottom: 0;
  height: var(--location-band-size);
  transform-origin: bottom;
}

.location-rule--bottom-horizontal {
  position: absolute;
  right: 0;
  bottom: var(--location-band-size);
  left: 39.5%;
  height: 1px;
  background: rgba(122, 39, 33, 0.55);
  transform-origin: left;
  transform: scaleX(0);
}

#location.is-visible .location-rule--top-vertical {
  animation: hero-rule-down 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

#location.is-visible .location-rule--bottom-vertical {
  animation: hero-rule-down 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

#location.is-visible .location-rule--bottom-horizontal {
  animation: hero-rule-across 1.25s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both;
}

@keyframes location-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes location-modal-enter {
  from { opacity: 0; transform: scale(0.975); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 767px) {
  .location-layout {
    min-height: 0;
  }

  .location-copy {
    background: #fff0cf;
    color: #7A2721;
    text-align: center;
  }

  .location-layout .location-copy {
    display: contents;
  }

  .location-copy > h2,
  .location-copy > p {
    order: 1;
    width: 100%;
    padding-right: 7%;
    padding-left: 7%;
  }

  .location-copy > h2 {
    padding-top: 48px;
  }

  .location-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .location-map {
    order: 2;
    margin-top: 20px;
    padding-top: 0;
    padding-bottom: 28px;
  }

  .location-copy .location-accordions {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 0 5vw 28px;
    text-align: left;
  }

}

@media (max-width: 1023px) {
  .location-accordion__trigger {
    background: #892c26;
    color: #ffffff;
  }

  .location-accordion__trigger img {
    filter: brightness(0) invert(1);
  }

  .location-accordion.is-open .location-accordion__panel {
    border: 0;
    box-shadow:
      inset 1px 0 0 #892c26,
      inset -1px 0 0 #892c26,
      inset 0 1px 0 #892c26,
      inset 0 -1px 0 #892c26;
  }
}

.registration-rule--split,
.registration-rule--location-bridge {
  transform: scaleY(0);
}

.registration-mobile-rule {
  transform: scaleX(0);
}

#registration.is-visible .registration-mobile-rule {
  animation: hero-rule-across 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

#registration.is-visible .registration-rule--location-bridge {
  animation: hero-rule-down 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

#registration.is-visible .registration-rule--top {
  animation: hero-rule-across 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

#registration.is-visible .registration-rule--split {
  animation: hero-rule-down 1.45s cubic-bezier(0.22, 1, 0.36, 1) 0.85s both;
}

#registration.is-visible .registration-rule--contact {
  animation: hero-rule-across 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.25s both;
}

#registration.is-visible .registration-rule--bottom {
  animation: hero-rule-across 1.25s cubic-bezier(0.22, 1, 0.36, 1) 1.55s both;
}

#registration input,
#registration select {
  font-family: "Outfit", sans-serif;
}

.registration-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237A2721' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 8px;
}

#registration input::placeholder {
  color: rgba(140, 45, 39, 0.55) !important;
  font-family: "Outfit", sans-serif;
}

#registration input:focus,
#registration select:focus {
  border-color: #7A2721 !important;
}

.footer-rule--vertical {
  transform: scaleY(0);
}

.footer-rule--top,
.footer-rule--horizontal {
  transform: scaleX(0);
}

#site-footer.is-visible .footer-rule--top {
  animation: hero-rule-across 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

#site-footer.is-visible .footer-rule--vertical {
  animation: hero-rule-down 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

#site-footer.is-visible .footer-rule--horizontal {
  animation: hero-rule-across 1.35s cubic-bezier(0.22, 1, 0.36, 1) 1.25s both;
}

.thank-you-rule--top,
.thank-you-rule--bottom {
  transform: scaleX(0);
}

.thank-you-rule--right,
.thank-you-rule--left {
  transform: scaleY(0);
}

#thank-you-card.is-visible .thank-you-rule--top {
  animation: hero-rule-across 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

#thank-you-card.is-visible .thank-you-rule--right {
  animation: hero-rule-down 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both;
}

#thank-you-card.is-visible .thank-you-rule--bottom {
  animation: hero-rule-across 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.6s both;
}

#thank-you-card.is-visible .thank-you-rule--left {
  animation: hero-rule-down 0.7s cubic-bezier(0.22, 1, 0.36, 1) 2.3s both;
}

@keyframes hero-rule-down {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@media only screen and (max-width: 639px) {
  .elevated-grid.is-expanded .elevated-extra-card {
    min-height: 170px !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@keyframes hero-rule-across {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .elevated-extra-card {
    transition: none;
  }

  .aviera-action-arrow__circle,
  .aviera-action-arrow__shaft,
  .aviera-action-arrow__head {
    transition: none;
  }

  .aviera-arrow-trigger:hover .aviera-action-arrow__shaft,
  .aviera-arrow-trigger:focus-visible .aviera-action-arrow__shaft,
  .aviera-arrow-trigger:hover .aviera-action-arrow__head,
  .aviera-arrow-trigger:focus-visible .aviera-action-arrow__head {
    animation: none;
  }

  .hero-rule,
  .community-rule,
  .elevated-rule,
  .elevated-grid-rule,
  .elevated-mobile-rule,
  .elevated-mobile-expand-rule,
  .skye-rule,
  .aviera-flex-rule,
  .location-rule,
  .registration-mobile-rule,
  .registration-rule,
  .footer-rule,
  .thank-you-rule {
    animation: none;
    transform: none;
  }

  .location-accordion__panel,
  .location-accordion__content,
  .location-accordion__chevron,
  .location-map-modal,
  .location-map-modal > div {
    transition: none;
    animation: none !important;
  }
}

/* Animation container */
.arrow-wrapper {
    position: relative;
    width: 50px;
    height: 40px;
    overflow: hidden;
  }

  .arrow-down {
    position: absolute;
    top: 0;
    left: 50%;

    width: 40px;
    height: 40px;

    color: #ffffff;

    /*
      Total animation: 3 seconds

      0s   - 0.5s : Enter from top
      0.5s - 1.5s : PAUSE for 1 second
      1.5s - 2s   : Move downward and disappear
      2s   - 3s   : Reset / loop
    */
    animation: arrowMove 3s linear infinite;
  }

  @keyframes arrowMove {

    /* Start above container */
    0% {
      transform: translate(-50%, -45px);
      opacity: 0;
    }

    /* Start appearing */
    8% {
      opacity: 1;
    }

    /*
      Arrow reaches the center
      and is fully visible
    */
    16.67% {
      transform: translate(-50%, 3px);
      opacity: 1;
    }

    /*
      PAUSE HERE FOR 1 SECOND

      Position stays exactly the same
      from 16.67% to 50%
    */
    50% {
      transform: translate(-50%, 3px);
      opacity: 1;
    }

    /* Continue moving downward */
    66.67% {
      transform: translate(-50%, 105px);
      opacity: 0;
    }

    /* Stay hidden until next loop */
    100% {
      transform: translate(-50%, 105px);
      opacity: 0;
    }
  }
