

.fw-hero {
  position: relative;
  isolation: isolate;

  height: 200svh;
  background: var(--fw-surface-muted);
}

.fw-hero__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.fw-hero__map {
  position: absolute;
  inset: 0;
}

.fw-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: calc(1 - var(--fw-hero-t, 0) * 0.75);
  transition: opacity 160ms linear;
  background:

    radial-gradient(58% 46% at 50% 40%, var(--fw-hero-scrim) 0%,
                    transparent 72%),

    radial-gradient(130% 90% at 50% 35%, transparent 0%, var(--fw-hero-scrim) 88%);

}

.fw-hero__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0 auto;

  max-width: var(--fw-container);
  padding: var(--fw-header-height) var(--fw-gutter) var(--fw-space-3xl);
  text-align: center;

  pointer-events: none;
}

.fw-hero__overlay :where(a, button, input, .fw-hero__composer) {
  pointer-events: auto;
}

.fw-hero__title {
  margin: 0;
  font-family: var(--fw-font-display);
  font-size: var(--fw-type-display);
  font-weight: var(--fw-weight-bold);
  line-height: var(--fw-leading-display);
  letter-spacing: var(--fw-tracking-display);
  color: var(--fw-ink);

}

.fw-hero__title {
  text-shadow: 0 1px 2px var(--fw-hero-scrim), 0 2px 12px var(--fw-hero-scrim);
}

.fw-hero__composer {
  position: relative;
  width: calc(100% + var(--fw-space-l));
  max-width: var(--fw-container-composer);
  margin-top: var(--fw-space-2xl);
  border-radius: var(--fw-radius-composer);
  border: var(--fw-hairline) solid var(--fw-glass-edge);

  background: var(--fw-composer-glass);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  backdrop-filter: blur(32px) saturate(150%);

  box-shadow: var(--fw-shadow-lg);
  padding: var(--fw-space-m) 0;
  text-align: left;
}

.fw-hero__field {
  display: block;
  width: 100%;
  min-height: var(--fw-composer-field-height);
  border: 0;
  background: transparent;


  padding: 0 var(--fw-space-l) var(--fw-composer-field-bottom-inset);
  font-family: var(--fw-font);
  font-size: var(--fw-type-body);
  line-height: var(--fw-leading-body);
  color: var(--fw-ink);
}

.fw-hero__field::placeholder {
  color: var(--fw-ink-muted);
}

.fw-hero__field:focus {
  outline: none;
}

.fw-hero__composer:has(.fw-hero__field:focus-visible) {
  outline: calc(var(--fw-hairline) * 2) solid var(--fw-ink);
  outline-offset: 3px;
}

.fw-hero__composer-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--fw-space-m);
  margin-top: var(--fw-space-xl);
  padding: 0 var(--fw-space-m) 0 var(--fw-space-l);
}

.fw-hero__send {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--fw-space-2xl);
  height: var(--fw-space-2xl);
  border: 0;
  border-radius: var(--fw-radius-pill);
  background: var(--fw-action);
  color: var(--fw-on-dark);
  cursor: pointer;
  transition: opacity var(--fw-motion-fast) var(--fw-ease),
              transform var(--fw-motion-fast) var(--fw-ease);
}

.fw-hero__send svg {
  width: var(--fw-space-l);
  height: var(--fw-space-l);
}

.fw-hero__send:hover {
  transform: translateY(-1px);
}

.fw-hero__send:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.fw-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--fw-space-s);
  margin-top: calc(var(--fw-space-l) + var(--fw-space-xs));

  max-width: var(--fw-container-narrow);
}

.fw-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--fw-space-s);

  min-height: var(--fw-space-2xl);
  border: var(--fw-hairline) solid var(--fw-glass-edge);
  border-radius: var(--fw-radius-pill);

  background: var(--fw-glass-chip);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  backdrop-filter: blur(32px) saturate(150%);
  padding: var(--fw-space-xs) var(--fw-space-l);
  font-family: var(--fw-font);
  font-size: var(--fw-type-small);
  font-weight: var(--fw-weight-medium);
  color: var(--fw-ink-secondary);
  cursor: pointer;
  transition: background-color var(--fw-motion-fast) var(--fw-ease),
              color var(--fw-motion-fast) var(--fw-ease),
              border-color var(--fw-motion-fast) var(--fw-ease);
}

.fw-hero-chip:hover {
  color: var(--fw-ink);
  border-color: var(--fw-ink-muted);
}

.fw-hero-chip.is-active {
  background: var(--fw-action);
  border-color: var(--fw-action);
  color: var(--fw-on-dark);
}

.fw-hero .maplibregl-ctrl-attrib {
  font-size: var(--fw-type-badge);
  border-radius: var(--fw-radius-pill);
  background: var(--fw-glass-chip);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  backdrop-filter: blur(32px) saturate(150%);
  opacity: 0.55;
}

.fw-hero .maplibregl-ctrl-attrib-button {
  background-color: transparent;
}

.fw-hero .maplibregl-ctrl-attrib.maplibregl-compact-show {
  border-radius: var(--fw-radius-m);
  opacity: 0.9;
}

.fw-hero .maplibregl-ctrl-attrib,
.fw-hero .maplibregl-ctrl-attrib a {
  color: var(--fw-ink-secondary);
}

@media (hover: none) and (pointer: coarse) {
  .fw-hero .maplibregl-canvas {
    touch-action: pan-y;
  }

  .fw-hero .maplibregl-cooperative-gesture-screen {
    display: none !important;
  }
}

.fw-hero .maplibregl-ctrl-group {
  border-radius: var(--fw-radius-m);
  overflow: hidden;
}

@media (min-width: 640px) {
  .fw-hero__overlay {
    padding-bottom: var(--fw-space-4xl);
  }

}

@media (prefers-reduced-motion: reduce) {
  .fw-hero__map {
    transition: none;
  }
}

.fw-hero__locate {
  display: inline-flex;
  align-items: center;
  gap: var(--fw-space-s);
  margin-top: var(--fw-space-m);
  border: 0;
  border-radius: var(--fw-radius-pill);
  background: transparent;
  padding: var(--fw-space-s);
  font-family: var(--fw-font);
  font-size: var(--fw-type-eyebrow);
  font-weight: var(--fw-weight-medium);
  color: var(--fw-ink-secondary);
  cursor: pointer;
  transition: color var(--fw-motion-fast) var(--fw-ease);
}

.fw-hero__locate:hover {
  color: var(--fw-ink);
}

.fw-hero__locate svg {
  width: 15px;
  height: 15px;
}

.fw-hero__overlay {
  opacity: calc(1 - var(--fw-hero-t, 0) * 1.6);
  transform: translateY(calc(var(--fw-hero-t, 0) * -40px));
  transition: opacity 120ms linear;
}

.fw-hero.is-riding .fw-hero__overlay {
  visibility: hidden;
}

.fw-hero.is-riding .fw-hero__scrim {
  opacity: 0;
}

.fw-hero__riding {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: var(--fw-space-4xl);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--fw-space-s);
  border-radius: var(--fw-radius-pill);
  border: var(--fw-hairline) solid var(--fw-glass-edge);
  background: var(--fw-glass);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--fw-shadow-lg);
  padding: var(--fw-space-m) var(--fw-space-xl);
  font-family: var(--fw-font);
  font-size: var(--fw-type-small);
  font-weight: var(--fw-weight-medium);
  color: var(--fw-ink);
  opacity: 0;
  transition: opacity var(--fw-motion) var(--fw-ease);
  pointer-events: none;
}

.fw-hero.is-riding .fw-hero__riding {
  opacity: 1;
}

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

  .fw-hero {
    height: auto;
  }

  .fw-hero__sticky {
    position: static;
    height: 100svh;
  }

  .fw-hero__overlay {
    opacity: 1;
    transform: none;
  }

  .fw-hero__riding {
    display: none;
  }
}
