@media (min-width: 861px) {
.auth-portal-card {
  --pane-active-bg: linear-gradient(152deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  position: relative;
  display: grid;
  grid-template-columns: 7fr 3fr;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 10, 19, 0.46);
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  min-height: min(760px, 86vh);
  transition: grid-template-columns 0.45s cubic-bezier(0.22, 0.65, 0.2, 1);
}

.auth-portal-card.is-register {
  grid-template-columns: 3fr 7fr;
}

.auth-portal-card::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 12px;
  right: calc(30% + 12px);
  border-radius: 24px;
  background: var(--pane-active-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 24px 50px rgba(5, 7, 14, 0.3);
  backdrop-filter: blur(18px);
  transition: left 0.45s cubic-bezier(0.22, 0.65, 0.2, 1), right 0.45s cubic-bezier(0.22, 0.65, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.auth-portal-card.is-register::before {
  left: calc(30% + 12px);
  right: 12px;
}

.auth-portal-track {
  display: contents;
}

.auth-pane {
  position: relative;
  min-width: 0;
}

.auth-pane__form,
.auth-pane__cta {
  transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.22, 0.65, 0.2, 1);
}

.auth-portal-card:not(.is-register) .auth-pane--login .auth-pane__form {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.auth-portal-card:not(.is-register) .auth-pane--login .auth-pane__cta {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-12%);
}

.auth-portal-card:not(.is-register) .auth-pane--register .auth-pane__form {
  opacity: 0;
  pointer-events: none;
  transform: translateX(12%);
}

.auth-portal-card:not(.is-register) .auth-pane--register .auth-pane__cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.auth-portal-card.is-register .auth-pane--login .auth-pane__form {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-12%);
}

.auth-portal-card.is-register .auth-pane--login .auth-pane__cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.auth-portal-card.is-register .auth-pane--register .auth-pane__form {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.auth-portal-card.is-register .auth-pane--register .auth-pane__cta {
  opacity: 0;
  pointer-events: none;
  transform: translateX(12%);
}
}

@media (max-width: 860px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: none !important;
    transform: none !important;
  }

  .site-header.is-sticky {
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: none !important;
    transform: none !important;
  }

  .site-header__inner,
  .site-header.is-sticky .site-header__inner {
    width: calc(100% - 0.95rem);
    max-width: 100%;
    margin-top: calc(env(safe-area-inset-top, 0px) + 0.42rem);
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0.56rem 0.66rem;
    gap: 0.55rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.44)) !important;
    border-color: rgba(255, 255, 255, 0.58) !important;
    box-shadow: 0 14px 34px rgba(10, 20, 40, 0.12) !important;
  }

  .site-header__brand {
    max-width: min(320px, calc(100vw - 84px));
    gap: 0.5rem;
    padding: 0.14rem 0.42rem 0.14rem 0.16rem;
  }

  .site-header [data-sidenav-open] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 16px rgba(10, 20, 40, 0.1);
  }

  .site-header .site-nav {
    display: none !important;
  }

  .home-hero {
    height: auto;
    min-height: 100svh;
    overflow: visible !important;
    background: linear-gradient(160deg, rgba(246, 250, 255, 0.98), rgba(236, 242, 249, 0.9) 45%, rgba(250, 252, 255, 0.98));
    position: relative;
    z-index: 20;
  }

  .home-hero .hero-noise {
    display: none;
  }

  .home-hero .hero-media {
    filter: none;
    transform: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .home-hero .lux-container {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 2rem;
  }

  .home-hero .hero-copy {
    position: relative;
    isolation: isolate;
    max-width: min(100%, 36rem);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .home-hero .hero-copy::before {
    content: "";
    position: absolute;
    inset: -0.72rem -0.64rem -0.92rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(4, 12, 26, 0.56), rgba(6, 18, 35, 0.3) 58%, rgba(6, 18, 35, 0));
    z-index: -1;
    pointer-events: none;
  }

  .home-hero .hero-copy .lux-kicker {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.44);
  }

  .home-hero .hero-copy .lux-h1 {
    color: rgba(255, 255, 255, 0.99);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  }

  .home-hero .hero-copy .lux-muted {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.34);
  }

  .home-hero .hero-copy .hero-chip-row .lux-chip {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
  }

  .home-hero .home-hero-search {
    position: relative;
    z-index: 240;
  }

  .home-hero .home-hero-search .lux-glass-hero {
    position: relative;
    padding: 0.48rem 0.5rem !important;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.42);
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.22));
    box-shadow: 0 12px 26px rgba(7, 16, 32, 0.2);
    backdrop-filter: blur(10px);
  }

  .home-hero .home-hero-search .lux-glass-hero::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid rgba(198, 164, 69, 0.52);
    box-shadow: 0 0 0 1px rgba(198, 164, 69, 0.16);
    pointer-events: none;
  }

  .home-hero .home-hero-search.is-collapsible .home-search-toggle {
    display: flex;
    position: relative;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    background: linear-gradient(132deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.54));
    box-shadow: 0 8px 18px rgba(10, 20, 40, 0.12);
    padding-inline: 1rem;
  }

  .home-hero .home-hero-search.is-collapsible .home-search-toggle::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid rgba(198, 164, 69, 0.45);
    pointer-events: none;
  }

  .home-hero .home-hero-search.is-collapsible .home-search-body {
    position: relative;
    z-index: 240;
    display: block;
    max-height: 0;
    overflow: hidden;
    margin-top: 0.52rem;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .home-hero .home-hero-search.is-collapsible.is-open .home-search-body {
    max-height: 74svh;
    overflow-y: auto;
    opacity: 1;
    -webkit-overflow-scrolling: touch;
  }

  .home-hero .home-hero-search.is-collapsible .home-search-grid {
    grid-template-columns: 1fr;
  }

  .home-hero .home-search-body .home-search-grid {
    gap: 0.68rem;
  }

  .home-hero .home-search-body .home-search-field {
    display: grid;
    grid-template-columns: minmax(82px, 32%) minmax(0, 1fr);
    align-items: center;
    gap: 0.58rem;
  }

  .home-hero .home-search-body .home-search-field .home-search-label {
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.72);
  }

  .home-hero .home-search-body .home-search-field .lux-input,
  .home-hero .home-search-body .home-search-field .lux-select {
    margin-top: 0 !important;
    width: 100%;
    min-height: 42px;
  }

  .hero-media--mobile {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-slideshow--desktop {
    display: none !important;
  }

}

@media (max-width: 520px) {
  .site-header__inner,
  .site-header.is-sticky .site-header__inner {
    gap: 0.42rem;
    padding: 0.5rem 0.56rem;
  }

  .site-header__brand {
    max-width: min(78vw, calc(100vw - 76px));
    padding: 0.12rem 0.3rem 0.12rem 0.14rem;
    gap: 0.38rem;
  }

  .site-header__brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .site-header__brand-title {
    font-size: 0.45rem;
    letter-spacing: 0.2em;
  }

  .site-header__brand-subtitle {
    font-size: 0.74rem;
    letter-spacing: 0.01em;
  }

  .home-hero .hero-copy::before {
    inset: -0.6rem -0.5rem -0.8rem;
  }

  .home-hero .home-search-body .home-search-field {
    grid-template-columns: minmax(74px, 34%) minmax(0, 1fr);
    gap: 0.46rem;
  }

  .home-hero .home-search-body .home-search-field .home-search-label {
    font-size: 0.64rem;
    letter-spacing: 0.11em;
  }

  .home-hero .home-hero-search .lux-glass-hero {
    padding: 0.4rem 0.42rem !important;
    border-radius: 1rem;
  }

  .home-hero .home-hero-search.is-collapsible .home-search-toggle {
    min-height: 42px;
    padding-inline: 0.86rem;
    font-size: 0.68rem;
    letter-spacing: 0.17em;
  }
}

.hero-media--mobile {
  display: none;
}

.hero-slideshow--desktop {
  display: block;
}

@media (min-width: 861px) {
  .hero-overlay--video-mobile {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.34) 45%, rgba(255, 255, 255, 0.12));
  }
}

.home-hero .hero-subtitle-type {
  display: inline-flex;
  align-items: baseline;
  gap: 0.14rem;
}

.home-hero .hero-subtitle-type__text {
  display: inline;
}

.home-hero .hero-subtitle-type__caret {
  display: inline-block;
  min-width: 0.58ch;
  font-weight: 700;
  opacity: 0.95;
  transform: translateY(1px);
  transition: opacity 0.12s ease;
}

.home-hero .hero-subtitle-type__caret.is-hidden {
  opacity: 0.12;
}

.home-hero .hero-subtitle-type.is-complete .hero-subtitle-type__caret {
  opacity: 0;
}