.crisis-gateway {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  padding: 96px clamp(24px, 6vw, 96px) 124px;
  overflow: hidden;
  background: #ffffff;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.crisis-gateway::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.58;
  background:
    linear-gradient(rgba(148, 163, 184, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 46%, #000 28%, rgba(0, 0, 0, 0.68) 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 46%, #000 28%, rgba(0, 0, 0, 0.68) 62%, transparent 100%);
}

.crisis-gateway__message {
  position: relative;
  z-index: 1;
  width: min(100%, 1050px);
  margin: 0 auto;
  text-align: center;
}

.crisis-gateway__quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3.2vh, 34px);
  width: 100%;
  margin: 0;
}

.crisis-gateway__statement,
.crisis-gateway__directive {
  margin: 0;
  text-wrap: balance;
}

.crisis-gateway__statement {
  color: #0f172a;
  width: 100%;
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.068em;
  text-transform: uppercase;
  text-shadow: 0 12px 42px rgba(15, 23, 42, 0.08);
}

.crisis-gateway__statement::before,
.crisis-gateway__statement::after {
  color: #c8102e;
  font-weight: 800;
}

.crisis-gateway__statement::before {
  content: "\201C";
  margin-right: 0.04em;
}

.crisis-gateway__statement::after {
  content: "\201D";
  margin-left: 0.04em;
}

.crisis-gateway__directive {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 14px;
  width: 100%;
  margin-inline: auto;
  color: #c8102e;
  font-size: clamp(0.88rem, 1.55vw, 1.35rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.crisis-gateway__directive > span {
  display: block;
  text-align: center;
  text-wrap: balance;
}

.crisis-gateway__directive::before,
.crisis-gateway__directive::after {
  content: "";
  width: clamp(22px, 4vw, 56px);
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}

.crisis-routes {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 0;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.crisis-route {
  --route-peek: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--route-peek);
  align-items: center;
  width: min(390px, calc(100vw - 20px));
  min-height: 74px;
  padding: 0;
  overflow: hidden;
  color: #0f172a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.48);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.13);
  transform: translateX(calc(-100% + var(--route-peek)));
  transition:
    transform 440ms cubic-bezier(0.22, 1, 0.36, 1) 850ms,
    box-shadow 220ms ease,
    border-color 220ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.crisis-route:hover,
.crisis-route:focus-visible,
.crisis-route.is-open {
  border-color: rgba(200, 16, 46, 0.34);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  transform: translateX(0);
  transition-delay: 0ms;
}

.crisis-route.is-dismissed {
  transition-delay: 0ms;
}

.crisis-route:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.28);
  outline-offset: 3px;
}

.crisis-route__label {
  min-width: 0;
  padding: 0 8px 0 28px;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 800;
  line-height: 1.18;
  text-align: left;
  text-wrap: balance;
}

.crisis-route__number {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  min-height: 0;
  margin: 7px;
  color: #ffffff;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.035em;
  background: #c8102e;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 11px rgba(15, 23, 42, 0.2);
}

.first-section-scroll-cue {
  position: fixed;
  left: 50%;
  bottom: var(--first-section-scroll-cue-bottom, 98px);
  z-index: 2147483620;
  width: 32px;
  height: 32px;
  color: #c8102e;
  pointer-events: none;
  opacity: 1;
  transform: translateX(-50%);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  animation: firstSectionScrollCuePulse 10s ease-in-out infinite;
}

.has-started-scroll .first-section-scroll-cue {
  visibility: hidden;
  opacity: 0;
  animation-play-state: paused;
  transform: translateX(-50%) translateY(8px) scale(0.96);
}

@media (max-width: 900px) {
  .crisis-gateway {
    min-height: 580px;
    padding: 92px 20px 118px;
  }

  .crisis-gateway__message {
    align-self: start;
    margin-top: clamp(74px, 14vh, 126px);
  }

  .crisis-gateway__statement {
    font-size: clamp(1.95rem, 8.6vw, 3.75rem);
    line-height: 0.94;
  }

  .crisis-gateway__directive {
    padding: 0 20px;
    font-size: clamp(0.72rem, 3.2vw, 1rem);
    letter-spacing: 0.11em;
  }

  .crisis-routes {
    top: auto;
    bottom: 104px;
    gap: 8px;
    transform: none;
  }

  .crisis-route {
    --route-peek: 66px;
    min-height: 64px;
  }

  .crisis-route__label {
    padding-left: 22px;
    font-size: 0.9rem;
  }

  .crisis-route__number {
    width: 54px;
    height: 54px;
    margin: 5px;
    font-size: 1.05rem;
  }
}

@media (max-width: 420px) {
  .crisis-gateway__message {
    margin-top: 42px;
  }

  .crisis-gateway__statement {
    font-size: clamp(1.75rem, 8.9vw, 2.38rem);
  }

  .crisis-gateway__directive::before,
  .crisis-gateway__directive::after {
    display: none;
  }
}

@media (max-height: 700px) and (min-width: 901px) {
  .crisis-gateway {
    min-height: 560px;
  }

  .crisis-gateway__statement {
    font-size: clamp(2.1rem, 4.7vw, 4.25rem);
  }

  .crisis-route {
    min-height: 66px;
  }

  .crisis-route__number {
    width: 54px;
    height: 54px;
    margin: 6px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crisis-route,
  .first-section-scroll-cue {
    transition-duration: 0.01ms;
    animation: none;
  }
}
