/* How It Works: keep the secondary journey selector below the shared fixed header. */
:root {
  --site-shell-header-bottom: 100px;
  --site-shell-sticky-gap: 12px;
  --site-shell-sticky-top: 112px;
}

html {
  scroll-padding-top: calc(var(--site-shell-sticky-top) + 82px);
}

.choice-section.is-stuck {
  top: var(--site-shell-sticky-top);
  z-index: 300;
  width: min(1360px, calc(100% - 48px));
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(8, 47, 99, .13);
  transition: top .18s ease, box-shadow .18s ease;
}

.choice-section.is-stuck .choices button {
  min-height: 60px;
  padding: 9px 16px;
  gap: 11px;
}

.choice-section.is-stuck .tab-icon {
  width: 29px;
  height: 29px;
}

.choice-section.is-stuck .tab-copy {
  gap: 0;
}

.choice-section.is-stuck .tab-label {
  font-size: 14px;
  line-height: 1.25;
}

.choice-section.is-stuck .tab-description,
.choice-section.is-stuck .choice-action,
.choice-section.is-stuck .choice-description {
  display: none;
}

.choice-section.is-stuck + .process {
  scroll-margin-top: calc(var(--site-shell-sticky-top) + 82px);
}

@media (max-width: 980px) {
  :root {
    --site-shell-header-bottom: 90px;
    --site-shell-sticky-top: 102px;
  }

  .choice-section.is-stuck {
    width: calc(100% - 32px);
  }

  .choice-section.is-stuck .choices button {
    min-height: 58px;
    padding: 8px 10px;
  }

  .choice-section.is-stuck .tab-icon {
    width: 25px;
    height: 25px;
  }

  .choice-section.is-stuck .tab-label {
    font-size: 12px;
  }
}

@media (max-width: 620px) {
  :root {
    --site-shell-header-bottom: 78px;
    --site-shell-sticky-top: 90px;
  }

  html {
    scroll-padding-top: calc(var(--site-shell-sticky-top) + 76px);
  }

  .choice-section.is-stuck {
    width: calc(100% - 24px);
    padding: 6px;
    border-radius: 12px;
  }

  .choice-section.is-stuck .choices {
    grid-template-columns: 1fr 1.1fr 1.5fr;
  }

  .choice-section.is-stuck .choices button {
    min-height: 64px;
    padding: 7px 5px;
    gap: 0;
    justify-content: center;
    text-align: center;
  }

  .choice-section.is-stuck .tab-icon {
    display: none;
  }

  .choice-section.is-stuck .tab-copy {
    align-items: center;
    justify-content: center;
  }

  .choice-section.is-stuck .tab-label {
    font-size: 10px;
    line-height: 1.2;
  }

  .choice-section.is-stuck + .process {
    scroll-margin-top: calc(var(--site-shell-sticky-top) + 76px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .choice-section.is-stuck {
    transition: none;
  }
}
