@font-face {
  font-family: "Aktiv Grotesk";
  src: url("../fonts/aktiv/AktivGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aktiv Grotesk";
  src: url("../fonts/aktiv/AktivGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aktiv Grotesk";
  src: url("../fonts/aktiv/AktivGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 600px at 50% 32%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.22) 55%,
      rgba(0, 0, 0, 0.72) 100%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Contact modal */
body.contact-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  body.contact-open {
    overflow-y: auto;
  }
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;

  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 28px);

  font-family:
    "Aktiv Grotesk",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 900ms var(--ease),
    visibility 0ms linear 900ms;
}

body.contact-open .contact-modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    opacity 900ms var(--ease),
    visibility 0ms linear 0ms;
}

body.contact-open .header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 50% 32%, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;

  width: min(640px, 92vw);
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));

  scrollbar-width: none;

  transform: translateY(18px) scale(0.98);
  opacity: 0;

  transition: transform 900ms var(--ease), opacity 900ms var(--ease);
}

.contact-modal__dialog::-webkit-scrollbar {
  width: 0;
}

.contact-modal__dialog.scrolling::-webkit-scrollbar {
  width: 10px;
}

.contact-modal__dialog::-webkit-scrollbar-track {
  background: transparent;
}

.contact-modal__dialog.scrolling::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.contact-modal__dialog::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0);
  border-radius: 999px;
}

.contact-modal__dialog.scrolling {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.42) rgba(255, 255, 255, 0.12);
}

.contact-modal__dialog.scrolling::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.42);
  border: 2px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
}

.contact-modal__dialog.scrolling::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.55);
}

body.contact-open .contact-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.contact-modal__content {
  width: min(560px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-modal__logo {
  width: min(350px, 84vw);
  height: calc(min(394px, 84vw) * 91 / 394);
  display: block;
  object-fit: contain;
  margin: 0 auto clamp(28px, 4vh, 46px);
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vh, 24px);
}

.contact-form__row {
  display: grid;
  gap: 18px;
}

.contact-form__row--two {
  grid-template-columns: 1fr 1fr;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.contact-form__input,
.contact-form__select {
  width: 100%;
  height: 34px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  padding: 8px 12px;
  font-family: "Aktiv Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  color: #111;
}

.contact-form__select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.contact-form__phone {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
}

.contact-form__select-wrapper {
  position: relative;
  width: 100%;
}

.contact-form__select-wrapper .contact-form__select {
  /* Hide the selected option text in the closed state */
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-indent: -9999px;
}

.contact-form__select-wrapper .contact-form__select:-webkit-autofill,
.contact-form__select-wrapper .contact-form__select:-webkit-autofill:hover,
.contact-form__select-wrapper .contact-form__select:-webkit-autofill:focus,
.contact-form__select-wrapper .contact-form__select:-webkit-autofill:active {
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-indent: -9999px;
}

.contact-form__select-wrapper .contact-form__select:focus,
.contact-form__select-wrapper .contact-form__select:focus-visible {
  /* While choosing (dropdown open), show full country names */
  color: #111;
  -webkit-text-fill-color: #111;
  text-indent: 0;
}

.contact-form__select-code {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  pointer-events: none;
  font-size: 14px;
  line-height: 1;
}

/* Hide the overlay while the dropdown is in use */
.contact-form__select-wrapper .contact-form__select:focus+.contact-form__select-code {
  opacity: 0;
  visibility: hidden;
}

.contact-form__select-wrapper .contact-form__select:focus-visible+.contact-form__select-code {
  opacity: 0;
  visibility: hidden;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__input:focus-visible,
.contact-form__select:focus-visible {
  outline: none;
  box-shadow: none;
}

.contact-form__permissions {
  margin-top: 4px;
}

.contact-form__hint {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  line-height: 1.4;
}

.contact-form__check {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.2;
}

.contact-form__checkbox {
  width: 14px;
  height: 14px;
  accent-color: #ffffff;
}

.contact-form__submit {
  width: 100%;
  height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #A0723D;
  color: #ffffff;

  margin-top: clamp(8px, 2vh, 18px);

  font-family: "Aktiv Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  cursor: pointer;
  transition: filter 600ms var(--ease), transform 600ms var(--ease);
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  filter: brightness(1.05);
}

.contact-form__or {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-form__call {
  width: 80%;
  margin: 0 auto;
  height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: #111111;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  font-family: "Aktiv Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  transition: filter 600ms var(--ease);
}

.contact-form__call:hover,
.contact-form__call:focus-visible {
  filter: brightness(0.98);
}

.contact-form__back {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 4px auto 0;

  cursor: pointer;

  color: rgba(255, 255, 255, 0.78);
  font-family: "Aktiv Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;

  transition: color 600ms var(--ease);
}

.contact-form__back:hover,
.contact-form__back:focus-visible {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px){
  .contact-modal__logo {
        width: 148px;
        height: auto;
    }

    .contact-form__submit, .contact-form__call{
      width: 240px;
      margin: 0 auto;
    }
}

@media (max-width: 640px) {
  .contact-form__row--two {
    grid-template-columns: 1fr;
  }

  .contact-form__phone {
    grid-template-columns: 100px 1fr;
    gap: 10px;
  }

  /* .contact-modal__dialog {
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
  } */

  /* .contact-modal__logo {
    width: min(280px, 84vw);
    height: auto;
  } */
}

.hero__ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* display: grid;
  grid-template-rows: 1fr auto auto 1fr;
  grid-auto-rows: minmax(0, 1fr); */

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: clamp(56px, 10vh, 120px) clamp(16px, 3vw, 28px);

  font-family:
    "Aktiv Grotesk",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease), visibility 0ms linear 0ms;

  margin-top: 80px;
}

body.contact-open .hero__ui {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms var(--ease), visibility 0ms linear 700ms;
}

.hero__content {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;

  transform: translateY(0);
  transition: transform 1100ms var(--ease), gap 1100ms var(--ease);
  will-change: transform;
}

.hero__logo {
  width: 377px;
  position: relative;
}

.hero__logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));

  transform: scale(1);
  transform-origin: center;
  transition: transform 900ms var(--ease);
  will-change: transform;
}

.hero__hover-copy {
  position: absolute;
  left: 50%;
  /* top: calc(100% + clamp(110px, 15vh, 170px)); */
  bottom: -40vh;
  transform: translate(-50%, 10px);

  width: min(520px, 92vw);

  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.hero__hover-line {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.hero__paragraph {
  margin: 0;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;

  color: rgba(255, 255, 255, 0.92);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;

  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease),
    max-height 900ms var(--ease),
    margin-top 900ms var(--ease);
}

.hero__actions {
  width: 100%;
  align-items: center;

  grid-row: 3;
  grid-column: 1;
  align-self: start;
  margin-top: clamp(22px, 3vh, 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;

  /* width: 380px;
  max-width: 86vw; */

  min-height: 0;
  max-height: 420px;
  overflow: hidden;

  opacity: 1;
  transform: translateY(0);
  visibility: visible;

  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease),
    max-height 900ms var(--ease),
    margin-top 900ms var(--ease),
    visibility 0ms linear 0ms;
}

.hero__start-actions {
  width: 380px;
  max-width: 86vw;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 1.8vh, 26px);

  max-height: 0;
  overflow: hidden;

  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  visibility: hidden;

  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease),
    max-height 900ms var(--ease),
    visibility 0ms linear 900ms;
}

.hero__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 380px;
  max-width: 86vw;

  appearance: none;
  cursor: pointer;

  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  text-transform: uppercase;

  font-size: 15px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.2;

  padding: 10px 18px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0);
  background: rgba(255, 255, 255, 0);

  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);

  transition:
    background-color 600ms var(--ease),
    border-color 600ms var(--ease),
    color 600ms var(--ease),
    transform 900ms var(--ease),
    letter-spacing 900ms var(--ease);
}

.hero--start .hero__content {
  transform: translateY(0);
  gap: clamp(40px, 3vh, 56px);
}

.hero--start .hero__paragraph {
  margin-top: 0;
  max-height: 180px;
  max-width: 506px;
  opacity: 1;
  transform: translateY(0);
}

.hero--start .hero__actions {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;

  max-height: 0;
  margin-top: 0;
  visibility: hidden;
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease),
    max-height 900ms var(--ease),
    margin-top 900ms var(--ease),
    visibility 0ms linear 900ms;
}

.hero--start .hero__start-actions {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;

  transition:
    opacity 900ms var(--ease) 180ms,
    transform 900ms var(--ease) 180ms,
    max-height 900ms var(--ease) 180ms,
    visibility 0ms linear 0ms;
}

.hero--start .hero__hover-copy {
  opacity: 0 !important;
  transform: translate(-50%, 10px) !important;
}

/* .hero--start .hero__logo img {
  transform: scale(0.5) !important;
} */

.hero__action--primary {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;

  transform: scale(1);
  transform-origin: center;
}

.hero__action--primary:hover,
.hero__action--primary:focus-visible {
  letter-spacing: 1px;
}

.hero__action--primary:hover,
.hero__action--primary:focus-visible {
  letter-spacing: 1px;
}

.hero--hover-secondary .hero__action--primary {
  transform: scale(0.8);
}

.hero__action--secondary .hero__label {
  opacity: 1;
  transition: opacity 600ms var(--ease);
}

.hero__action--secondary .hero__label--bold {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;

  font-weight: 700;
  transition: opacity 600ms var(--ease);
}

.hero__action--secondary:hover .hero__label,
.hero__action--secondary:focus-visible .hero__label {
  opacity: 0;
}

.hero__action--secondary:hover .hero__label--bold,
.hero__action--secondary:focus-visible .hero__label--bold {
  opacity: 1;
}

.hero__action:hover,
.hero__action:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: rgba(10, 10, 10, 0.92);
  text-shadow: none;
}


.hero__action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 6px;
}

.hero--actions-hover .hero__hover-copy {
  opacity: 1;
  transform: translate(-50%, 30px);
}

.hero--actions-hover .hero__logo img {
  transform: scale(1);
}

.hero__start-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 51px;

  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;

  appearance: none;
  border: 0;
  cursor: pointer;

  font-family:
    "Aktiv Grotesk",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;

  transition: transform 600ms var(--ease), opacity 600ms var(--ease);
}

.hero__start-btn--about {
  background: #ffffff;
  color: #000000;
}

.hero__start-btn--contact {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);

  background-color: transparent;
  background-image: url("https://binghattiweb.imgix.net/web_button_bg.svg");
  background-repeat: no-repeat;
  background-position: center;


  color: rgba(255, 255, 255, 0.95);
}

.hero__back {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  margin-top: 0;

  cursor: pointer;

  color: rgba(255, 255, 255, 0.78);
  font-family:
    "Aktiv Grotesk",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;

  transition: color 600ms var(--ease);
}

.hero__back:hover,
.hero__back:focus-visible {
  color: rgba(255, 255, 255, 0.95);
}

.hero__back:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 6px;
  border-radius: 2px;
}

.hero__arrow {
  width: 100px;
  height: auto;
  margin: 0 auto;

  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(18px);
  visibility: hidden;

  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease),
    max-height 900ms var(--ease),
    visibility 0ms linear 900ms;
}

.hero--start .hero__arrow {
  opacity: 0.95;
  max-height: 100px;
  transform: translateY(0);
  visibility: visible;

  transition:
    opacity 900ms var(--ease) 240ms,
    transform 900ms var(--ease) 240ms,
    max-height 900ms var(--ease) 240ms,
    visibility 0ms linear 0ms;
}

@media (hover: hover) and (pointer: fine) {
  /* Reserve room for the hover-copy text so it doesn't overlap the buttons on desktop */
  .hero__actions {
    margin-top: calc(clamp(150px, 12vh, 220px) + 100px);
  }
}

@media (max-width: 1024px) {
  /* Tablet: more breathing room between logo and buttons */
  .hero__actions {
    margin-top: calc(clamp(70px, 9vh, 130px) + 140px);
  }
}

@media (max-width: 768px) {
  .hero__ui {
    padding: 57px 16px;
    margin-top: 0px;
  }

  /* Mobile: keep the same feel as desktop, but scaled down */
  .hero__actions {
    margin-top: calc(clamp(60px, 9vh, 120px) + 140px);
  }

  .hero__logo {
    width: min(460px, 88vw);
  }

  .hero__actions,
  .hero__start-actions {
    width: 100%;
    max-width: 92vw;
  }
  /* .contact-form__call {
  width: 100%;
  margin: 0 auto;
} */
.contact-form{
  margin-top: 70px;
}
.hero__hover-copy{
  bottom: -55vh;
}
}

@media (max-width: 380px) {
  .hero__action {
    padding: 10px 14px;
  }
}



@media (prefers-reduced-motion: reduce) {

  .hero__logo img,
  .hero__hover-copy,
  .hero__action,
  .hero__label,
  .hero__content,
  .hero__paragraph,
  .hero__start-actions,
  .hero__start-btn,
  .hero__back,
  .hero__arrow,
  .contact-modal,
  .contact-modal__dialog,
  .contact-form__submit,
  .contact-form__call,
  .contact-form__back {
    transition: none !important;
  }
}


/* override classess */
.newsletter__input:-webkit-autofill,
.newsletter__input:-webkit-autofill:hover,
.newsletter__input:-webkit-autofill:focus,
.newsletter__input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
  transition: background-color 5000s ease-in-out 0s;
  background-color: transparent !important;
}
