.hog-modal[hidden],
.hog-modal [hidden] {
  display: none !important;
}

body.hog-modal-open {
  overflow: hidden !important;
}

/* Keep the site's custom cursor above the quote dialog while it is open. */
body.hog-modal-open .cursor-dot {
  z-index: 13000;
}

.hog-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #fafafa;
  font-family: inherit;
  opacity: 0;
  transition: opacity .28s ease;
}

.hog-modal.is-open {
  opacity: 1;
}

.hog-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, .74);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hog-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 34px;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(255, 106, 29, .12), transparent 55%),
    #050505;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .42);
  transform: translateY(24px) scale(.98);
  transition: transform .38s cubic-bezier(.16, 1, .3, 1);
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: #393939 transparent;
}

.hog-modal.is-open .hog-modal__dialog {
  transform: translateY(0) scale(1);
}

.hog-modal__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px 1fr auto 42px;
  align-items: center;
  gap: 10px;
  padding: 22px 24px 10px;
  background: linear-gradient(#050505 68%, rgba(5, 5, 5, 0));
}

.hog-modal__mark,
.hog-modal__back,
.hog-modal__close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: #fafafa;
  background: #111;
}

.hog-modal__mark {
  grid-column: 1;
  grid-row: 1;
  font-size: 19px;
}

.hog-modal__back {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  cursor: pointer;
}

.hog-modal__back svg,
.hog-modal__close svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hog-modal__close {
  grid-column: 4;
  border-radius: 999px;
  cursor: pointer;
}

.hog-modal__back:hover,
.hog-modal__close:hover {
  border-color: rgba(255, 255, 255, .28);
  background: #1b1b1b;
}

.hog-modal__progress {
  grid-column: 3;
  color: #888;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hog-modal__screen {
  padding: 26px 42px 46px;
}

.hog-modal__eyebrow {
  margin: 0 0 18px;
  color: #ff6a1d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
}

.hog-modal__screen h2 {
  max-width: 620px;
  margin: 0;
  color: #fafafa;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}

.hog-modal__lead {
  max-width: 580px;
  margin: 20px 0 0;
  color: #999;
  font-size: 15px;
  line-height: 1.55;
}

.hog-modal__lead strong {
  color: #fafafa;
  font-weight: 500;
}

.hog-services,
.hog-channels {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.hog-service,
.hog-channel {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  color: #fafafa;
  background: rgba(255, 255, 255, .045);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}

.hog-service {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
}

.hog-service:hover,
.hog-channel:hover {
  border-color: rgba(255, 106, 29, .62);
  background: rgba(255, 106, 29, .09);
  transform: translateX(4px);
}

.hog-service__index {
  color: #777;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.hog-service__copy,
.hog-channel > span:nth-child(2) {
  display: grid;
  gap: 5px;
}

.hog-service strong,
.hog-channel strong {
  color: #fafafa;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}

.hog-service small,
.hog-channel small {
  color: #858585;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.hog-service > svg,
.hog-channel > svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hog-channel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.hog-channel--primary {
  border-color: rgba(255, 255, 255, .82);
  color: #050505;
  background: #fafafa;
}

.hog-channel--primary strong,
.hog-channel--primary small {
  color: #050505;
}

.hog-channel--primary:hover {
  border-color: #fff;
  background: #fff;
}

.hog-channel__icon {
  display: grid !important;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

.hog-channel--primary .hog-channel__icon {
  border-color: rgba(5, 5, 5, .14);
  color: #fff;
  background: #1d9d5a;
}

.hog-email-form {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
}

.hog-email-form > label {
  display: block;
  margin-bottom: 10px;
  color: #fafafa;
  font-size: 14px;
  font-weight: 500;
}

.hog-email-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.hog-email-form input[type="email"] {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  outline: none;
  color: #fafafa;
  background: #0b0b0b;
  font: inherit;
  font-size: 15px;
}

.hog-email-form input[type="email"]:focus {
  border-color: #ff6a1d;
  box-shadow: 0 0 0 3px rgba(255, 106, 29, .15);
}

.hog-email-form__row button,
.hog-success__close {
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #050505;
  background: #fafafa;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.hog-email-form__row button:disabled {
  cursor: wait;
  opacity: .6;
}

.hog-email-form__privacy {
  margin: 11px 4px 0;
  color: #777;
  font-size: 11px;
  line-height: 1.5;
}

.hog-email-form__status {
  min-height: 18px;
  margin: 10px 4px 0;
  color: #ff9b7a;
  font-size: 12px;
  line-height: 1.45;
}

.hog-turnstile {
  max-width: 100%;
  margin-top: 14px;
}

.hog-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.hog-success {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hog-success__icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #050505;
  background: #fafafa;
  font-size: 24px;
}

.hog-success__close {
  align-self: flex-start;
  margin-top: 28px;
  min-width: 140px;
}

.hog-service:focus-visible,
.hog-channel:focus-visible,
.hog-modal__back:focus-visible,
.hog-modal__close:focus-visible,
.hog-email-form button:focus-visible,
.hog-success__close:focus-visible {
  outline: 2px solid #ff6a1d;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .hog-modal {
    align-items: end;
    padding: 0;
  }

  .hog-modal__dialog {
    width: 100%;
    max-height: 92dvh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
  }

  .hog-modal__header {
    grid-template-columns: 38px 1fr auto 38px;
    padding: 16px 18px 8px;
  }

  .hog-modal__mark,
  .hog-modal__back,
  .hog-modal__close {
    width: 38px;
    height: 38px;
  }

  .hog-modal__screen {
    padding: 22px 18px calc(28px + env(safe-area-inset-bottom));
  }

  .hog-modal__screen h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hog-modal__lead {
    margin-top: 15px;
    font-size: 14px;
  }

  .hog-services,
  .hog-channels {
    margin-top: 24px;
  }

  .hog-service {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 15px 14px;
  }

  .hog-service small {
    display: none;
  }

  .hog-channel {
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    padding: 15px 14px;
  }

  .hog-channel__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hog-email-form {
    padding: 16px;
  }

  .hog-email-form__row {
    grid-template-columns: 1fr;
  }

  .hog-email-form__row button {
    width: 100%;
  }

  .hog-success {
    min-height: 58dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hog-modal,
  .hog-modal__dialog,
  .hog-service,
  .hog-channel {
    transition: none !important;
  }
}
