/* U.P. Waterfall Experience OS / Penpot map-first pilot.
   Intent: make existing source-backed decisions easier to reach.
   The original Leaflet/Rust/data interfaces are intentionally untouched. */
.up-waterfall-hub.waterfall-experience-pilot .hero{
  padding:clamp(24px,3vw,42px) 0 clamp(20px,2.5vw,32px);
}
.up-waterfall-hub.waterfall-experience-pilot .hero h1{
  font-size:clamp(2.35rem,4.5vw,4.1rem);
  max-width:860px;
}
.up-waterfall-hub.waterfall-experience-pilot .hero .quicknav{
  margin-top:16px;
}
.up-waterfall-hub.waterfall-experience-pilot .map-zone{
  padding:clamp(18px,3vw,34px) 0;
}
.up-waterfall-hub.waterfall-experience-pilot .map-zone .intro{
  margin-bottom:14px;
}
.up-waterfall-hub.waterfall-experience-pilot .map-zone .intro h2{
  margin-bottom:3px;
}
.up-waterfall-hub.waterfall-experience-pilot .visit-lens{
  margin:0 0 18px;
  padding:clamp(14px,2.1vw,22px);
  border-top-width:4px;
}
.up-waterfall-hub.waterfall-experience-pilot .visit-intro h2{
  font-size:clamp(1.55rem,2.6vw,2.15rem);
  margin:4px 0 8px;
}
.up-waterfall-hub.waterfall-experience-pilot .visit-head{
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:clamp(16px,2.3vw,26px);
}
.up-waterfall-hub.waterfall-experience-pilot .visit-controls{
  padding:12px;
}
.up-waterfall-hub.waterfall-experience-pilot .explorer{
  margin:0 0 22px;
  scroll-margin-top:14px;
}
.up-waterfall-hub.waterfall-experience-pilot .explorer .map-card{
  border-color:#c4d7d3;
  box-shadow:0 10px 28px rgba(17,45,49,.06);
}
.up-waterfall-hub.waterfall-experience-pilot .explorer .map{
  height:min(63vh,580px);
  min-height:360px;
}
.up-waterfall-hub.waterfall-experience-pilot .explorer .map-top p{
  color:#112d31;
  font-size:.95rem;
}
.up-waterfall-hub.waterfall-experience-pilot .fall-cluster-jump-nav{
  margin:26px 0;
}
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview{
  background:#e9f1e9;
  border:1px solid #c9dad2;
  border-radius:13px;
  margin:22px 0 28px;
  padding:clamp(12px,2vw,20px);
}
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-intro strong{
  color:#176862;
}
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-intro span,
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-note{
  color:#405e5b;
}
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-card{
  background:#fffdf7;
  border-color:#c9dad2;
}
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-name{
  color:#17312f;
}
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-name em,
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-card figcaption{
  color:#405e5b;
}
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-card figcaption a{
  color:#176862;
  text-decoration:underline;
  text-underline-offset:2px;
}
.up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-link img{
  height:138px;
}
.up-waterfall-hub.waterfall-experience-pilot .visit-lens,
.up-waterfall-hub.waterfall-experience-pilot .fall-cluster-jump-nav,
.up-waterfall-hub.waterfall-experience-pilot .explorer,
.up-waterfall-hub.waterfall-experience-pilot #falls-map{
  scroll-margin-top:18px;
}
/* The DOM is map first for keyboard and assistive technology. Desktop gets the
   familiar results-left/map-right visual layout through explicit grid placement. */
@media(min-width:901px){
  .up-waterfall-hub.waterfall-experience-pilot .explorer .control-panel{
    grid-column:1;
    grid-row:1;
  }
  .up-waterfall-hub.waterfall-experience-pilot .explorer .map-card{
    grid-column:2;
    grid-row:1;
  }
}
@media(max-width:900px){
  .up-waterfall-hub.waterfall-experience-pilot .visit-head{
    grid-template-columns:1fr;
  }
  .up-waterfall-hub.waterfall-experience-pilot .explorer{
    display:flex;
    flex-direction:column;
  }
  /* Native map-first document order preserves reading and tab order on mobile. */
  .up-waterfall-hub.waterfall-experience-pilot .explorer .map{
    height:min(54vh,460px);
    min-height:320px;
  }
}
@media(max-width:640px){
  .up-waterfall-hub.waterfall-experience-pilot .hero{
    padding:24px 0 18px;
  }
  .up-waterfall-hub.waterfall-experience-pilot .hero h1{
    font-size:clamp(2.2rem,10vw,3.1rem);
  }
  .up-waterfall-hub.waterfall-experience-pilot .hero .quicknav{
    gap:8px;
  }
  .up-waterfall-hub.waterfall-experience-pilot .hero .pill-link{
    min-height:44px;
  }
  .up-waterfall-hub.waterfall-experience-pilot .visit-lens{
    padding:14px;
  }
  .up-waterfall-hub.waterfall-experience-pilot .visit-controls select,
  .up-waterfall-hub.waterfall-experience-pilot .visit-controls input{
    min-height:44px;
  }
  .up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-link img{
    height:132px;
  }
  .up-waterfall-hub.waterfall-experience-pilot .upfall-photo-preview-card{
    flex-basis:min(72vw,300px);
  }
}
@media(prefers-reduced-motion:reduce){
  .up-waterfall-hub.waterfall-experience-pilot{
    scroll-behavior:auto;
  }
}

/* A compact, factual arrival answer belongs with the real map, not in a hero gallery. */
.up-waterfall-hub .upfall-arrival-desk{
  padding:15px 16px 18px;
  border-top:2px solid #a7c7bc;
  background:#f8faf5;
  color:#17312f;
  line-height:1.5;
}
.up-waterfall-hub .upfall-arrival-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}
.up-waterfall-hub .upfall-arrival-eyebrow{
  margin:0 0 4px;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.11em;
  color:#32645b;
}
.up-waterfall-hub .upfall-arrival-head h3{
  font-family:Georgia,serif;
  font-size:clamp(1.25rem,2vw,1.55rem);
  line-height:1.22;
  margin:0;
}
.up-waterfall-hub .upfall-arrival-example{
  color:#4a615e;
  font-size:.78rem;
  line-height:1.4;
  max-width:44ch;
  margin:5px 0 0;
}
.up-waterfall-hub .upfall-arrival-head label{
  display:grid;
  gap:4px;
  font-size:.8rem;
  font-weight:700;
  flex:0 1 245px;
  min-width:0;
}
.up-waterfall-hub #arrival-choice{
  min-height:44px;
  width:100%;
  max-width:100%;
  border:1px solid #769d96;
  border-radius:7px;
  background:#fff;
  color:#17312f;
  padding:7px 10px;
}
.up-waterfall-hub .upfall-arrival-selected{
  margin:14px 0 4px;
  font-weight:800;
  font-size:1.14rem;
}
.up-waterfall-hub .upfall-arrival-verdict{
  margin:5px 0 12px;
  font-weight:700;
  padding-left:10px;
  border-left:4px solid #307b67;
  color:#143e37;
}
.up-waterfall-hub .upfall-arrival-desk[data-state="closed"] .upfall-arrival-verdict,
.up-waterfall-hub .upfall-arrival-desk[data-state="unverified"] .upfall-arrival-verdict{
  border-left-color:#a54e37;
  color:#71311f;
}
.up-waterfall-hub .upfall-arrival-desk[data-state="restricted"] .upfall-arrival-verdict,
.up-waterfall-hub .upfall-arrival-desk[data-state="seasonal"] .upfall-arrival-verdict{
  border-left-color:#ad7a27;
  color:#604516;
}
.up-waterfall-hub .upfall-arrival-steps{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.up-waterfall-hub .upfall-arrival-steps>div{
  border-top:1px solid #c3d5cc;
  padding-top:9px;
  min-width:0;
}
.up-waterfall-hub .upfall-arrival-step-title{
  font-size:.72rem;
  letter-spacing:.07em;
  text-transform:uppercase;
  font-weight:800;
  color:#345b53;
  margin:0 0 4px;
}
.up-waterfall-hub .upfall-arrival-steps>div>p:last-child{
  margin:0;
  overflow-wrap:anywhere;
  font-size:.91rem;
}
.up-waterfall-hub .upfall-arrival-watch{
  margin-top:12px;
  padding-top:8px;
  border-top:1px solid #c3d5cc;
}
.up-waterfall-hub #arrival-watch{
  padding-left:20px;
  margin:5px 0 0;
  font-size:.88rem;
}
.up-waterfall-hub #arrival-watch li+li{margin-top:5px}
.up-waterfall-hub .upfall-arrival-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:14px;
}
.up-waterfall-hub .arrival-action{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  padding:8px 11px;
  font-size:.82rem;
  font-weight:750;
  text-decoration:none;
  line-height:1.3;
  background:#164d47;
  color:#fff;
}
.up-waterfall-hub .arrival-action-outline{
  background:transparent;
  color:#164d47;
  border:1px solid #8ca9a0;
}
.up-waterfall-hub .arrival-action-parking{
  background:#e8d49a;
  color:#342c15;
}
.up-waterfall-hub .upfall-arrival-review{
  font-size:.76rem;
  color:#4a615e;
  margin:13px 0 0;
}
.up-waterfall-hub .arrival-check{
  min-height:40px;
  border:1px solid #8ca9a0;
  border-radius:6px;
  background:#f0f7f3;
  color:#174e43;
  font-size:.8rem;
  font-weight:750;
  padding:7px 10px;
}
.up-waterfall-hub .arrival-check:hover{background:#dfede5}
@media(max-width:620px){
  .up-waterfall-hub .upfall-arrival-desk{padding:12px}
  .up-waterfall-hub .upfall-arrival-head label{flex-basis:100%}
  .up-waterfall-hub .upfall-arrival-steps{grid-template-columns:1fr}
  .up-waterfall-hub .upfall-arrival-actions .arrival-action{flex:1 1 100%}
}
